Line data Source code
1 : /* ----------------------------------------------------------------------------
2 : * This file was automatically generated by SWIG (http://www.swig.org).
3 : * Version 3.0.12
4 : *
5 : * This file is not intended to be easily readable and contains a number of
6 : * coding conventions designed to improve portability and efficiency. Do not make
7 : * changes to this file unless you know what you are doing--modify the SWIG
8 : * interface file instead.
9 : * ----------------------------------------------------------------------------- */
10 :
11 : #ifdef _MSC_VER
12 : #define SWIG_PYTHON_INTERPRETER_NO_DEBUG
13 : #else
14 : #define _GNU_SOURCE 1
15 : #endif
16 :
17 :
18 :
19 : #ifndef SWIGPERL
20 : #define SWIGPERL
21 : #endif
22 :
23 : #define SWIG_CASTRANK_MODE
24 :
25 : /* -----------------------------------------------------------------------------
26 : * This section contains generic SWIG labels for method/variable
27 : * declarations/attributes, and other compiler dependent labels.
28 : * ----------------------------------------------------------------------------- */
29 :
30 : /* template workaround for compilers that cannot correctly implement the C++ standard */
31 : #ifndef SWIGTEMPLATEDISAMBIGUATOR
32 : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
33 : # define SWIGTEMPLATEDISAMBIGUATOR template
34 : # elif defined(__HP_aCC)
35 : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
36 : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
37 : # define SWIGTEMPLATEDISAMBIGUATOR template
38 : # else
39 : # define SWIGTEMPLATEDISAMBIGUATOR
40 : # endif
41 : #endif
42 :
43 : /* inline attribute */
44 : #ifndef SWIGINLINE
45 : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
46 : # define SWIGINLINE inline
47 : # else
48 : # define SWIGINLINE
49 : # endif
50 : #endif
51 :
52 : /* attribute recognised by some compilers to avoid 'unused' warnings */
53 : #ifndef SWIGUNUSED
54 : # if defined(__GNUC__)
55 : # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
56 : # define SWIGUNUSED __attribute__ ((__unused__))
57 : # else
58 : # define SWIGUNUSED
59 : # endif
60 : # elif defined(__ICC)
61 : # define SWIGUNUSED __attribute__ ((__unused__))
62 : # else
63 : # define SWIGUNUSED
64 : # endif
65 : #endif
66 :
67 : #ifndef SWIG_MSC_UNSUPPRESS_4505
68 : # if defined(_MSC_VER)
69 : # pragma warning(disable : 4505) /* unreferenced local function has been removed */
70 : # endif
71 : #endif
72 :
73 : #ifndef SWIGUNUSEDPARM
74 : # ifdef __cplusplus
75 : # define SWIGUNUSEDPARM(p)
76 : # else
77 : # define SWIGUNUSEDPARM(p) p SWIGUNUSED
78 : # endif
79 : #endif
80 :
81 : /* internal SWIG method */
82 : #ifndef SWIGINTERN
83 : # define SWIGINTERN static SWIGUNUSED
84 : #endif
85 :
86 : /* internal inline SWIG method */
87 : #ifndef SWIGINTERNINLINE
88 : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
89 : #endif
90 :
91 : /* exporting methods */
92 : #if defined(__GNUC__)
93 : # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
94 : # ifndef GCC_HASCLASSVISIBILITY
95 : # define GCC_HASCLASSVISIBILITY
96 : # endif
97 : # endif
98 : #endif
99 :
100 : #ifndef SWIGEXPORT
101 : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
102 : # if defined(STATIC_LINKED)
103 : # define SWIGEXPORT
104 : # else
105 : # define SWIGEXPORT __declspec(dllexport)
106 : # endif
107 : # else
108 : # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
109 : # define SWIGEXPORT __attribute__ ((visibility("default")))
110 : # else
111 : # define SWIGEXPORT
112 : # endif
113 : # endif
114 : #endif
115 :
116 : /* calling conventions for Windows */
117 : #ifndef SWIGSTDCALL
118 : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
119 : # define SWIGSTDCALL __stdcall
120 : # else
121 : # define SWIGSTDCALL
122 : # endif
123 : #endif
124 :
125 : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
126 : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
127 : # define _CRT_SECURE_NO_DEPRECATE
128 : #endif
129 :
130 : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
131 : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
132 : # define _SCL_SECURE_NO_DEPRECATE
133 : #endif
134 :
135 : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
136 : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
137 : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
138 : #endif
139 :
140 : /* Intel's compiler complains if a variable which was never initialised is
141 : * cast to void, which is a common idiom which we use to indicate that we
142 : * are aware a variable isn't used. So we just silence that warning.
143 : * See: https://github.com/swig/swig/issues/192 for more discussion.
144 : */
145 : #ifdef __INTEL_COMPILER
146 : # pragma warning disable 592
147 : #endif
148 :
149 : /* -----------------------------------------------------------------------------
150 : * swigrun.swg
151 : *
152 : * This file contains generic C API SWIG runtime support for pointer
153 : * type checking.
154 : * ----------------------------------------------------------------------------- */
155 :
156 : /* This should only be incremented when either the layout of swig_type_info changes,
157 : or for whatever reason, the runtime changes incompatibly */
158 : #define SWIG_RUNTIME_VERSION "4"
159 :
160 : /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
161 : #ifdef SWIG_TYPE_TABLE
162 : # define SWIG_QUOTE_STRING(x) #x
163 : # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
164 : # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
165 : #else
166 : # define SWIG_TYPE_TABLE_NAME
167 : #endif
168 :
169 : /*
170 : You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
171 : creating a static or dynamic library from the SWIG runtime code.
172 : In 99.9% of the cases, SWIG just needs to declare them as 'static'.
173 :
174 : But only do this if strictly necessary, ie, if you have problems
175 : with your compiler or suchlike.
176 : */
177 :
178 : #ifndef SWIGRUNTIME
179 : # define SWIGRUNTIME SWIGINTERN
180 : #endif
181 :
182 : #ifndef SWIGRUNTIMEINLINE
183 : # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
184 : #endif
185 :
186 : /* Generic buffer size */
187 : #ifndef SWIG_BUFFER_SIZE
188 : # define SWIG_BUFFER_SIZE 1024
189 : #endif
190 :
191 : /* Flags for pointer conversions */
192 : #define SWIG_POINTER_DISOWN 0x1
193 : #define SWIG_CAST_NEW_MEMORY 0x2
194 :
195 : /* Flags for new pointer objects */
196 : #define SWIG_POINTER_OWN 0x1
197 :
198 :
199 : /*
200 : Flags/methods for returning states.
201 :
202 : The SWIG conversion methods, as ConvertPtr, return an integer
203 : that tells if the conversion was successful or not. And if not,
204 : an error code can be returned (see swigerrors.swg for the codes).
205 :
206 : Use the following macros/flags to set or process the returning
207 : states.
208 :
209 : In old versions of SWIG, code such as the following was usually written:
210 :
211 : if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
212 : // success code
213 : } else {
214 : //fail code
215 : }
216 :
217 : Now you can be more explicit:
218 :
219 : int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
220 : if (SWIG_IsOK(res)) {
221 : // success code
222 : } else {
223 : // fail code
224 : }
225 :
226 : which is the same really, but now you can also do
227 :
228 : Type *ptr;
229 : int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
230 : if (SWIG_IsOK(res)) {
231 : // success code
232 : if (SWIG_IsNewObj(res) {
233 : ...
234 : delete *ptr;
235 : } else {
236 : ...
237 : }
238 : } else {
239 : // fail code
240 : }
241 :
242 : I.e., now SWIG_ConvertPtr can return new objects and you can
243 : identify the case and take care of the deallocation. Of course that
244 : also requires SWIG_ConvertPtr to return new result values, such as
245 :
246 : int SWIG_ConvertPtr(obj, ptr,...) {
247 : if (<obj is ok>) {
248 : if (<need new object>) {
249 : *ptr = <ptr to new allocated object>;
250 : return SWIG_NEWOBJ;
251 : } else {
252 : *ptr = <ptr to old object>;
253 : return SWIG_OLDOBJ;
254 : }
255 : } else {
256 : return SWIG_BADOBJ;
257 : }
258 : }
259 :
260 : Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
261 : more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
262 : SWIG errors code.
263 :
264 : Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
265 : allows to return the 'cast rank', for example, if you have this
266 :
267 : int food(double)
268 : int fooi(int);
269 :
270 : and you call
271 :
272 : food(1) // cast rank '1' (1 -> 1.0)
273 : fooi(1) // cast rank '0'
274 :
275 : just use the SWIG_AddCast()/SWIG_CheckState()
276 : */
277 :
278 : #define SWIG_OK (0)
279 : #define SWIG_ERROR (-1)
280 : #define SWIG_IsOK(r) (r >= 0)
281 : #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
282 :
283 : /* The CastRankLimit says how many bits are used for the cast rank */
284 : #define SWIG_CASTRANKLIMIT (1 << 8)
285 : /* The NewMask denotes the object was created (using new/malloc) */
286 : #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
287 : /* The TmpMask is for in/out typemaps that use temporal objects */
288 : #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
289 : /* Simple returning values */
290 : #define SWIG_BADOBJ (SWIG_ERROR)
291 : #define SWIG_OLDOBJ (SWIG_OK)
292 : #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
293 : #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
294 : /* Check, add and del mask methods */
295 : #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
296 : #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
297 : #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
298 : #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
299 : #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
300 : #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
301 :
302 : /* Cast-Rank Mode */
303 : #if defined(SWIG_CASTRANK_MODE)
304 : # ifndef SWIG_TypeRank
305 : # define SWIG_TypeRank unsigned long
306 : # endif
307 : # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
308 : # define SWIG_MAXCASTRANK (2)
309 : # endif
310 : # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
311 : # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
312 : SWIGINTERNINLINE int SWIG_AddCast(int r) {
313 0 : return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
314 : }
315 : SWIGINTERNINLINE int SWIG_CheckState(int r) {
316 0 : return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
317 : }
318 : #else /* no cast-rank mode */
319 : # define SWIG_AddCast(r) (r)
320 : # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
321 : #endif
322 :
323 :
324 : #include <string.h>
325 :
326 : #ifdef __cplusplus
327 : extern "C" {
328 : #endif
329 :
330 : typedef void *(*swig_converter_func)(void *, int *);
331 : typedef struct swig_type_info *(*swig_dycast_func)(void **);
332 :
333 : /* Structure to store information on one type */
334 : typedef struct swig_type_info {
335 : const char *name; /* mangled name of this type */
336 : const char *str; /* human readable name of this type */
337 : swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
338 : struct swig_cast_info *cast; /* linked list of types that can cast into this type */
339 : void *clientdata; /* language specific type data */
340 : int owndata; /* flag if the structure owns the clientdata */
341 : } swig_type_info;
342 :
343 : /* Structure to store a type and conversion function used for casting */
344 : typedef struct swig_cast_info {
345 : swig_type_info *type; /* pointer to type that is equivalent to this type */
346 : swig_converter_func converter; /* function to cast the void pointers */
347 : struct swig_cast_info *next; /* pointer to next cast in linked list */
348 : struct swig_cast_info *prev; /* pointer to the previous cast */
349 : } swig_cast_info;
350 :
351 : /* Structure used to store module information
352 : * Each module generates one structure like this, and the runtime collects
353 : * all of these structures and stores them in a circularly linked list.*/
354 : typedef struct swig_module_info {
355 : swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
356 : size_t size; /* Number of types in this module */
357 : struct swig_module_info *next; /* Pointer to next element in circularly linked list */
358 : swig_type_info **type_initial; /* Array of initially generated type structures */
359 : swig_cast_info **cast_initial; /* Array of initially generated casting structures */
360 : void *clientdata; /* Language specific module data */
361 : } swig_module_info;
362 :
363 : /*
364 : Compare two type names skipping the space characters, therefore
365 : "char*" == "char *" and "Class<int>" == "Class<int >", etc.
366 :
367 : Return 0 when the two name types are equivalent, as in
368 : strncmp, but skipping ' '.
369 : */
370 : SWIGRUNTIME int
371 0 : SWIG_TypeNameComp(const char *f1, const char *l1,
372 : const char *f2, const char *l2) {
373 0 : for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
374 0 : while ((*f1 == ' ') && (f1 != l1)) ++f1;
375 0 : while ((*f2 == ' ') && (f2 != l2)) ++f2;
376 0 : if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
377 : }
378 0 : return (int)((l1 - f1) - (l2 - f2));
379 : }
380 :
381 : /*
382 : Check type equivalence in a name list like <name1>|<name2>|...
383 : Return 0 if equal, -1 if nb < tb, 1 if nb > tb
384 : */
385 : SWIGRUNTIME int
386 0 : SWIG_TypeCmp(const char *nb, const char *tb) {
387 : int equiv = 1;
388 0 : const char* te = tb + strlen(tb);
389 : const char* ne = nb;
390 0 : while (equiv != 0 && *ne) {
391 0 : for (nb = ne; *ne; ++ne) {
392 0 : if (*ne == '|') break;
393 : }
394 0 : equiv = SWIG_TypeNameComp(nb, ne, tb, te);
395 0 : if (*ne) ++ne;
396 : }
397 0 : return equiv;
398 : }
399 :
400 : /*
401 : Check type equivalence in a name list like <name1>|<name2>|...
402 : Return 0 if not equal, 1 if equal
403 : */
404 : SWIGRUNTIME int
405 : SWIG_TypeEquiv(const char *nb, const char *tb) {
406 0 : return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
407 : }
408 :
409 : /*
410 : Check the typename
411 : */
412 : SWIGRUNTIME swig_cast_info *
413 0 : SWIG_TypeCheck(const char *c, swig_type_info *ty) {
414 0 : if (ty) {
415 0 : swig_cast_info *iter = ty->cast;
416 0 : while (iter) {
417 0 : if (strcmp(iter->type->name, c) == 0) {
418 0 : if (iter == ty->cast)
419 : return iter;
420 : /* Move iter to the top of the linked list */
421 0 : iter->prev->next = iter->next;
422 0 : if (iter->next)
423 0 : iter->next->prev = iter->prev;
424 0 : iter->next = ty->cast;
425 0 : iter->prev = 0;
426 0 : if (ty->cast) ty->cast->prev = iter;
427 0 : ty->cast = iter;
428 0 : return iter;
429 : }
430 0 : iter = iter->next;
431 : }
432 : }
433 : return 0;
434 : }
435 :
436 : /*
437 : Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
438 : */
439 : SWIGRUNTIME swig_cast_info *
440 : SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
441 : if (ty) {
442 : swig_cast_info *iter = ty->cast;
443 : while (iter) {
444 : if (iter->type == from) {
445 : if (iter == ty->cast)
446 : return iter;
447 : /* Move iter to the top of the linked list */
448 : iter->prev->next = iter->next;
449 : if (iter->next)
450 : iter->next->prev = iter->prev;
451 : iter->next = ty->cast;
452 : iter->prev = 0;
453 : if (ty->cast) ty->cast->prev = iter;
454 : ty->cast = iter;
455 : return iter;
456 : }
457 : iter = iter->next;
458 : }
459 : }
460 : return 0;
461 : }
462 :
463 : /*
464 : Cast a pointer up an inheritance hierarchy
465 : */
466 : SWIGRUNTIMEINLINE void *
467 : SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
468 1 : return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
469 : }
470 :
471 : /*
472 : Dynamic pointer casting. Down an inheritance hierarchy
473 : */
474 : SWIGRUNTIME swig_type_info *
475 : SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
476 : swig_type_info *lastty = ty;
477 : if (!ty || !ty->dcast) return ty;
478 : while (ty && (ty->dcast)) {
479 : ty = (*ty->dcast)(ptr);
480 : if (ty) lastty = ty;
481 : }
482 : return lastty;
483 : }
484 :
485 : /*
486 : Return the name associated with this type
487 : */
488 : SWIGRUNTIMEINLINE const char *
489 : SWIG_TypeName(const swig_type_info *ty) {
490 : return ty->name;
491 : }
492 :
493 : /*
494 : Return the pretty name associated with this type,
495 : that is an unmangled type name in a form presentable to the user.
496 : */
497 : SWIGRUNTIME const char *
498 : SWIG_TypePrettyName(const swig_type_info *type) {
499 : /* The "str" field contains the equivalent pretty names of the
500 : type, separated by vertical-bar characters. We choose
501 : to print the last name, as it is often (?) the most
502 : specific. */
503 : if (!type) return NULL;
504 : if (type->str != NULL) {
505 : const char *last_name = type->str;
506 : const char *s;
507 : for (s = type->str; *s; s++)
508 : if (*s == '|') last_name = s+1;
509 : return last_name;
510 : }
511 : else
512 : return type->name;
513 : }
514 :
515 : /*
516 : Set the clientdata field for a type
517 : */
518 : SWIGRUNTIME void
519 1 : SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
520 1 : swig_cast_info *cast = ti->cast;
521 : /* if (ti->clientdata == clientdata) return; */
522 1 : ti->clientdata = clientdata;
523 :
524 1 : while (cast) {
525 1 : if (!cast->converter) {
526 1 : swig_type_info *tc = cast->type;
527 1 : if (!tc->clientdata) {
528 0 : SWIG_TypeClientData(tc, clientdata);
529 : }
530 : }
531 1 : cast = cast->next;
532 : }
533 1 : }
534 : SWIGRUNTIME void
535 : SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
536 : SWIG_TypeClientData(ti, clientdata);
537 : ti->owndata = 1;
538 : }
539 :
540 : /*
541 : Search for a swig_type_info structure only by mangled name
542 : Search is a O(log #types)
543 :
544 : We start searching at module start, and finish searching when start == end.
545 : Note: if start == end at the beginning of the function, we go all the way around
546 : the circular list.
547 : */
548 : SWIGRUNTIME swig_type_info *
549 0 : SWIG_MangledTypeQueryModule(swig_module_info *start,
550 : swig_module_info *end,
551 : const char *name) {
552 : swig_module_info *iter = start;
553 : do {
554 0 : if (iter->size) {
555 : size_t l = 0;
556 0 : size_t r = iter->size - 1;
557 : do {
558 : /* since l+r >= 0, we can (>> 1) instead (/ 2) */
559 0 : size_t i = (l + r) >> 1;
560 0 : const char *iname = iter->types[i]->name;
561 0 : if (iname) {
562 0 : int compare = strcmp(name, iname);
563 0 : if (compare == 0) {
564 : return iter->types[i];
565 0 : } else if (compare < 0) {
566 0 : if (i) {
567 0 : r = i - 1;
568 : } else {
569 : break;
570 : }
571 0 : } else if (compare > 0) {
572 0 : l = i + 1;
573 : }
574 : } else {
575 : break; /* should never happen */
576 : }
577 0 : } while (l <= r);
578 : }
579 0 : iter = iter->next;
580 0 : } while (iter != end);
581 : return 0;
582 : }
583 :
584 : /*
585 : Search for a swig_type_info structure for either a mangled name or a human readable name.
586 : It first searches the mangled names of the types, which is a O(log #types)
587 : If a type is not found it then searches the human readable names, which is O(#types).
588 :
589 : We start searching at module start, and finish searching when start == end.
590 : Note: if start == end at the beginning of the function, we go all the way around
591 : the circular list.
592 : */
593 : SWIGRUNTIME swig_type_info *
594 0 : SWIG_TypeQueryModule(swig_module_info *start,
595 : swig_module_info *end,
596 : const char *name) {
597 : /* STEP 1: Search the name field using binary search */
598 0 : swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
599 0 : if (ret) {
600 : return ret;
601 : } else {
602 : /* STEP 2: If the type hasn't been found, do a complete search
603 : of the str field (the human readable name) */
604 : swig_module_info *iter = start;
605 : do {
606 : size_t i = 0;
607 0 : for (; i < iter->size; ++i) {
608 0 : if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
609 : return iter->types[i];
610 : }
611 0 : iter = iter->next;
612 0 : } while (iter != end);
613 : }
614 :
615 : /* neither found a match */
616 : return 0;
617 : }
618 :
619 : /*
620 : Pack binary data into a string
621 : */
622 : SWIGRUNTIME char *
623 : SWIG_PackData(char *c, void *ptr, size_t sz) {
624 : static const char hex[17] = "0123456789abcdef";
625 : const unsigned char *u = (unsigned char *) ptr;
626 0 : const unsigned char *eu = u + sz;
627 0 : for (; u != eu; ++u) {
628 0 : unsigned char uu = *u;
629 0 : *(c++) = hex[(uu & 0xf0) >> 4];
630 0 : *(c++) = hex[uu & 0xf];
631 : }
632 : return c;
633 : }
634 :
635 : /*
636 : Unpack binary data from a string
637 : */
638 : SWIGRUNTIME const char *
639 : SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
640 : unsigned char *u = (unsigned char *) ptr;
641 : const unsigned char *eu = u + sz;
642 : for (; u != eu; ++u) {
643 : char d = *(c++);
644 : unsigned char uu;
645 : if ((d >= '0') && (d <= '9'))
646 : uu = (unsigned char)((d - '0') << 4);
647 : else if ((d >= 'a') && (d <= 'f'))
648 : uu = (unsigned char)((d - ('a'-10)) << 4);
649 : else
650 : return (char *) 0;
651 : d = *(c++);
652 : if ((d >= '0') && (d <= '9'))
653 : uu |= (unsigned char)(d - '0');
654 : else if ((d >= 'a') && (d <= 'f'))
655 : uu |= (unsigned char)(d - ('a'-10));
656 : else
657 : return (char *) 0;
658 : *u = uu;
659 : }
660 : return c;
661 : }
662 :
663 : /*
664 : Pack 'void *' into a string buffer.
665 : */
666 : SWIGRUNTIME char *
667 : SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
668 : char *r = buff;
669 : if ((2*sizeof(void *) + 2) > bsz) return 0;
670 : *(r++) = '_';
671 : r = SWIG_PackData(r,&ptr,sizeof(void *));
672 : if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
673 : strcpy(r,name);
674 : return buff;
675 : }
676 :
677 : SWIGRUNTIME const char *
678 : SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
679 : if (*c != '_') {
680 : if (strcmp(c,"NULL") == 0) {
681 : *ptr = (void *) 0;
682 : return name;
683 : } else {
684 : return 0;
685 : }
686 : }
687 : return SWIG_UnpackData(++c,ptr,sizeof(void *));
688 : }
689 :
690 : SWIGRUNTIME char *
691 : SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
692 : char *r = buff;
693 : size_t lname = (name ? strlen(name) : 0);
694 : if ((2*sz + 2 + lname) > bsz) return 0;
695 : *(r++) = '_';
696 : r = SWIG_PackData(r,ptr,sz);
697 : if (lname) {
698 : strncpy(r,name,lname+1);
699 : } else {
700 : *r = 0;
701 : }
702 : return buff;
703 : }
704 :
705 : SWIGRUNTIME const char *
706 : SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
707 : if (*c != '_') {
708 : if (strcmp(c,"NULL") == 0) {
709 : memset(ptr,0,sz);
710 : return name;
711 : } else {
712 : return 0;
713 : }
714 : }
715 : return SWIG_UnpackData(++c,ptr,sz);
716 : }
717 :
718 : #ifdef __cplusplus
719 : }
720 : #endif
721 :
722 : /* Errors in SWIG */
723 : #define SWIG_UnknownError -1
724 : #define SWIG_IOError -2
725 : #define SWIG_RuntimeError -3
726 : #define SWIG_IndexError -4
727 : #define SWIG_TypeError -5
728 : #define SWIG_DivisionByZero -6
729 : #define SWIG_OverflowError -7
730 : #define SWIG_SyntaxError -8
731 : #define SWIG_ValueError -9
732 : #define SWIG_SystemError -10
733 : #define SWIG_AttributeError -11
734 : #define SWIG_MemoryError -12
735 : #define SWIG_NullReferenceError -13
736 :
737 :
738 :
739 : #ifdef __cplusplus
740 : /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
741 : #include <math.h>
742 : #include <stdlib.h>
743 : extern "C" {
744 : #endif
745 : #include "EXTERN.h"
746 : #include "perl.h"
747 : #include "XSUB.h"
748 :
749 : /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
750 :
751 : /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
752 : #ifndef PERL_REVISION
753 : # if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
754 : # define PERL_PATCHLEVEL_H_IMPLICIT
755 : # include <patchlevel.h>
756 : # endif
757 : # if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
758 : # include <could_not_find_Perl_patchlevel.h>
759 : # endif
760 : # ifndef PERL_REVISION
761 : # define PERL_REVISION (5)
762 : # define PERL_VERSION PATCHLEVEL
763 : # define PERL_SUBVERSION SUBVERSION
764 : # endif
765 : #endif
766 :
767 : #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
768 : #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
769 : #endif
770 :
771 : #ifndef SvIOK_UV
772 : # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
773 : #endif
774 :
775 : #ifndef SvUOK
776 : # define SvUOK(sv) SvIOK_UV(sv)
777 : #endif
778 :
779 : #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
780 : # define PL_sv_undef sv_undef
781 : # define PL_na na
782 : # define PL_errgv errgv
783 : # define PL_sv_no sv_no
784 : # define PL_sv_yes sv_yes
785 : # define PL_markstack_ptr markstack_ptr
786 : #endif
787 :
788 : #ifndef IVSIZE
789 : # ifdef LONGSIZE
790 : # define IVSIZE LONGSIZE
791 : # else
792 : # define IVSIZE 4 /* A bold guess, but the best we can make. */
793 : # endif
794 : #endif
795 :
796 : #ifndef INT2PTR
797 : # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
798 : # define PTRV UV
799 : # define INT2PTR(any,d) (any)(d)
800 : # else
801 : # if PTRSIZE == LONGSIZE
802 : # define PTRV unsigned long
803 : # else
804 : # define PTRV unsigned
805 : # endif
806 : # define INT2PTR(any,d) (any)(PTRV)(d)
807 : # endif
808 :
809 : # define NUM2PTR(any,d) (any)(PTRV)(d)
810 : # define PTR2IV(p) INT2PTR(IV,p)
811 : # define PTR2UV(p) INT2PTR(UV,p)
812 : # define PTR2NV(p) NUM2PTR(NV,p)
813 :
814 : # if PTRSIZE == LONGSIZE
815 : # define PTR2ul(p) (unsigned long)(p)
816 : # else
817 : # define PTR2ul(p) INT2PTR(unsigned long,p)
818 : # endif
819 : #endif /* !INT2PTR */
820 :
821 : #ifndef SvPV_nolen
822 : # define SvPV_nolen(x) SvPV(x,PL_na)
823 : #endif
824 :
825 : #ifndef get_sv
826 : # define get_sv perl_get_sv
827 : #endif
828 :
829 : #ifndef ERRSV
830 : # define ERRSV get_sv("@",FALSE)
831 : #endif
832 :
833 : #ifndef pTHX_
834 : #define pTHX_
835 : #endif
836 :
837 : #include <string.h>
838 : #ifdef __cplusplus
839 : }
840 : #endif
841 :
842 : /* -----------------------------------------------------------------------------
843 : * error manipulation
844 : * ----------------------------------------------------------------------------- */
845 :
846 : SWIGINTERN const char*
847 0 : SWIG_Perl_ErrorType(int code) {
848 0 : switch(code) {
849 : case SWIG_MemoryError:
850 : return "MemoryError";
851 : case SWIG_IOError:
852 0 : return "IOError";
853 : case SWIG_RuntimeError:
854 0 : return "RuntimeError";
855 : case SWIG_IndexError:
856 0 : return "IndexError";
857 : case SWIG_TypeError:
858 0 : return "TypeError";
859 : case SWIG_DivisionByZero:
860 0 : return "ZeroDivisionError";
861 : case SWIG_OverflowError:
862 0 : return "OverflowError";
863 : case SWIG_SyntaxError:
864 0 : return "SyntaxError";
865 : case SWIG_ValueError:
866 0 : return "ValueError";
867 : case SWIG_SystemError:
868 0 : return "SystemError";
869 : case SWIG_AttributeError:
870 0 : return "AttributeError";
871 : default:
872 0 : return "RuntimeError";
873 : }
874 : }
875 :
876 :
877 : /* -----------------------------------------------------------------------------
878 : * perlrun.swg
879 : *
880 : * This file contains the runtime support for Perl modules
881 : * and includes code for managing global variables and pointer
882 : * type checking.
883 : * ----------------------------------------------------------------------------- */
884 :
885 : #ifdef PERL_OBJECT
886 : #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
887 : #define SWIG_PERL_OBJECT_CALL pPerl,
888 : #else
889 : #define SWIG_PERL_OBJECT_DECL
890 : #define SWIG_PERL_OBJECT_CALL
891 : #endif
892 :
893 : /* Common SWIG API */
894 :
895 : /* for raw pointers */
896 : #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
897 : #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
898 : #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
899 : #define swig_owntype int
900 :
901 : /* for raw packed data */
902 : #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
903 : #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
904 :
905 : /* for class or struct pointers */
906 : #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
907 : #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
908 :
909 : /* for C or C++ function pointers */
910 : #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
911 : #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
912 :
913 : /* for C++ member pointers, ie, member methods */
914 : #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
915 : #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
916 :
917 :
918 : /* Runtime API */
919 :
920 : #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule(clientdata)
921 : #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
922 :
923 :
924 : /* Error manipulation */
925 :
926 : #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
927 : #define SWIG_Error(code, msg) sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
928 : #define SWIG_fail goto fail
929 :
930 : /* Perl-specific SWIG API */
931 :
932 : #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
933 : #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
934 : #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
935 :
936 :
937 : #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
938 : #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
939 : #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
940 : #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
941 :
942 : /* -----------------------------------------------------------------------------
943 : * pointers/data manipulation
944 : * ----------------------------------------------------------------------------- */
945 :
946 : /* For backward compatibility only */
947 : #define SWIG_POINTER_EXCEPTION 0
948 :
949 : #ifdef __cplusplus
950 : extern "C" {
951 : #endif
952 :
953 : #define SWIG_OWNER SWIG_POINTER_OWN
954 : #define SWIG_SHADOW SWIG_OWNER << 1
955 :
956 : #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
957 :
958 : /* SWIG Perl macros */
959 :
960 : /* Macro to declare an XS function */
961 : #ifndef XSPROTO
962 : # define XSPROTO(name) void name(pTHX_ CV* cv)
963 : #endif
964 :
965 : /* Macro to call an XS function */
966 : #ifdef PERL_OBJECT
967 : # define SWIG_CALLXS(_name) _name(cv,pPerl)
968 : #else
969 : # ifndef MULTIPLICITY
970 : # define SWIG_CALLXS(_name) _name(cv)
971 : # else
972 : # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
973 : # endif
974 : #endif
975 :
976 : #ifdef PERL_OBJECT
977 : #define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
978 :
979 : #ifdef __cplusplus
980 : extern "C" {
981 : #endif
982 : typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
983 : #ifdef __cplusplus
984 : }
985 : #endif
986 :
987 : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
988 : #define SWIGCLASS_STATIC
989 :
990 : #else /* PERL_OBJECT */
991 :
992 : #define MAGIC_PPERL
993 : #define SWIGCLASS_STATIC static SWIGUNUSED
994 :
995 : #ifndef MULTIPLICITY
996 : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
997 :
998 : #ifdef __cplusplus
999 : extern "C" {
1000 : #endif
1001 : typedef int (*SwigMagicFunc)(SV *, MAGIC *);
1002 : #ifdef __cplusplus
1003 : }
1004 : #endif
1005 :
1006 : #else /* MULTIPLICITY */
1007 :
1008 : #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
1009 :
1010 : #ifdef __cplusplus
1011 : extern "C" {
1012 : #endif
1013 : typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1014 : #ifdef __cplusplus
1015 : }
1016 : #endif
1017 :
1018 : #endif /* MULTIPLICITY */
1019 : #endif /* PERL_OBJECT */
1020 :
1021 : # ifdef PERL_OBJECT
1022 : # define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
1023 : static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
1024 : # else
1025 0 : static void SWIGUNUSED SWIG_croak_null()
1026 : # endif
1027 : {
1028 0 : SV *err = get_sv("@", GV_ADD);
1029 : # if (PERL_VERSION < 6)
1030 : croak("%_", err);
1031 : # else
1032 0 : if (sv_isobject(err))
1033 0 : croak(0);
1034 : else
1035 0 : croak("%s", SvPV_nolen(err));
1036 : # endif
1037 : }
1038 :
1039 :
1040 : /*
1041 : Define how strict is the cast between strings and integers/doubles
1042 : when overloading between these types occurs.
1043 :
1044 : The default is making it as strict as possible by using SWIG_AddCast
1045 : when needed.
1046 :
1047 : You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1048 : disable the SWIG_AddCast, making the casting between string and
1049 : numbers less strict.
1050 :
1051 : In the end, we try to solve the overloading between strings and
1052 : numerical types in the more natural way, but if you can avoid it,
1053 : well, avoid it using %rename, for example.
1054 : */
1055 : #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1056 : # ifndef SWIG_PERL_STRICT_STR2NUM
1057 : # define SWIG_PERL_STRICT_STR2NUM
1058 : # endif
1059 : #endif
1060 : #ifdef SWIG_PERL_STRICT_STR2NUM
1061 : /* string takes precedence */
1062 : #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1063 : #else
1064 : /* number takes precedence */
1065 : #define SWIG_Str2NumCast(x) x
1066 : #endif
1067 :
1068 :
1069 :
1070 : #include <stdlib.h>
1071 :
1072 : SWIGRUNTIME const char *
1073 : SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1074 1 : if (!type) return NULL;
1075 1 : if (type->clientdata != NULL) {
1076 : return (const char*) type->clientdata;
1077 : }
1078 : else {
1079 0 : return type->name;
1080 : }
1081 : }
1082 :
1083 : /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1084 : SWIGRUNTIME swig_cast_info *
1085 1 : SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1086 1 : if (ty) {
1087 1 : swig_cast_info *iter = ty->cast;
1088 1 : while (iter) {
1089 1 : if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
1090 1 : if (iter == ty->cast)
1091 : return iter;
1092 : /* Move iter to the top of the linked list */
1093 0 : iter->prev->next = iter->next;
1094 0 : if (iter->next)
1095 0 : iter->next->prev = iter->prev;
1096 0 : iter->next = ty->cast;
1097 0 : iter->prev = 0;
1098 0 : if (ty->cast) ty->cast->prev = iter;
1099 0 : ty->cast = iter;
1100 0 : return iter;
1101 : }
1102 0 : iter = iter->next;
1103 : }
1104 : }
1105 : return 0;
1106 : }
1107 :
1108 : /* Function for getting a pointer value */
1109 :
1110 : SWIGRUNTIME int
1111 1 : SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1112 : swig_cast_info *tc;
1113 : void *voidptr = (void *)0;
1114 : SV *tsv = 0;
1115 :
1116 1 : if (own)
1117 0 : *own = 0;
1118 :
1119 : /* If magical, apply more magic */
1120 1 : if (SvGMAGICAL(sv))
1121 0 : mg_get(sv);
1122 :
1123 : /* Check to see if this is an object */
1124 1 : if (sv_isobject(sv)) {
1125 : IV tmp = 0;
1126 1 : tsv = (SV*) SvRV(sv);
1127 1 : if ((SvTYPE(tsv) == SVt_PVHV)) {
1128 : MAGIC *mg;
1129 1 : if (SvMAGICAL(tsv)) {
1130 1 : mg = mg_find(tsv,'P');
1131 1 : if (mg) {
1132 1 : sv = mg->mg_obj;
1133 1 : if (sv_isobject(sv)) {
1134 1 : tsv = (SV*)SvRV(sv);
1135 1 : tmp = SvIV(tsv);
1136 : }
1137 : }
1138 : } else {
1139 : return SWIG_ERROR;
1140 : }
1141 : } else {
1142 1 : tmp = SvIV(tsv);
1143 : }
1144 1 : voidptr = INT2PTR(void *,tmp);
1145 1 : } else if (! SvOK(sv)) { /* Check for undef */
1146 1 : *(ptr) = (void *) 0;
1147 1 : return SWIG_OK;
1148 0 : } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
1149 0 : if (!SvROK(sv)) {
1150 : /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value. */
1151 0 : if (SvIOK(sv)) {
1152 : return SWIG_ERROR;
1153 : } else {
1154 : /* NULL pointer (reference to undef). */
1155 0 : *(ptr) = (void *) 0;
1156 0 : return SWIG_OK;
1157 : }
1158 : } else {
1159 : return SWIG_ERROR;
1160 : }
1161 : } else { /* Don't know what it is */
1162 : return SWIG_ERROR;
1163 : }
1164 1 : if (_t) {
1165 : /* Now see if the types match */
1166 1 : char *_c = HvNAME(SvSTASH(SvRV(sv)));
1167 1 : tc = SWIG_TypeProxyCheck(_c,_t);
1168 : #ifdef SWIG_DIRECTORS
1169 : if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1170 : #else
1171 1 : if (!tc) {
1172 : #endif
1173 : return SWIG_ERROR;
1174 : }
1175 : {
1176 1 : int newmemory = 0;
1177 1 : *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1178 1 : if (newmemory == SWIG_CAST_NEW_MEMORY) {
1179 : assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1180 0 : if (own)
1181 0 : *own = *own | SWIG_CAST_NEW_MEMORY;
1182 : }
1183 : }
1184 : } else {
1185 0 : *ptr = voidptr;
1186 : }
1187 :
1188 : /*
1189 : * DISOWN implementation: we need a perl guru to check this one.
1190 : */
1191 1 : if (tsv && (flags & SWIG_POINTER_DISOWN)) {
1192 : /*
1193 : * almost copy paste code from below SWIG_POINTER_OWN setting
1194 : */
1195 : SV *obj = sv;
1196 1 : HV *stash = SvSTASH(SvRV(obj));
1197 1 : GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1198 1 : if (isGV(gv)) {
1199 1 : HV *hv = GvHVn(gv);
1200 : /*
1201 : * To set ownership (see below), a newSViv(1) entry is added.
1202 : * Hence, to remove ownership, we delete the entry.
1203 : */
1204 1 : if (hv_exists_ent(hv, obj, 0)) {
1205 1 : hv_delete_ent(hv, obj, 0, 0);
1206 : }
1207 : }
1208 : }
1209 : return SWIG_OK;
1210 : }
1211 :
1212 : SWIGRUNTIME int
1213 : SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1214 1 : return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1215 : }
1216 :
1217 : SWIGRUNTIME void
1218 1 : SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1219 1 : if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
1220 : SV *self;
1221 1 : SV *obj=newSV(0);
1222 1 : HV *hash=newHV();
1223 : HV *stash;
1224 1 : sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1225 1 : stash=SvSTASH(SvRV(obj));
1226 1 : if (flags & SWIG_POINTER_OWN) {
1227 : HV *hv;
1228 1 : GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1229 1 : if (!isGV(gv))
1230 0 : gv_init(gv, stash, "OWNER", 5, FALSE);
1231 1 : hv=GvHVn(gv);
1232 1 : hv_store_ent(hv, obj, newSViv(1), 0);
1233 : }
1234 1 : sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1235 1 : SvREFCNT_dec(obj);
1236 1 : self=newRV_noinc((SV *)hash);
1237 1 : sv_setsv(sv, self);
1238 1 : SvREFCNT_dec((SV *)self);
1239 1 : sv_bless(sv, stash);
1240 : }
1241 : else {
1242 0 : sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1243 : }
1244 1 : }
1245 :
1246 : SWIGRUNTIMEINLINE SV *
1247 1 : SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1248 1 : SV *result = sv_newmortal();
1249 1 : SWIG_MakePtr(result, ptr, t, flags);
1250 1 : return result;
1251 : }
1252 :
1253 : SWIGRUNTIME void
1254 0 : SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1255 : char result[1024];
1256 : char *r = result;
1257 0 : if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
1258 0 : *(r++) = '_';
1259 0 : r = SWIG_PackData(r,ptr,sz);
1260 : strcpy(r,SWIG_Perl_TypeProxyName(type));
1261 0 : sv_setpv(sv, result);
1262 : }
1263 :
1264 : SWIGRUNTIME SV *
1265 : SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1266 : SV *result = sv_newmortal();
1267 : SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1268 : return result;
1269 : }
1270 :
1271 : /* Convert a packed value value */
1272 : SWIGRUNTIME int
1273 : SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1274 : swig_cast_info *tc;
1275 : const char *c = 0;
1276 :
1277 : if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
1278 : c = SvPV_nolen(obj);
1279 : /* Pointer values must start with leading underscore */
1280 : if (*c != '_') return SWIG_ERROR;
1281 : c++;
1282 : c = SWIG_UnpackData(c,ptr,sz);
1283 : if (ty) {
1284 : tc = SWIG_TypeCheck(c,ty);
1285 : if (!tc) return SWIG_ERROR;
1286 : }
1287 : return SWIG_OK;
1288 : }
1289 :
1290 :
1291 : /* Macros for low-level exception handling */
1292 : #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1293 :
1294 :
1295 : typedef XSPROTO(SwigPerlWrapper);
1296 : typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1297 :
1298 : /* Structure for command table */
1299 : typedef struct {
1300 : const char *name;
1301 : SwigPerlWrapperPtr wrapper;
1302 : } swig_command_info;
1303 :
1304 : /* Information for constant table */
1305 :
1306 : #define SWIG_INT 1
1307 : #define SWIG_FLOAT 2
1308 : #define SWIG_STRING 3
1309 : #define SWIG_POINTER 4
1310 : #define SWIG_BINARY 5
1311 :
1312 : /* Constant information structure */
1313 : typedef struct swig_constant_info {
1314 : int type;
1315 : const char *name;
1316 : long lvalue;
1317 : double dvalue;
1318 : void *pvalue;
1319 : swig_type_info **ptype;
1320 : } swig_constant_info;
1321 :
1322 :
1323 : /* Structure for variable table */
1324 : typedef struct {
1325 : const char *name;
1326 : SwigMagicFunc set;
1327 : SwigMagicFunc get;
1328 : swig_type_info **type;
1329 : } swig_variable_info;
1330 :
1331 : /* Magic variable code */
1332 : #ifndef PERL_OBJECT
1333 : # ifdef __cplusplus
1334 : # define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1335 : # else
1336 : # define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1337 : # endif
1338 : # ifndef MULTIPLICITY
1339 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1340 : # else
1341 0 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1342 : # endif
1343 : #else
1344 : # define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
1345 : SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
1346 : #endif
1347 : {
1348 : MAGIC *mg;
1349 0 : sv_magic(sv,sv,'U',name,strlen(name));
1350 0 : mg = mg_find(sv,'U');
1351 0 : mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1352 0 : mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1353 0 : mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1354 0 : mg->mg_virtual->svt_len = 0;
1355 0 : mg->mg_virtual->svt_clear = 0;
1356 0 : mg->mg_virtual->svt_free = 0;
1357 0 : }
1358 :
1359 :
1360 : SWIGRUNTIME swig_module_info *
1361 1 : SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1362 : static void *type_pointer = (void *)0;
1363 : SV *pointer;
1364 :
1365 : /* first check if pointer already created */
1366 1 : if (!type_pointer) {
1367 1 : pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1368 1 : if (pointer && SvOK(pointer)) {
1369 0 : type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1370 : }
1371 : }
1372 :
1373 1 : return (swig_module_info *) type_pointer;
1374 : }
1375 :
1376 : SWIGRUNTIME void
1377 1 : SWIG_Perl_SetModule(swig_module_info *module) {
1378 : SV *pointer;
1379 :
1380 : /* create a new pointer */
1381 1 : pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1382 1 : sv_setiv(pointer, PTR2IV(module));
1383 1 : }
1384 :
1385 : #ifdef __cplusplus
1386 : }
1387 : #endif
1388 :
1389 : /* Workaround perl5 global namespace pollution. Note that undefining library
1390 : * functions like fopen will not solve the problem on all platforms as fopen
1391 : * might be a macro on Windows but not necessarily on other operating systems. */
1392 : #ifdef do_open
1393 : #undef do_open
1394 : #endif
1395 : #ifdef do_close
1396 : #undef do_close
1397 : #endif
1398 : #ifdef do_exec
1399 : #undef do_exec
1400 : #endif
1401 : #ifdef scalar
1402 : #undef scalar
1403 : #endif
1404 : #ifdef list
1405 : #undef list
1406 : #endif
1407 : #ifdef apply
1408 : #undef apply
1409 : #endif
1410 : #ifdef convert
1411 : #undef convert
1412 : #endif
1413 : #ifdef Error
1414 : #undef Error
1415 : #endif
1416 : #ifdef form
1417 : #undef form
1418 : #endif
1419 : #ifdef vform
1420 : #undef vform
1421 : #endif
1422 : #ifdef LABEL
1423 : #undef LABEL
1424 : #endif
1425 : #ifdef METHOD
1426 : #undef METHOD
1427 : #endif
1428 : #ifdef Move
1429 : #undef Move
1430 : #endif
1431 : #ifdef yylex
1432 : #undef yylex
1433 : #endif
1434 : #ifdef yyparse
1435 : #undef yyparse
1436 : #endif
1437 : #ifdef yyerror
1438 : #undef yyerror
1439 : #endif
1440 : #ifdef invert
1441 : #undef invert
1442 : #endif
1443 : #ifdef ref
1444 : #undef ref
1445 : #endif
1446 : #ifdef read
1447 : #undef read
1448 : #endif
1449 : #ifdef write
1450 : #undef write
1451 : #endif
1452 : #ifdef eof
1453 : #undef eof
1454 : #endif
1455 : #ifdef close
1456 : #undef close
1457 : #endif
1458 : #ifdef rewind
1459 : #undef rewind
1460 : #endif
1461 : #ifdef free
1462 : #undef free
1463 : #endif
1464 : #ifdef malloc
1465 : #undef malloc
1466 : #endif
1467 : #ifdef calloc
1468 : #undef calloc
1469 : #endif
1470 : #ifdef Stat
1471 : #undef Stat
1472 : #endif
1473 : #ifdef check
1474 : #undef check
1475 : #endif
1476 : #ifdef seekdir
1477 : #undef seekdir
1478 : #endif
1479 : #ifdef open
1480 : #undef open
1481 : #endif
1482 : #ifdef readdir
1483 : #undef readdir
1484 : #endif
1485 : #ifdef bind
1486 : #undef bind
1487 : #endif
1488 : #ifdef access
1489 : #undef access
1490 : #endif
1491 : #ifdef stat
1492 : #undef stat
1493 : #endif
1494 : #ifdef seed
1495 : #undef seed
1496 : #endif
1497 :
1498 : #ifdef bool
1499 : /* Leave if macro is from C99 stdbool.h */
1500 : #ifndef __bool_true_false_are_defined
1501 : #undef bool
1502 : #endif
1503 : #endif
1504 :
1505 :
1506 :
1507 :
1508 : #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1509 :
1510 : #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1511 :
1512 :
1513 :
1514 : #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
1515 :
1516 :
1517 : /* -------- TYPES TABLE (BEGIN) -------- */
1518 :
1519 : #define SWIGTYPE_p_CompositingOperation swig_types[0]
1520 : #define SWIGTYPE_p_DBFFieldType swig_types[1]
1521 : #define SWIGTYPE_p_DBFInfo swig_types[2]
1522 : #define SWIGTYPE_p_FILE swig_types[3]
1523 : #define SWIGTYPE_p__CompositingFilter swig_types[4]
1524 : #define SWIGTYPE_p__LayerCompositer swig_types[5]
1525 : #define SWIGTYPE_p_cgiRequestObj swig_types[6]
1526 : #define SWIGTYPE_p_char swig_types[7]
1527 : #define SWIGTYPE_p_classObj swig_types[8]
1528 : #define SWIGTYPE_p_clusterObj swig_types[9]
1529 : #define SWIGTYPE_p_colorObj swig_types[10]
1530 : #define SWIGTYPE_p_debugLevel swig_types[11]
1531 : #define SWIGTYPE_p_double swig_types[12]
1532 : #define SWIGTYPE_p_errorObj swig_types[13]
1533 : #define SWIGTYPE_p_expressionObj swig_types[14]
1534 : #define SWIGTYPE_p_fontSetObj swig_types[15]
1535 : #define SWIGTYPE_p_hashTableObj swig_types[16]
1536 : #define SWIGTYPE_p_imageObj swig_types[17]
1537 : #define SWIGTYPE_p_int swig_types[18]
1538 : #define SWIGTYPE_p_int32_t swig_types[19]
1539 : #define SWIGTYPE_p_intarray swig_types[20]
1540 : #define SWIGTYPE_p_labelCacheMemberObj swig_types[21]
1541 : #define SWIGTYPE_p_labelCacheObj swig_types[22]
1542 : #define SWIGTYPE_p_labelCacheSlotObj swig_types[23]
1543 : #define SWIGTYPE_p_labelLeaderObj swig_types[24]
1544 : #define SWIGTYPE_p_labelObj swig_types[25]
1545 : #define SWIGTYPE_p_layerObj swig_types[26]
1546 : #define SWIGTYPE_p_legendObj swig_types[27]
1547 : #define SWIGTYPE_p_lineObj swig_types[28]
1548 : #define SWIGTYPE_p_mapObj swig_types[29]
1549 : #define SWIGTYPE_p_markerCacheMemberObj swig_types[30]
1550 : #define SWIGTYPE_p_outputFormatObj swig_types[31]
1551 : #define SWIGTYPE_p_p_char swig_types[32]
1552 : #define SWIGTYPE_p_p_labelCacheMemberObj swig_types[33]
1553 : #define SWIGTYPE_p_p_textSymbolObj swig_types[34]
1554 : #define SWIGTYPE_p_pointObj swig_types[35]
1555 : #define SWIGTYPE_p_projectionContext swig_types[36]
1556 : #define SWIGTYPE_p_projectionObj swig_types[37]
1557 : #define SWIGTYPE_p_queryMapObj swig_types[38]
1558 : #define SWIGTYPE_p_rectObj swig_types[39]
1559 : #define SWIGTYPE_p_referenceMapObj swig_types[40]
1560 : #define SWIGTYPE_p_resultCacheObj swig_types[41]
1561 : #define SWIGTYPE_p_resultObj swig_types[42]
1562 : #define SWIGTYPE_p_scaleTokenEntryObj swig_types[43]
1563 : #define SWIGTYPE_p_scaleTokenObj swig_types[44]
1564 : #define SWIGTYPE_p_scalebarObj swig_types[45]
1565 : #define SWIGTYPE_p_shapeObj swig_types[46]
1566 : #define SWIGTYPE_p_shapefileObj swig_types[47]
1567 : #define SWIGTYPE_p_styleObj swig_types[48]
1568 : #define SWIGTYPE_p_symbolObj swig_types[49]
1569 : #define SWIGTYPE_p_symbolSetObj swig_types[50]
1570 : #define SWIGTYPE_p_uint32_t swig_types[51]
1571 : #define SWIGTYPE_p_webObj swig_types[52]
1572 : static swig_type_info *swig_types[54];
1573 : static swig_module_info swig_module = {swig_types, 53, 0, 0, 0, 0};
1574 : #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1575 : #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1576 :
1577 : /* -------- TYPES TABLE (END) -------- */
1578 :
1579 : #define SWIG_init boot_mapscript
1580 :
1581 : #define SWIG_name "mapscriptc::boot_mapscript"
1582 : #define SWIG_prefix "mapscriptc::"
1583 :
1584 : #define SWIGVERSION 0x030012
1585 : #define SWIG_VERSION SWIGVERSION
1586 :
1587 :
1588 : #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1589 : #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1590 :
1591 :
1592 : #ifdef __cplusplus
1593 : extern "C"
1594 : #endif
1595 : #ifndef PERL_OBJECT
1596 : #ifndef MULTIPLICITY
1597 : SWIGEXPORT void SWIG_init (CV* cv);
1598 : #else
1599 : SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1600 : #endif
1601 : #else
1602 : SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
1603 : #endif
1604 :
1605 :
1606 : #include "../../mapserver.h"
1607 : #include "../../maptemplate.h"
1608 : #include "../../mapogcsld.h"
1609 : #include "../../mapows.h"
1610 : #include "../../cgiutil.h"
1611 : #include "../../mapcopy.h"
1612 : #include "../../maperror.h"
1613 : #include "../../mapprimitive.h"
1614 : #include "../../mapshape.h"
1615 :
1616 : #if defined(WIN32) && defined(SWIGCSHARP)
1617 : /* <windows.h> is needed for GetExceptionCode() for unhandled exception */
1618 : #include <windows.h>
1619 : #endif
1620 :
1621 :
1622 :
1623 : typedef int intarray;
1624 :
1625 :
1626 : #include <limits.h>
1627 : #if !defined(SWIG_NO_LLONG_MAX)
1628 : # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1629 : # define LLONG_MAX __LONG_LONG_MAX__
1630 : # define LLONG_MIN (-LLONG_MAX - 1LL)
1631 : # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1632 : # endif
1633 : #endif
1634 :
1635 :
1636 : #include <stdlib.h>
1637 : #ifdef _MSC_VER
1638 : # ifndef strtoull
1639 : # define strtoull _strtoui64
1640 : # endif
1641 : # ifndef strtoll
1642 : # define strtoll _strtoi64
1643 : # endif
1644 : #endif
1645 :
1646 :
1647 : SWIGINTERN int
1648 0 : SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1649 : {
1650 0 : if (SvNIOK(obj)) {
1651 0 : if (val) *val = SvNV(obj);
1652 : return SWIG_OK;
1653 0 : } else if (SvIOK(obj)) {
1654 0 : if (val) *val = (double) SvIV(obj);
1655 : return SWIG_AddCast(SWIG_OK);
1656 : } else {
1657 0 : const char *nptr = SvPV_nolen(obj);
1658 0 : if (nptr) {
1659 : char *endptr;
1660 : double v;
1661 0 : errno = 0;
1662 0 : v = strtod(nptr, &endptr);
1663 0 : if (errno == ERANGE) {
1664 0 : errno = 0;
1665 0 : return SWIG_OverflowError;
1666 : } else {
1667 0 : if (*endptr == '\0') {
1668 0 : if (val) *val = v;
1669 : return SWIG_Str2NumCast(SWIG_OK);
1670 : }
1671 : }
1672 : }
1673 : }
1674 : return SWIG_TypeError;
1675 : }
1676 :
1677 :
1678 : #include <float.h>
1679 :
1680 :
1681 : #include <math.h>
1682 :
1683 :
1684 : SWIGINTERNINLINE int
1685 0 : SWIG_CanCastAsInteger(double *d, double min, double max) {
1686 0 : double x = *d;
1687 0 : if ((min <= x && x <= max)) {
1688 0 : double fx = floor(x);
1689 0 : double cx = ceil(x);
1690 0 : double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
1691 0 : if ((errno == EDOM) || (errno == ERANGE)) {
1692 0 : errno = 0;
1693 : } else {
1694 : double summ, reps, diff;
1695 0 : if (rd < x) {
1696 0 : diff = x - rd;
1697 0 : } else if (rd > x) {
1698 0 : diff = rd - x;
1699 : } else {
1700 : return 1;
1701 : }
1702 0 : summ = rd + x;
1703 0 : reps = diff/summ;
1704 0 : if (reps < 8*DBL_EPSILON) {
1705 0 : *d = rd;
1706 0 : return 1;
1707 : }
1708 : }
1709 : }
1710 : return 0;
1711 : }
1712 :
1713 :
1714 : SWIGINTERN int
1715 0 : SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
1716 : {
1717 0 : if (SvUOK(obj)) {
1718 0 : UV v = SvUV(obj);
1719 : if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
1720 0 : if (val) *val = v;
1721 : return SWIG_OK;
1722 : }
1723 : return SWIG_OverflowError;
1724 0 : } else if (SvIOK(obj)) {
1725 0 : IV v = SvIV(obj);
1726 0 : if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
1727 0 : if (val) *val = v;
1728 : return SWIG_OK;
1729 : }
1730 : return SWIG_OverflowError;
1731 : } else {
1732 : int dispatch = 0;
1733 0 : const char *nptr = SvPV_nolen(obj);
1734 0 : if (nptr) {
1735 : char *endptr;
1736 : unsigned long v;
1737 0 : errno = 0;
1738 0 : v = strtoul(nptr, &endptr,0);
1739 0 : if (errno == ERANGE) {
1740 0 : errno = 0;
1741 0 : return SWIG_OverflowError;
1742 : } else {
1743 0 : if (*endptr == '\0') {
1744 0 : if (val) *val = v;
1745 : return SWIG_Str2NumCast(SWIG_OK);
1746 : }
1747 : }
1748 : }
1749 : if (!dispatch) {
1750 : double d;
1751 0 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1752 0 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
1753 0 : if (val) *val = (unsigned long)(d);
1754 0 : return res;
1755 : }
1756 : }
1757 : }
1758 0 : return SWIG_TypeError;
1759 : }
1760 :
1761 :
1762 : #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
1763 : # define SWIG_LONG_LONG_AVAILABLE
1764 : #endif
1765 :
1766 :
1767 : #ifdef SWIG_LONG_LONG_AVAILABLE
1768 : SWIGINTERN int
1769 : SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
1770 : {
1771 : if (SvUOK(obj)) {
1772 : /* pretty sure this should be conditional on
1773 : * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
1774 : if (val) *val = SvUV(obj);
1775 : return SWIG_OK;
1776 : } else if (SvIOK(obj)) {
1777 : IV v = SvIV(obj);
1778 : if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
1779 : if (val) *val = v;
1780 : return SWIG_OK;
1781 : } else {
1782 : return SWIG_OverflowError;
1783 : }
1784 : } else {
1785 : int dispatch = 0;
1786 : const char *nptr = SvPV_nolen(obj);
1787 : if (nptr) {
1788 : char *endptr;
1789 : unsigned long long v;
1790 : errno = 0;
1791 : v = strtoull(nptr, &endptr,0);
1792 : if (errno == ERANGE) {
1793 : errno = 0;
1794 : return SWIG_OverflowError;
1795 : } else {
1796 : if (*endptr == '\0') {
1797 : if (val) *val = v;
1798 : return SWIG_Str2NumCast(SWIG_OK);
1799 : }
1800 : }
1801 : }
1802 : if (!dispatch) {
1803 : const double mant_max = 1LL << DBL_MANT_DIG;
1804 : double d;
1805 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1806 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
1807 : if (val) *val = (unsigned long long)(d);
1808 : return res;
1809 : }
1810 : }
1811 : }
1812 : return SWIG_TypeError;
1813 : }
1814 : #endif
1815 :
1816 :
1817 : SWIGINTERNINLINE int
1818 0 : SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
1819 : {
1820 : int res = SWIG_TypeError;
1821 : #ifdef SWIG_LONG_LONG_AVAILABLE
1822 : if (sizeof(size_t) <= sizeof(unsigned long)) {
1823 : #endif
1824 : unsigned long v;
1825 0 : res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
1826 0 : if (SWIG_IsOK(res) && val) *val = (size_t)(v);
1827 : #ifdef SWIG_LONG_LONG_AVAILABLE
1828 : } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
1829 : unsigned long long v;
1830 : res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
1831 : if (SWIG_IsOK(res) && val) *val = (size_t)(v);
1832 : }
1833 : #endif
1834 0 : return res;
1835 : }
1836 :
1837 : SWIGINTERN intarray *new_intarray(size_t nelements){
1838 0 : return (int *)calloc(nelements, sizeof(int));
1839 : }
1840 : SWIGINTERN void delete_intarray(intarray *self){
1841 0 : free((char*)self);
1842 : }
1843 : SWIGINTERN int intarray_getitem(intarray *self,size_t index){
1844 0 : return self[index];
1845 : }
1846 :
1847 : SWIGINTERNINLINE SV *
1848 1 : SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1849 : {
1850 : SV *sv;
1851 : if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1852 1 : sv = newSViv(value);
1853 : else
1854 : sv = newSVpvf("%ld", value);
1855 1 : return sv_2mortal(sv);
1856 : }
1857 :
1858 :
1859 : SWIGINTERNINLINE SV *
1860 : SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1861 : {
1862 1 : return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1863 : }
1864 :
1865 :
1866 : SWIGINTERN int
1867 1 : SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1868 : {
1869 1 : if (SvUOK(obj)) {
1870 0 : UV v = SvUV(obj);
1871 0 : if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
1872 0 : if (val) *val = v;
1873 : return SWIG_OK;
1874 : }
1875 : return SWIG_OverflowError;
1876 1 : } else if (SvIOK(obj)) {
1877 1 : IV v = SvIV(obj);
1878 : if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1879 1 : if(val) *val = v;
1880 : return SWIG_OK;
1881 : }
1882 : return SWIG_OverflowError;
1883 : } else {
1884 : int dispatch = 0;
1885 1 : const char *nptr = SvPV_nolen(obj);
1886 1 : if (nptr) {
1887 : char *endptr;
1888 : long v;
1889 1 : errno = 0;
1890 1 : v = strtol(nptr, &endptr,0);
1891 1 : if (errno == ERANGE) {
1892 0 : errno = 0;
1893 1 : return SWIG_OverflowError;
1894 : } else {
1895 1 : if (*endptr == '\0') {
1896 1 : if (val) *val = v;
1897 : return SWIG_Str2NumCast(SWIG_OK);
1898 : }
1899 : }
1900 : }
1901 : if (!dispatch) {
1902 : double d;
1903 0 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1904 0 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
1905 0 : if (val) *val = (long)(d);
1906 0 : return res;
1907 : }
1908 : }
1909 : }
1910 0 : return SWIG_TypeError;
1911 : }
1912 :
1913 :
1914 : SWIGINTERN int
1915 1 : SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1916 : {
1917 : long v;
1918 1 : int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1919 1 : if (SWIG_IsOK(res)) {
1920 1 : if ((v < INT_MIN || v > INT_MAX)) {
1921 : return SWIG_OverflowError;
1922 : } else {
1923 1 : if (val) *val = (int)(v);
1924 : }
1925 : }
1926 1 : return res;
1927 : }
1928 :
1929 : SWIGINTERN void intarray_setitem(intarray *self,size_t index,int value){
1930 0 : self[index] = value;
1931 : }
1932 : SWIGINTERN int *intarray_cast(intarray *self){
1933 : return self;
1934 : }
1935 : SWIGINTERN intarray *intarray_frompointer(int *t){
1936 : return (intarray *)(t);
1937 : }
1938 :
1939 : #ifdef __cplusplus
1940 : extern "C" {
1941 : #endif
1942 :
1943 : typedef struct {
1944 : unsigned char *data;
1945 : int size;
1946 : int owns_data;
1947 : } gdBuffer;
1948 :
1949 : #ifdef __cplusplus
1950 : }
1951 : #endif
1952 :
1953 :
1954 : SWIGINTERN swig_type_info*
1955 0 : SWIG_pchar_descriptor(void)
1956 : {
1957 : static int init = 0;
1958 : static swig_type_info* info = 0;
1959 0 : if (!init) {
1960 0 : info = SWIG_TypeQuery("_p_char");
1961 0 : init = 1;
1962 : }
1963 0 : return info;
1964 : }
1965 :
1966 :
1967 : SWIGINTERN int
1968 1 : SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1969 : {
1970 1 : if (SvMAGICAL(obj)) {
1971 0 : SV *tmp = sv_newmortal();
1972 0 : SvSetSV(tmp, obj);
1973 : obj = tmp;
1974 : }
1975 1 : if (SvPOK(obj)) {
1976 1 : STRLEN len = 0;
1977 1 : char *cstr = SvPV(obj, len);
1978 1 : size_t size = len + 1;
1979 1 : if (cptr) {
1980 1 : if (alloc) {
1981 1 : if (*alloc == SWIG_NEWOBJ) {
1982 0 : *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1983 : } else {
1984 1 : *cptr = cstr;
1985 1 : *alloc = SWIG_OLDOBJ;
1986 : }
1987 : }
1988 : }
1989 1 : if (psize) *psize = size;
1990 : return SWIG_OK;
1991 : } else {
1992 0 : swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1993 0 : if (pchar_descriptor) {
1994 0 : char* vptr = 0;
1995 0 : if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
1996 0 : if (cptr) *cptr = vptr;
1997 0 : if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1998 0 : if (alloc) *alloc = SWIG_OLDOBJ;
1999 0 : return SWIG_OK;
2000 : }
2001 : }
2002 : }
2003 : return SWIG_TypeError;
2004 : }
2005 :
2006 :
2007 :
2008 :
2009 :
2010 : SWIGINTERNINLINE SV *
2011 1 : SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2012 : {
2013 1 : SV *obj = sv_newmortal();
2014 1 : if (carray) {
2015 1 : sv_setpvn(obj, carray, size);
2016 : } else {
2017 0 : sv_setsv(obj, &PL_sv_undef);
2018 : }
2019 1 : return obj;
2020 : }
2021 :
2022 :
2023 : SWIGINTERNINLINE SV *
2024 1 : SWIG_FromCharPtr(const char *cptr)
2025 : {
2026 1 : return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2027 : }
2028 :
2029 :
2030 : SWIGINTERNINLINE SV *
2031 1 : SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
2032 : {
2033 1 : return sv_2mortal(newSVnv(value));
2034 : }
2035 :
2036 : SWIGINTERN int clusterObj_updateFromString(clusterObj *self,char *snippet){
2037 0 : return msUpdateClusterFromString(self, snippet);
2038 : }
2039 : SWIGINTERN char *clusterObj_convertToString(clusterObj *self){
2040 0 : return msWriteClusterToString(self);
2041 : }
2042 0 : SWIGINTERN int clusterObj_setGroup(clusterObj *self,char *group){
2043 0 : if (!group || strlen(group) == 0) {
2044 0 : msFreeExpression(&self->group);
2045 0 : return MS_SUCCESS;
2046 : }
2047 0 : else return msLoadExpressionString(&self->group, group);
2048 : }
2049 : SWIGINTERN char *clusterObj_getGroupString(clusterObj *self){
2050 0 : return msGetExpressionString(&(self->group));
2051 : }
2052 0 : SWIGINTERN int clusterObj_setFilter(clusterObj *self,char *filter){
2053 0 : if (!filter || strlen(filter) == 0) {
2054 0 : msFreeExpression(&self->filter);
2055 0 : return MS_SUCCESS;
2056 : }
2057 0 : else return msLoadExpressionString(&self->filter, filter);
2058 : }
2059 : SWIGINTERN char *clusterObj_getFilterString(clusterObj *self){
2060 0 : return msGetExpressionString(&(self->filter));
2061 : }
2062 0 : SWIGINTERN outputFormatObj *new_outputFormatObj(char const *driver,char *name){
2063 : outputFormatObj *format;
2064 :
2065 0 : format = msCreateDefaultOutputFormat(NULL, driver, name);
2066 :
2067 : /* in the case of unsupported formats, msCreateDefaultOutputFormat
2068 : should return NULL */
2069 0 : if (!format)
2070 : {
2071 0 : msSetError(12, "Unsupported format driver: %s",
2072 : "outputFormatObj()", driver);
2073 0 : return NULL;
2074 : }
2075 :
2076 0 : msInitializeRendererVTable(format);
2077 :
2078 0 : MS_REFCNT_INIT(format);
2079 0 : format->inmapfile = 1;
2080 :
2081 0 : return format;
2082 : }
2083 : SWIGINTERN void delete_outputFormatObj(outputFormatObj *self){
2084 0 : msFreeOutputFormat( self );
2085 : }
2086 : SWIGINTERN void outputFormatObj_setExtension(outputFormatObj *self,char const *extension){
2087 0 : msFree( self->extension );
2088 0 : self->extension = msStrdup(extension);
2089 : }
2090 : SWIGINTERN void outputFormatObj_setMimetype(outputFormatObj *self,char const *mimetype){
2091 0 : msFree( self->mimetype );
2092 0 : self->mimetype = msStrdup(mimetype);
2093 : }
2094 : SWIGINTERN void outputFormatObj_setOption(outputFormatObj *self,char const *key,char const *value){
2095 0 : msSetOutputFormatOption( self, key, value );
2096 : }
2097 : SWIGINTERN int outputFormatObj_validate(outputFormatObj *self){
2098 0 : return msOutputFormatValidate( self, 0 );
2099 : }
2100 : SWIGINTERN char *outputFormatObj_getOption(outputFormatObj *self,char const *key,char const *value){
2101 0 : return msStrdup(msGetOutputFormatOption(self, key, value));
2102 : }
2103 0 : SWIGINTERN char *outputFormatObj_getOptionAt(outputFormatObj *self,int i){
2104 0 : if( i >= 0 && i < self->numformatoptions ) {
2105 0 : return msStrdup(self->formatoptions[i]);
2106 : }
2107 : return NULL;
2108 : }
2109 : SWIGINTERN void outputFormatObj_attachDevice(outputFormatObj *self,void *device){
2110 0 : self->device = device;
2111 : }
2112 : SWIGINTERN int queryMapObj_updateFromString(queryMapObj *self,char *snippet){
2113 0 : return msUpdateQueryMapFromString(self, snippet, 0);
2114 : }
2115 : SWIGINTERN char *queryMapObj_convertToString(queryMapObj *self){
2116 0 : return msWriteQueryMapToString(self);
2117 : }
2118 : SWIGINTERN webObj *new_webObj(void){
2119 : webObj *web;
2120 0 : web = (webObj *) malloc(sizeof(webObj));
2121 0 : initWeb(web);
2122 : return web;
2123 : }
2124 0 : SWIGINTERN void delete_webObj(webObj *self){
2125 0 : if (!self) return;
2126 0 : freeWeb(self);
2127 0 : free(self);
2128 : }
2129 : SWIGINTERN int webObj_updateFromString(webObj *self,char *snippet){
2130 0 : return msUpdateWebFromString(self, snippet, 0);
2131 : }
2132 : SWIGINTERN char *webObj_convertToString(webObj *self){
2133 0 : return msWriteWebToString(self);
2134 : }
2135 0 : SWIGINTERN struct styleObj *new_styleObj(classObj *parent_class){
2136 :
2137 : styleObj *style = NULL;
2138 :
2139 0 : if (parent_class!=NULL) {
2140 0 : if ((style = msGrowClassStyles(parent_class)) == NULL)
2141 : return NULL;
2142 :
2143 0 : if ( initStyle(style) == MS_FAILURE ) {
2144 0 : msSetError(12, "Failed to init new styleObj instance",
2145 : "initStyle()");
2146 : }
2147 0 : parent_class->numstyles++;
2148 0 : MS_REFCNT_INCR(style);
2149 : }
2150 : else {
2151 0 : style = (styleObj *) malloc(sizeof(styleObj));
2152 0 : if (!style) {
2153 0 : msSetError(2, "Failed to allocate memory for new styleObj instance",
2154 : "styleObj()");
2155 0 : return NULL;
2156 : }
2157 0 : if ( initStyle(style) == MS_FAILURE ) {
2158 0 : msSetError(12, "Failed to init new styleObj instance",
2159 : "initStyle()");
2160 0 : msFree(style);
2161 0 : return NULL;
2162 : }
2163 : }
2164 0 : return style;
2165 : }
2166 0 : SWIGINTERN void delete_styleObj(struct styleObj *self){
2167 0 : if (self) {
2168 0 : if ( freeStyle(self) == MS_SUCCESS ) {
2169 0 : free(self);
2170 : self=NULL;
2171 : }
2172 : }
2173 0 : }
2174 : SWIGINTERN int styleObj_updateFromString(struct styleObj *self,char *snippet){
2175 0 : return msUpdateStyleFromString(self, snippet, 0);
2176 : }
2177 : SWIGINTERN char *styleObj_convertToString(struct styleObj *self){
2178 0 : return msWriteStyleToString(self);
2179 : }
2180 0 : SWIGINTERN styleObj *styleObj_clone(struct styleObj *self){
2181 : styleObj *style;
2182 :
2183 0 : style = (styleObj *) malloc(sizeof(styleObj));
2184 0 : if (!style)
2185 : {
2186 0 : msSetError(2,
2187 : "Could not allocate memory for new styleObj instance",
2188 : "clone()");
2189 0 : return NULL;
2190 : }
2191 0 : if (initStyle(style) == -1)
2192 : {
2193 0 : msSetError(2, "Failed to initialize Style",
2194 : "clone()");
2195 0 : return NULL;
2196 : }
2197 :
2198 0 : if (msCopyStyle(style, self) != MS_SUCCESS)
2199 : {
2200 0 : free(style);
2201 0 : return NULL;
2202 : }
2203 :
2204 : return style;
2205 : }
2206 0 : SWIGINTERN int styleObj_setSymbolByName(struct styleObj *self,mapObj *map,char *symbolname){
2207 0 : self->symbol = msGetSymbolIndex(&map->symbolset, symbolname, 1);
2208 0 : if (self->symbolname) free((char*)self->symbolname);
2209 0 : if (symbolname) self->symbolname = msStrdup(symbolname);
2210 0 : else self->symbolname = 0;
2211 0 : return self->symbol;
2212 : }
2213 0 : SWIGINTERN int styleObj_removeBinding(struct styleObj *self,int binding){
2214 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2215 :
2216 0 : if(self->bindings[binding].item) {
2217 0 : free(self->bindings[binding].item);
2218 0 : self->bindings[binding].item = NULL;
2219 0 : self->bindings[binding].index = -1;
2220 0 : self->numbindings--;
2221 : }
2222 :
2223 : return MS_SUCCESS;
2224 : }
2225 0 : SWIGINTERN int styleObj_setBinding(struct styleObj *self,int binding,char *item){
2226 0 : if(!item) return MS_FAILURE;
2227 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2228 :
2229 0 : if(self->bindings[binding].item) {
2230 0 : free(self->bindings[binding].item);
2231 0 : self->bindings[binding].item = NULL;
2232 0 : self->bindings[binding].index = -1;
2233 0 : self->numbindings--;
2234 : }
2235 :
2236 0 : self->bindings[binding].item = msStrdup(item);
2237 0 : self->numbindings++;
2238 :
2239 0 : return MS_SUCCESS;
2240 : }
2241 : SWIGINTERN char *styleObj_getBinding(struct styleObj *self,int binding){
2242 0 : if(binding < 0 || binding >= 12) return NULL;
2243 :
2244 0 : return self->bindings[binding].item;
2245 : }
2246 : SWIGINTERN char *styleObj_getGeomTransform(struct styleObj *self){
2247 : return self->_geomtransform.string;
2248 : }
2249 : SWIGINTERN void styleObj_setGeomTransform(struct styleObj *self,char *transform){
2250 0 : msStyleSetGeomTransform(self, transform);
2251 : }
2252 :
2253 : SWIGINTERN int
2254 0 : SWIG_AsCharArray(SV * obj, char *val, size_t size)
2255 : {
2256 0 : char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2257 0 : int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2258 0 : if (SWIG_IsOK(res)) {
2259 : /* special case of single char conversion when we don't need space for NUL */
2260 0 : if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
2261 0 : if (csize <= size) {
2262 0 : if (val) {
2263 0 : if (csize) memcpy(val, cptr, csize*sizeof(char));
2264 0 : if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2265 : }
2266 0 : if (alloc == SWIG_NEWOBJ) {
2267 0 : free((char*)cptr);
2268 0 : res = SWIG_DelNewMask(res);
2269 : }
2270 0 : return res;
2271 : }
2272 0 : if (alloc == SWIG_NEWOBJ) free((char*)cptr);
2273 : }
2274 : return SWIG_TypeError;
2275 : }
2276 :
2277 :
2278 : SWIGINTERN int
2279 0 : SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
2280 : {
2281 0 : int res = SWIG_AsCharArray(obj, val, 1);
2282 0 : if (!SWIG_IsOK(res)) {
2283 : long v;
2284 0 : res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
2285 0 : if (SWIG_IsOK(res)) {
2286 0 : if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2287 0 : if (val) *val = (char)(v);
2288 : } else {
2289 : res = SWIG_OverflowError;
2290 : }
2291 : }
2292 : }
2293 0 : return res;
2294 : }
2295 :
2296 :
2297 : SWIGINTERNINLINE SV *
2298 : SWIG_From_char SWIG_PERL_DECL_ARGS_1(char c)
2299 : {
2300 0 : return SWIG_FromCharPtrAndSize(&c,1);
2301 : }
2302 :
2303 0 : SWIGINTERN struct labelObj *new_labelObj(void){
2304 : labelObj *label;
2305 :
2306 0 : label = (labelObj *)calloc(1, sizeof(labelObj));
2307 0 : if (!label)
2308 : return(NULL);
2309 :
2310 0 : initLabel(label);
2311 :
2312 0 : return(label);
2313 : }
2314 : SWIGINTERN void delete_labelObj(struct labelObj *self){
2315 0 : freeLabel(self);
2316 : }
2317 : SWIGINTERN int labelObj_updateFromString(struct labelObj *self,char *snippet){
2318 0 : return msUpdateLabelFromString(self, snippet,0);
2319 : }
2320 : SWIGINTERN char *labelObj_convertToString(struct labelObj *self){
2321 0 : return msWriteLabelToString(self);
2322 : }
2323 0 : SWIGINTERN int labelObj_removeBinding(struct labelObj *self,int binding){
2324 0 : if(binding < 0 || binding >= 9) return MS_FAILURE;
2325 :
2326 0 : if(self->bindings[binding].item) {
2327 0 : free(self->bindings[binding].item);
2328 0 : self->bindings[binding].item = NULL;
2329 0 : self->bindings[binding].index = -1;
2330 0 : self->numbindings--;
2331 : }
2332 :
2333 : return MS_SUCCESS;
2334 : }
2335 : SWIGINTERN char *labelObj_getBinding(struct labelObj *self,int binding){
2336 0 : if(binding < 0 || binding >= 9) return NULL;
2337 :
2338 0 : return self->bindings[binding].item;
2339 : }
2340 0 : SWIGINTERN int labelObj_setBinding(struct labelObj *self,int binding,char *item){
2341 0 : if(!item) return MS_FAILURE;
2342 0 : if(binding < 0 || binding >= 9) return MS_FAILURE;
2343 :
2344 0 : if(self->bindings[binding].item) {
2345 0 : free(self->bindings[binding].item);
2346 0 : self->bindings[binding].item = NULL;
2347 0 : self->bindings[binding].index = -1;
2348 0 : self->numbindings--;
2349 : }
2350 :
2351 0 : self->bindings[binding].item = msStrdup(item);
2352 0 : self->numbindings++;
2353 :
2354 0 : return MS_SUCCESS;
2355 : }
2356 0 : SWIGINTERN int labelObj_setExpression(struct labelObj *self,char *expression){
2357 0 : if (!expression || strlen(expression) == 0) {
2358 0 : msFreeExpression(&self->expression);
2359 0 : return MS_SUCCESS;
2360 : }
2361 0 : else return msLoadExpressionString(&self->expression, expression);
2362 : }
2363 : SWIGINTERN char *labelObj_getExpressionString(struct labelObj *self){
2364 0 : return msGetExpressionString(&(self->expression));
2365 : }
2366 0 : SWIGINTERN int labelObj_setText(struct labelObj *self,char *text){
2367 0 : if (!text || strlen(text) == 0) {
2368 0 : msFreeExpression(&self->text);
2369 0 : return MS_SUCCESS;
2370 : }
2371 0 : else return msLoadExpressionString(&self->text, text);
2372 : }
2373 : SWIGINTERN char *labelObj_getTextString(struct labelObj *self){
2374 0 : return msGetExpressionString(&(self->text));
2375 : }
2376 0 : SWIGINTERN styleObj *labelObj_getStyle(struct labelObj *self,int i){
2377 0 : if (i >= 0 && i < self->numstyles) {
2378 0 : MS_REFCNT_INCR(self->styles[i]);
2379 0 : return self->styles[i];
2380 : } else {
2381 0 : msSetError(31, "Invalid index: %d", "getStyle()", i);
2382 : return NULL;
2383 : }
2384 : }
2385 : SWIGINTERN int labelObj_insertStyle(struct labelObj *self,styleObj *style,int index){
2386 0 : return msInsertLabelStyle(self, style, index);
2387 : }
2388 0 : SWIGINTERN styleObj *labelObj_removeStyle(struct labelObj *self,int index){
2389 0 : styleObj* style = (styleObj *) msRemoveLabelStyle(self, index);
2390 0 : if (style)
2391 0 : MS_REFCNT_INCR(style);
2392 0 : return style;
2393 : }
2394 : SWIGINTERN int labelObj_moveStyleUp(struct labelObj *self,int index){
2395 0 : return msMoveLabelStyleUp(self, index);
2396 : }
2397 : SWIGINTERN int labelObj_moveStyleDown(struct labelObj *self,int index){
2398 0 : return msMoveLabelStyleDown(self, index);
2399 : }
2400 1 : SWIGINTERN struct classObj *new_classObj(layerObj *layer){
2401 : classObj *new_class=NULL;
2402 :
2403 1 : if (!layer)
2404 : {
2405 1 : new_class = (classObj *) malloc(sizeof(classObj));
2406 1 : if (!new_class)
2407 : {
2408 0 : msSetError(2,
2409 : "Could not allocate memory for new classObj instance",
2410 : "classObj()");
2411 0 : return NULL;
2412 : }
2413 1 : if (initClass(new_class) == -1) return NULL;
2414 1 : new_class->layer = NULL;
2415 1 : return new_class;
2416 : }
2417 : else
2418 : {
2419 1 : if(msGrowLayerClasses(layer) == NULL)
2420 : return NULL;
2421 1 : if (initClass(layer->class[layer->numclasses]) == -1)
2422 : return NULL;
2423 1 : layer->class[layer->numclasses]->layer = layer;
2424 1 : MS_REFCNT_INCR(layer->class[layer->numclasses]);
2425 1 : layer->numclasses++;
2426 1 : return (layer->class[layer->numclasses-1]);
2427 : }
2428 :
2429 : return NULL;
2430 : }
2431 1 : SWIGINTERN void delete_classObj(struct classObj *self){
2432 1 : if (self)
2433 : {
2434 1 : if (freeClass(self)==MS_SUCCESS) {
2435 0 : free(self);
2436 : self=NULL;
2437 : }
2438 : }
2439 1 : }
2440 : SWIGINTERN int classObj_updateFromString(struct classObj *self,char *snippet){
2441 0 : return msUpdateClassFromString(self, snippet, 0);
2442 : }
2443 : SWIGINTERN char *classObj_convertToString(struct classObj *self){
2444 0 : return msWriteClassToString(self);
2445 : }
2446 0 : SWIGINTERN classObj *classObj_clone(struct classObj *self){
2447 : classObj *new_class;
2448 :
2449 0 : new_class = (classObj *) malloc(sizeof(classObj));
2450 0 : if (!new_class)
2451 : {
2452 0 : msSetError(2,
2453 : "Could not allocate memory for new classObj instance",
2454 : "clone()");
2455 0 : return NULL;
2456 : }
2457 0 : if (initClass(new_class) == -1)
2458 : {
2459 0 : msSetError(2, "Failed to initialize Class",
2460 : "clone()");
2461 0 : return NULL;
2462 : }
2463 0 : new_class->layer = NULL;
2464 :
2465 0 : if (msCopyClass(new_class, self, self->layer) != MS_SUCCESS) {
2466 0 : freeClass(new_class);
2467 0 : free(new_class);
2468 : new_class = NULL;
2469 : }
2470 :
2471 0 : return new_class;
2472 : }
2473 0 : SWIGINTERN int classObj_setExpression(struct classObj *self,char *expression){
2474 0 : if (!expression || strlen(expression) == 0) {
2475 0 : msFreeExpression(&self->expression);
2476 0 : return MS_SUCCESS;
2477 : }
2478 0 : else return msLoadExpressionString(&self->expression, expression);
2479 : }
2480 : SWIGINTERN char *classObj_getExpressionString(struct classObj *self){
2481 0 : return msGetExpressionString(&(self->expression));
2482 : }
2483 0 : SWIGINTERN int classObj_setText(struct classObj *self,char *text){
2484 0 : if (!text || strlen(text) == 0) {
2485 0 : msFreeExpression(&self->text);
2486 0 : return MS_SUCCESS;
2487 : }
2488 0 : else return msLoadExpressionString(&self->text, text);
2489 : }
2490 : SWIGINTERN char *classObj_getTextString(struct classObj *self){
2491 0 : return msGetExpressionString(&(self->text));
2492 : }
2493 0 : SWIGINTERN char *classObj_getMetaData(struct classObj *self,char *name){
2494 : char *value = NULL;
2495 0 : if (!name) {
2496 0 : msSetError(16, "NULL key", "getMetaData");
2497 : }
2498 :
2499 0 : value = (char *) msLookupHashTable(&(self->metadata), name);
2500 0 : if (!value) {
2501 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
2502 0 : return NULL;
2503 : }
2504 : return value;
2505 : }
2506 : SWIGINTERN int classObj_setMetaData(struct classObj *self,char *name,char *value){
2507 0 : if (msInsertHashTable(&(self->metadata), name, value) == NULL)
2508 : return MS_FAILURE;
2509 : return MS_SUCCESS;
2510 : }
2511 : SWIGINTERN char *classObj_getFirstMetaDataKey(struct classObj *self){
2512 0 : return (char *) msFirstKeyFromHashTable(&(self->metadata));
2513 : }
2514 : SWIGINTERN char *classObj_getNextMetaDataKey(struct classObj *self,char *lastkey){
2515 0 : return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
2516 : }
2517 0 : SWIGINTERN int classObj_drawLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height,imageObj *dstImage,int dstX,int dstY){
2518 0 : if(layer->sizeunits != MS_PIXELS) {
2519 0 : map->cellsize = msAdjustExtent(&(map->extent), map->width, map->height);
2520 0 : layer->scalefactor = (msInchesPerUnit(layer->sizeunits,0)/msInchesPerUnit(map->units,0)) / map->cellsize;
2521 : }
2522 : else
2523 0 : layer->scalefactor = map->resolution/map->defresolution;
2524 :
2525 0 : return msDrawLegendIcon(map, layer, self, width, height, dstImage, dstX, dstY, 1, NULL);
2526 : }
2527 : SWIGINTERN imageObj *classObj_createLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height){
2528 0 : return msCreateLegendIcon(map, layer, self, width, height, 1);
2529 : }
2530 0 : SWIGINTERN labelObj *classObj_getLabel(struct classObj *self,int i){
2531 0 : if (i >= 0 && i < self->numlabels) {
2532 0 : MS_REFCNT_INCR(self->labels[i]);
2533 0 : return self->labels[i];
2534 : } else {
2535 0 : msSetError(31, "Invalid index: %d.", "getLabel()", i);
2536 : return NULL;
2537 : }
2538 : }
2539 : SWIGINTERN int classObj_addLabel(struct classObj *self,labelObj *label){
2540 0 : return msAddLabelToClass(self, label);
2541 : }
2542 0 : SWIGINTERN labelObj *classObj_removeLabel(struct classObj *self,int index){
2543 0 : labelObj* label = (labelObj *) msRemoveLabelFromClass(self, index);
2544 0 : if (label) MS_REFCNT_INCR(label);
2545 0 : return label;
2546 : }
2547 0 : SWIGINTERN styleObj *classObj_getStyle(struct classObj *self,int i){
2548 0 : if (i >= 0 && i < self->numstyles) {
2549 0 : MS_REFCNT_INCR(self->styles[i]);
2550 0 : return self->styles[i];
2551 : } else {
2552 0 : msSetError(31, "Invalid index: %d", "getStyle()", i);
2553 : return NULL;
2554 : }
2555 : }
2556 : SWIGINTERN int classObj_insertStyle(struct classObj *self,styleObj *style,int index){
2557 0 : return msInsertStyle(self, style, index);
2558 : }
2559 0 : SWIGINTERN styleObj *classObj_removeStyle(struct classObj *self,int index){
2560 0 : styleObj* style = (styleObj *) msRemoveStyle(self, index);
2561 0 : if (style) MS_REFCNT_INCR(style);
2562 0 : return style;
2563 : }
2564 : SWIGINTERN int classObj_moveStyleUp(struct classObj *self,int index){
2565 0 : return msMoveStyleUp(self, index);
2566 : }
2567 : SWIGINTERN int classObj_moveStyleDown(struct classObj *self,int index){
2568 0 : return msMoveStyleDown(self, index);
2569 : }
2570 : SWIGINTERN void labelCacheObj_freeCache(labelCacheObj *self){
2571 0 : msFreeLabelCache(self);
2572 : }
2573 : SWIGINTERN resultObj *new_resultObj(long shapeindex){
2574 0 : resultObj *result = (resultObj *) msSmallMalloc(sizeof(resultObj));
2575 :
2576 0 : result->tileindex = -1;
2577 0 : result->resultindex = -1;
2578 0 : result->shapeindex = shapeindex;
2579 :
2580 : return result;
2581 : }
2582 : SWIGINTERN void delete_resultObj(resultObj *self){
2583 0 : free(self);
2584 : }
2585 : SWIGINTERN resultObj *resultCacheObj_getResult(resultCacheObj *self,int i){
2586 0 : if (i >= 0 && i < self->numresults) {
2587 0 : return &self->results[i];
2588 : }
2589 : return NULL;
2590 : }
2591 0 : SWIGINTERN symbolSetObj *new_symbolSetObj(char const *symbolfile){
2592 : symbolSetObj *symbolset;
2593 : mapObj *temp_map=NULL;
2594 0 : symbolset = (symbolSetObj *) malloc(sizeof(symbolSetObj));
2595 0 : msInitSymbolSet(symbolset);
2596 0 : if (symbolfile) {
2597 0 : symbolset->filename = msStrdup(symbolfile);
2598 0 : temp_map = msNewMapObj();
2599 0 : msLoadSymbolSet(symbolset, temp_map);
2600 0 : symbolset->map = NULL;
2601 0 : msFreeMap(temp_map);
2602 : }
2603 0 : return symbolset;
2604 : }
2605 0 : SWIGINTERN void delete_symbolSetObj(symbolSetObj *self){
2606 0 : msFreeSymbolSet(self);
2607 0 : if (self->filename) free(self->filename);
2608 0 : free(self);
2609 0 : }
2610 0 : SWIGINTERN symbolObj *symbolSetObj_getSymbol(symbolSetObj *self,int i){
2611 0 : if (i >= 0 && i < self->numsymbols) {
2612 0 : symbolObj *s=self->symbol[i];
2613 0 : MS_REFCNT_INCR(s);
2614 : return s;
2615 : } else
2616 : return NULL;
2617 : }
2618 0 : SWIGINTERN symbolObj *symbolSetObj_getSymbolByName(symbolSetObj *self,char *symbolname){
2619 : int i;
2620 :
2621 0 : if (!symbolname) return NULL;
2622 :
2623 0 : i = msGetSymbolIndex(self, symbolname, 1);
2624 0 : if (i == -1)
2625 : return NULL;
2626 : else {
2627 0 : MS_REFCNT_INCR(self->symbol[i]);
2628 0 : return self->symbol[i];
2629 : }
2630 : }
2631 : SWIGINTERN int symbolSetObj_index(symbolSetObj *self,char *symbolname){
2632 0 : return msGetSymbolIndex(self, symbolname, 1);
2633 : }
2634 : SWIGINTERN int symbolSetObj_appendSymbol(symbolSetObj *self,symbolObj *symbol){
2635 0 : return msAppendSymbol(self, symbol);
2636 : }
2637 0 : SWIGINTERN symbolObj *symbolSetObj_removeSymbol(symbolSetObj *self,int index){
2638 0 : symbolObj *s=msRemoveSymbol(self, index);
2639 0 : if (s!=NULL) {
2640 0 : MS_REFCNT_INCR(s);
2641 : }
2642 0 : return s;
2643 : }
2644 : SWIGINTERN int symbolSetObj_save(symbolSetObj *self,char const *filename){
2645 0 : return msSaveSymbolSet(self, filename);
2646 : }
2647 : SWIGINTERN int referenceMapObj_updateFromString(referenceMapObj *self,char *snippet){
2648 0 : return msUpdateReferenceMapFromString(self, snippet, 0);
2649 : }
2650 : SWIGINTERN char *referenceMapObj_convertToString(referenceMapObj *self){
2651 0 : return msWriteReferenceMapToString(self);
2652 : }
2653 : SWIGINTERN int scalebarObj_updateFromString(scalebarObj *self,char *snippet){
2654 0 : return msUpdateScalebarFromString(self, snippet, 0);
2655 : }
2656 : SWIGINTERN char *scalebarObj_convertToString(scalebarObj *self){
2657 0 : return msWriteScalebarToString(self);
2658 : }
2659 : SWIGINTERN int legendObj_updateFromString(legendObj *self,char *snippet){
2660 0 : return msUpdateLegendFromString(self, snippet, 0);
2661 : }
2662 : SWIGINTERN char *legendObj_convertToString(legendObj *self){
2663 0 : return msWriteLegendToString(self);
2664 : }
2665 0 : SWIGINTERN struct imageObj *new_imageObj(int width,int height,outputFormatObj *input_format,char const *file,double resolution,double defresolution){
2666 : imageObj *image=NULL;
2667 : outputFormatObj *format;
2668 : rendererVTableObj *renderer = NULL;
2669 : rasterBufferObj *rb = NULL;
2670 :
2671 0 : if (input_format) {
2672 : format = input_format;
2673 : }
2674 : else {
2675 0 : format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
2676 0 : if (format)
2677 0 : msInitializeRendererVTable(format);
2678 : }
2679 0 : if (format == NULL) {
2680 0 : msSetError(15, "Could not create output format",
2681 : "imageObj()");
2682 0 : return NULL;
2683 : }
2684 :
2685 0 : if (file) {
2686 :
2687 0 : renderer = format->vtable;
2688 0 : rb = (rasterBufferObj*) malloc(sizeof(rasterBufferObj));
2689 0 : if (!rb) {
2690 0 : msSetError(2, NULL, "imageObj()");
2691 0 : return NULL;
2692 : }
2693 0 : if ( (renderer->loadImageFromFile((char *)file, rb)) == MS_FAILURE) {
2694 0 : msFreeRasterBuffer(rb);
2695 0 : free(rb);
2696 0 : return NULL;
2697 : }
2698 0 : image = msImageCreate(rb->width, rb->height, format, NULL, NULL,
2699 : resolution, defresolution, NULL);
2700 0 : if (! image) {
2701 0 : msFreeRasterBuffer(rb);
2702 0 : free(rb);
2703 0 : return NULL;
2704 : }
2705 :
2706 0 : if(renderer->mergeRasterBuffer(image, rb, 1.0, 0, 0, 0, 0, rb->width, rb->height) != MS_SUCCESS) {
2707 0 : msFreeImage(image);
2708 : image = NULL;
2709 : }
2710 :
2711 0 : msFreeRasterBuffer(rb);
2712 0 : free(rb);
2713 :
2714 0 : return image;
2715 : }
2716 :
2717 0 : image = msImageCreate(width, height, format, NULL, NULL, resolution, defresolution, NULL);
2718 0 : return image;
2719 : }
2720 : SWIGINTERN void delete_imageObj(struct imageObj *self){
2721 0 : msFreeImage(self);
2722 : }
2723 : SWIGINTERN void imageObj_save(struct imageObj *self,char *filename,mapObj *map){
2724 0 : msSaveImage(map, self, filename );
2725 : }
2726 0 : SWIGINTERN int imageObj_write(struct imageObj *self,FILE *file){
2727 : int retval=MS_FAILURE;
2728 : rendererVTableObj *renderer = NULL;
2729 :
2730 0 : if (MS_RENDERER_PLUGIN(self->format))
2731 : {
2732 0 : if (file)
2733 : {
2734 0 : renderer = self->format->vtable;
2735 : /* FIXME? as an improvement, pass a map argument instead of the NULL (see #4216) */
2736 0 : retval = renderer->saveImage(self, NULL, file, self->format);
2737 : }
2738 : else
2739 : {
2740 0 : retval = msSaveImage(NULL, self, NULL);
2741 : }
2742 : }
2743 : else
2744 : {
2745 0 : msSetError(15, "Writing of %s format not implemented",
2746 : "imageObj::write",
2747 : self->format->name);
2748 : }
2749 :
2750 0 : return retval;
2751 : }
2752 0 : SWIGINTERN gdBuffer imageObj_getBytes(struct imageObj *self){
2753 : gdBuffer buffer;
2754 :
2755 0 : buffer.owns_data = 1;
2756 :
2757 0 : buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
2758 :
2759 0 : if( buffer.data == NULL || buffer.size == 0 )
2760 : {
2761 0 : buffer.data = NULL;
2762 0 : msSetError(12, "Failed to get image buffer", "getBytes");
2763 0 : return buffer;
2764 : }
2765 :
2766 0 : return buffer;
2767 : }
2768 0 : SWIGINTERN int imageObj_getSize(struct imageObj *self){
2769 : gdBuffer buffer;
2770 : int size=0;
2771 :
2772 0 : buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
2773 0 : size = buffer.size;
2774 :
2775 0 : if( buffer.data == NULL || buffer.size == 0 ) {
2776 0 : buffer.data = NULL;
2777 0 : msSetError(12, "Failed to get image buffer size", "getSize");
2778 : }
2779 0 : free(buffer.data);
2780 0 : return size;
2781 : }
2782 1 : SWIGINTERN struct layerObj *new_layerObj(mapObj *map){
2783 : layerObj *layer;
2784 : int result;
2785 :
2786 1 : if (!map) {
2787 1 : layer = (layerObj *) malloc(sizeof(layerObj));
2788 1 : if (!layer) {
2789 0 : msSetError(2, "Failed to initialize Layer",
2790 : "layerObj()");
2791 0 : return NULL;
2792 : }
2793 1 : result = initLayer(layer, NULL);
2794 1 : if (result == MS_SUCCESS) {
2795 1 : layer->index = -1;
2796 1 : return layer;
2797 : }
2798 : else {
2799 0 : msSetError(2, "Failed to initialize Layer",
2800 : "layerObj()");
2801 0 : return NULL;
2802 : }
2803 : }
2804 : else {
2805 1 : if(msGrowMapLayers(map) == NULL)
2806 : return(NULL);
2807 :
2808 1 : if (initLayer((map->layers[map->numlayers]), map) == -1)
2809 : return(NULL);
2810 :
2811 1 : map->layers[map->numlayers]->index = map->numlayers;
2812 1 : map->layerorder[map->numlayers] = map->numlayers;
2813 1 : map->numlayers++;
2814 1 : MS_REFCNT_INCR(map->layers[map->numlayers-1]);
2815 :
2816 1 : return (map->layers[map->numlayers-1]);
2817 : }
2818 : }
2819 : SWIGINTERN void layerObj_setOpacity(struct layerObj *self,int opacity){
2820 0 : msSetLayerOpacity(self, opacity);
2821 : }
2822 : SWIGINTERN int layerObj_getOpacity(struct layerObj *self){
2823 0 : if(self->compositer) return (self->compositer->opacity);
2824 : return (100);
2825 : }
2826 1 : SWIGINTERN void delete_layerObj(struct layerObj *self){
2827 : /*if (!self->map) {*/
2828 1 : if (self) {
2829 1 : if(freeLayer(self)==MS_SUCCESS) {
2830 1 : free(self);
2831 : }
2832 : }
2833 1 : }
2834 0 : SWIGINTERN layerObj *layerObj_clone(struct layerObj *self){
2835 : layerObj *layer;
2836 : int result;
2837 :
2838 0 : layer = (layerObj *) malloc(sizeof(layerObj));
2839 0 : if (!layer) {
2840 0 : msSetError(2, "Failed to initialize Layer",
2841 : "layerObj()");
2842 0 : return NULL;
2843 : }
2844 0 : result = initLayer(layer, NULL);
2845 0 : if (result != MS_SUCCESS) {
2846 0 : msSetError(2, "Failed to initialize Layer",
2847 : "layerObj()");
2848 0 : return NULL;
2849 : }
2850 :
2851 0 : if (msCopyLayer(layer, self) != MS_SUCCESS) {
2852 0 : freeLayer(layer);
2853 0 : free(layer);
2854 : layer = NULL;
2855 : }
2856 0 : layer->map = NULL;
2857 0 : layer->index = -1;
2858 :
2859 0 : return layer;
2860 : }
2861 : SWIGINTERN int layerObj_updateFromString(struct layerObj *self,char *snippet){
2862 0 : return msUpdateLayerFromString(self, snippet, 0);
2863 : }
2864 : SWIGINTERN char *layerObj_convertToString(struct layerObj *self){
2865 0 : return msWriteLayerToString(self);
2866 : }
2867 : SWIGINTERN int layerObj_insertClass(struct layerObj *self,classObj *classobj,int index){
2868 1 : return msInsertClass(self, classobj, index);
2869 : }
2870 0 : SWIGINTERN classObj *layerObj_removeClass(struct layerObj *self,int index){
2871 0 : classObj* c = msRemoveClass(self, index);
2872 0 : if (c != NULL) {
2873 0 : MS_REFCNT_INCR(c);
2874 : }
2875 0 : return c;
2876 : }
2877 0 : SWIGINTERN int layerObj_open(struct layerObj *self){
2878 : int status;
2879 0 : status = msLayerOpen(self);
2880 0 : if (status == MS_SUCCESS) {
2881 0 : return msLayerGetItems(self);
2882 : }
2883 : return status;
2884 : }
2885 0 : SWIGINTERN int layerObj_whichShapes(struct layerObj *self,rectObj rect){
2886 0 : int oldconnectiontype = self->connectiontype;
2887 0 : self->connectiontype = MS_INLINE;
2888 :
2889 0 : if(msLayerWhichItems(self, 1, NULL) != MS_SUCCESS) {
2890 0 : self->connectiontype = oldconnectiontype;
2891 0 : return MS_FAILURE;
2892 : }
2893 0 : self->connectiontype = oldconnectiontype;
2894 :
2895 0 : return msLayerWhichShapes(self, rect, 0);
2896 : }
2897 0 : SWIGINTERN shapeObj *layerObj_nextShape(struct layerObj *self){
2898 : int status;
2899 : shapeObj *shape;
2900 :
2901 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
2902 0 : if (!shape) return NULL;
2903 0 : msInitShape(shape);
2904 :
2905 0 : status = msLayerNextShape(self, shape);
2906 0 : if(status != MS_SUCCESS) {
2907 0 : msFreeShape(shape);
2908 0 : free(shape);
2909 0 : return NULL;
2910 : } else
2911 : return shape;
2912 : }
2913 : SWIGINTERN void layerObj_close(struct layerObj *self){
2914 0 : msLayerClose(self);
2915 : }
2916 0 : SWIGINTERN shapeObj *layerObj_getShape(struct layerObj *self,resultObj *record){
2917 : int retval;
2918 : shapeObj *shape;
2919 :
2920 0 : if (!record) return NULL;
2921 :
2922 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
2923 0 : if (!shape) return NULL;
2924 :
2925 0 : msInitShape(shape);
2926 0 : shape->type = self->type; /* is this right? */
2927 :
2928 0 : retval = msLayerGetShape(self, shape, record);
2929 0 : if(retval != MS_SUCCESS) {
2930 0 : msFreeShape(shape);
2931 0 : free(shape);
2932 0 : return NULL;
2933 : } else
2934 : return shape;
2935 : }
2936 : SWIGINTERN int layerObj_getNumResults(struct layerObj *self){
2937 0 : if (!self->resultcache) return 0;
2938 0 : return self->resultcache->numresults;
2939 : }
2940 0 : SWIGINTERN rectObj *layerObj_getResultsBounds(struct layerObj *self){
2941 : rectObj *bounds;
2942 0 : if (!self->resultcache) return NULL;
2943 0 : bounds = (rectObj *) malloc(sizeof(rectObj));
2944 0 : MS_COPYRECT(bounds, &self->resultcache->bounds);
2945 : return bounds;
2946 : }
2947 : SWIGINTERN resultObj *layerObj_getResult(struct layerObj *self,int i){
2948 0 : if (!self->resultcache) return NULL;
2949 0 : if (i >= 0 && i < self->resultcache->numresults)
2950 0 : return &self->resultcache->results[i];
2951 : else
2952 : return NULL;
2953 : }
2954 1 : SWIGINTERN classObj *layerObj_getClass(struct layerObj *self,int i){
2955 : classObj *result=NULL;
2956 1 : if (i >= 0 && i < self->numclasses) {
2957 1 : result=self->class[i];
2958 1 : MS_REFCNT_INCR(result);
2959 : }
2960 1 : return result;
2961 : }
2962 : SWIGINTERN char *layerObj_getItem(struct layerObj *self,int i){
2963 :
2964 0 : if (i >= 0 && i < self->numitems)
2965 0 : return (char *) (self->items[i]);
2966 : else
2967 : return NULL;
2968 : }
2969 : SWIGINTERN int layerObj_setItems(struct layerObj *self,char **items,int numitems){
2970 0 : return msLayerSetItems(self, items, numitems);
2971 : }
2972 : SWIGINTERN int layerObj_draw(struct layerObj *self,mapObj *map,imageObj *image){
2973 0 : return msDrawLayer(map, self, image);
2974 : }
2975 : SWIGINTERN int layerObj_drawQuery(struct layerObj *self,mapObj *map,imageObj *image){
2976 0 : return msDrawQueryLayer(map, self, image);
2977 : }
2978 0 : SWIGINTERN int layerObj_queryByFilter(struct layerObj *self,mapObj *map,char *string){
2979 : int status;
2980 : int retval;
2981 :
2982 0 : msInitQuery(&(map->query));
2983 :
2984 0 : map->query.type = MS_QUERY_BY_FILTER;
2985 0 : map->query.mode = MS_QUERY_MULTIPLE;
2986 :
2987 0 : map->query.filter.string = msStrdup(string);
2988 0 : map->query.filter.type = MS_EXPRESSION;
2989 :
2990 0 : map->query.layer = self->index;
2991 0 : map->query.rect = map->extent;
2992 :
2993 0 : status = self->status;
2994 0 : self->status = 1;
2995 0 : retval = msQueryByFilter(map);
2996 0 : self->status = status;
2997 0 : return retval;
2998 : }
2999 0 : SWIGINTERN int layerObj_queryByAttributes(struct layerObj *self,mapObj *map,char *qitem,char *qstring,int mode){
3000 : int status;
3001 : int retval;
3002 :
3003 0 : msInitQuery(&(map->query));
3004 :
3005 0 : map->query.type = MS_QUERY_BY_FILTER;
3006 0 : map->query.mode = mode;
3007 :
3008 0 : if(qitem) map->query.filteritem = msStrdup(qitem);
3009 0 : if(qstring) {
3010 0 : msInitExpression(&map->query.filter);
3011 0 : msLoadExpressionString(&map->query.filter, qstring);
3012 : }
3013 :
3014 0 : map->query.layer = self->index;
3015 0 : map->query.rect = map->extent;
3016 :
3017 0 : status = self->status;
3018 0 : self->status = 1;
3019 0 : retval = msQueryByFilter(map);
3020 0 : self->status = status;
3021 :
3022 0 : return retval;
3023 : }
3024 0 : SWIGINTERN int layerObj_queryByPoint(struct layerObj *self,mapObj *map,pointObj *point,int mode,double buffer){
3025 : int status;
3026 : int retval;
3027 :
3028 0 : msInitQuery(&(map->query));
3029 :
3030 0 : map->query.type = MS_QUERY_BY_POINT;
3031 0 : map->query.mode = mode;
3032 0 : map->query.point = *point;
3033 0 : map->query.buffer = buffer;
3034 0 : map->query.layer = self->index;
3035 :
3036 0 : status = self->status;
3037 0 : self->status = 1;
3038 0 : retval = msQueryByPoint(map);
3039 0 : self->status = status;
3040 :
3041 0 : return retval;
3042 : }
3043 0 : SWIGINTERN int layerObj_queryByRect(struct layerObj *self,mapObj *map,rectObj rect){
3044 : int status;
3045 : int retval;
3046 :
3047 0 : msInitQuery(&(map->query));
3048 :
3049 0 : map->query.type = MS_QUERY_BY_RECT;
3050 0 : map->query.mode = MS_QUERY_MULTIPLE;
3051 0 : map->query.rect = rect;
3052 0 : map->query.layer = self->index;
3053 :
3054 0 : status = self->status;
3055 0 : self->status = 1;
3056 0 : retval = msQueryByRect(map);
3057 0 : self->status = status;
3058 :
3059 0 : return retval;
3060 : }
3061 : SWIGINTERN int layerObj_queryByFeatures(struct layerObj *self,mapObj *map,int slayer){
3062 : int status;
3063 : int retval;
3064 :
3065 0 : map->query.slayer = slayer;
3066 0 : map->query.layer = self->index;
3067 :
3068 0 : status = self->status;
3069 0 : self->status = 1;
3070 0 : retval = msQueryByFeatures(map);
3071 0 : self->status = status;
3072 : return retval;
3073 : }
3074 0 : SWIGINTERN int layerObj_queryByShape(struct layerObj *self,mapObj *map,shapeObj *shape){
3075 : int status;
3076 : int retval;
3077 :
3078 0 : msInitQuery(&(map->query));
3079 :
3080 0 : map->query.type = MS_QUERY_BY_SHAPE;
3081 0 : map->query.mode = MS_QUERY_MULTIPLE;
3082 0 : map->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
3083 0 : msInitShape(map->query.shape);
3084 0 : msCopyShape(shape, map->query.shape);
3085 0 : map->query.layer = self->index;
3086 :
3087 0 : status = self->status;
3088 0 : self->status = 1;
3089 0 : retval = msQueryByShape(map);
3090 0 : self->status = status;
3091 0 : return retval;
3092 : }
3093 : SWIGINTERN int layerObj_queryByIndex(struct layerObj *self,mapObj *map,int tileindex,int shapeindex,int bAddToQuery){
3094 : int status;
3095 : int retval;
3096 :
3097 0 : msInitQuery(&(map->query));
3098 :
3099 0 : map->query.type = MS_QUERY_BY_INDEX;
3100 0 : map->query.mode = MS_QUERY_SINGLE;
3101 0 : map->query.tileindex = tileindex;
3102 0 : map->query.shapeindex = shapeindex;
3103 0 : map->query.clear_resultcache = !bAddToQuery;
3104 0 : map->query.layer = self->index;
3105 :
3106 0 : status = self->status;
3107 0 : self->status = 1;
3108 0 : retval = msQueryByIndex(map);
3109 0 : self->status = status;
3110 : return retval;
3111 : }
3112 : SWIGINTERN resultCacheObj *layerObj_getResults(struct layerObj *self){
3113 : return self->resultcache;
3114 : }
3115 0 : SWIGINTERN int layerObj_setFilter(struct layerObj *self,char *filter){
3116 0 : if (!filter || strlen(filter) == 0) {
3117 0 : msFreeExpression(&self->filter);
3118 0 : return MS_SUCCESS;
3119 : }
3120 0 : else return msLoadExpressionString(&self->filter, filter);
3121 : }
3122 : SWIGINTERN char *layerObj_getFilterString(struct layerObj *self){
3123 0 : return msGetExpressionString(&(self->filter));
3124 : }
3125 : SWIGINTERN int layerObj_setWKTProjection(struct layerObj *self,char *wkt){
3126 0 : self->project = 1;
3127 0 : return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
3128 : }
3129 : SWIGINTERN char *layerObj_getProjection(struct layerObj *self){
3130 0 : return (char *) msGetProjectionString(&(self->projection));
3131 : }
3132 : SWIGINTERN int layerObj_setProjection(struct layerObj *self,char *proj4){
3133 0 : self->project = 1;
3134 0 : return msLoadProjectionString(&(self->projection), proj4);
3135 : }
3136 0 : SWIGINTERN int layerObj_addFeature(struct layerObj *self,shapeObj *shape){
3137 0 : self->connectiontype = MS_INLINE;
3138 0 : if(self->features != NULL && self->features->tailifhead != NULL)
3139 0 : shape->index = self->features->tailifhead->shape.index + 1;
3140 : else
3141 0 : shape->index = 0;
3142 0 : if (insertFeatureList(&(self->features), shape) == NULL)
3143 : return MS_FAILURE;
3144 0 : return MS_SUCCESS;
3145 : }
3146 : SWIGINTERN int layerObj_getNumFeatures(struct layerObj *self){
3147 0 : return msLayerGetNumFeatures(self);
3148 : }
3149 : SWIGINTERN rectObj *layerObj_getExtent(struct layerObj *self){
3150 : rectObj *extent;
3151 0 : extent = (rectObj *) malloc(sizeof(rectObj));
3152 0 : msLayerGetExtent(self, extent);
3153 : return extent;
3154 : }
3155 0 : SWIGINTERN int layerObj_setExtent(struct layerObj *self,double minx,double miny,double maxx,double maxy){
3156 0 : if (minx > maxx || miny > maxy) {
3157 0 : msSetError(34,
3158 : "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
3159 : "layerObj::setExtent()", minx, miny, maxx, maxy);
3160 0 : return MS_FAILURE;
3161 : }
3162 :
3163 0 : return msLayerSetExtent(self, minx, miny, maxx, maxy);
3164 : }
3165 0 : SWIGINTERN char *layerObj_getMetaData(struct layerObj *self,char *name){
3166 : char *value = NULL;
3167 0 : if (!name) {
3168 0 : msSetError(16, "NULL key", "getMetaData");
3169 : }
3170 :
3171 0 : value = (char *) msLookupHashTable(&(self->metadata), name);
3172 : /*
3173 : Umberto, 05/17/2006
3174 : Exceptions should be reserved for situations when a serious error occurred
3175 : and normal program flow must be interrupted.
3176 : In this case returning null should be more that enough.
3177 : */
3178 :
3179 0 : if (!value) {
3180 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
3181 0 : return NULL;
3182 : }
3183 :
3184 : return value;
3185 : }
3186 : SWIGINTERN int layerObj_setMetaData(struct layerObj *self,char *name,char *value){
3187 0 : if (msInsertHashTable(&(self->metadata), name, value) == NULL)
3188 : return MS_FAILURE;
3189 : return MS_SUCCESS;
3190 : }
3191 : SWIGINTERN int layerObj_removeMetaData(struct layerObj *self,char *name){
3192 0 : return(msRemoveHashTable(&(self->metadata), name));
3193 : }
3194 : SWIGINTERN char *layerObj_getFirstMetaDataKey(struct layerObj *self){
3195 0 : return (char *) msFirstKeyFromHashTable(&(self->metadata));
3196 : }
3197 : SWIGINTERN char *layerObj_getNextMetaDataKey(struct layerObj *self,char *lastkey){
3198 0 : return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
3199 : }
3200 : SWIGINTERN char *layerObj_getWMSFeatureInfoURL(struct layerObj *self,mapObj *map,int click_x,int click_y,int feature_count,char *info_format){
3201 0 : return (char *) msWMSGetFeatureInfoURL(map, self, click_x, click_y,
3202 : feature_count, info_format);
3203 : }
3204 : SWIGINTERN char *layerObj_executeWFSGetFeature(struct layerObj *self,layerObj *layer){
3205 0 : return (char *) msWFSExecuteGetFeature(layer);
3206 : }
3207 : SWIGINTERN int layerObj_applySLD(struct layerObj *self,char *sld,char *stylelayer){
3208 0 : return msSLDApplySLD(self->map, sld, self->index, stylelayer, NULL);
3209 : }
3210 : SWIGINTERN int layerObj_applySLDURL(struct layerObj *self,char *sld,char *stylelayer){
3211 0 : return msSLDApplySLDURL(self->map, sld, self->index, stylelayer, NULL);
3212 : }
3213 : SWIGINTERN char *layerObj_generateSLD(struct layerObj *self){
3214 0 : return (char *) msSLDGenerateSLD(self->map, self->index, NULL);
3215 : }
3216 0 : SWIGINTERN int layerObj_isVisible(struct layerObj *self){
3217 0 : if (!self->map)
3218 : {
3219 0 : msSetError(12,
3220 : "visibility has no meaning outside of a map context",
3221 : "isVisible()");
3222 0 : return MS_FAILURE;
3223 : }
3224 0 : return msLayerIsVisible(self->map, self);
3225 : }
3226 : SWIGINTERN int layerObj_moveClassUp(struct layerObj *self,int index){
3227 0 : return msMoveClassUp(self, index);
3228 : }
3229 : SWIGINTERN int layerObj_moveClassDown(struct layerObj *self,int index){
3230 0 : return msMoveClassDown(self, index);
3231 : }
3232 : SWIGINTERN void layerObj_setProcessingKey(struct layerObj *self,char const *key,char const *value){
3233 0 : msLayerSetProcessingKey( self, key, value );
3234 : }
3235 : SWIGINTERN void layerObj_setProcessing(struct layerObj *self,char const *directive){
3236 0 : msLayerAddProcessing( self, directive );
3237 : }
3238 : SWIGINTERN void layerObj_addProcessing(struct layerObj *self,char const *directive){
3239 0 : msLayerAddProcessing( self, directive );
3240 : }
3241 : SWIGINTERN char *layerObj_getProcessing(struct layerObj *self,int index){
3242 0 : return (char *) msLayerGetProcessing(self, index);
3243 : }
3244 : SWIGINTERN char *layerObj_getProcessingKey(struct layerObj *self,char const *key){
3245 0 : return (char *) msLayerGetProcessingKey(self, key);
3246 : }
3247 : SWIGINTERN int layerObj_clearProcessing(struct layerObj *self){
3248 0 : return msLayerClearProcessing(self);
3249 : }
3250 0 : SWIGINTERN int layerObj_setConnectionType(struct layerObj *self,int connectiontype,char const *library_str){
3251 : /* Caller is responsible to close previous layer correctly before
3252 : * calling msConnectLayer()
3253 : */
3254 0 : if (msLayerIsOpen(self))
3255 0 : msLayerClose(self);
3256 0 : return msConnectLayer(self, connectiontype, library_str);
3257 : }
3258 : SWIGINTERN int layerObj_getClassIndex(struct layerObj *self,mapObj *map,shapeObj *shape,int *classgroup,int numclasses){
3259 0 : return msShapeGetClass(self, map, shape, classgroup, numclasses);
3260 : }
3261 : SWIGINTERN char *layerObj_getGeomTransform(struct layerObj *self){
3262 : return self->_geomtransform.string;
3263 : }
3264 0 : SWIGINTERN void layerObj_setGeomTransform(struct layerObj *self,char *transform){
3265 0 : msFree(self->_geomtransform.string);
3266 0 : if (!transform || strlen(transform) > 0) {
3267 0 : self->_geomtransform.string = msStrdup(transform);
3268 0 : self->_geomtransform.type = MS_GEOMTRANSFORM_EXPRESSION;
3269 : }
3270 : else {
3271 0 : self->_geomtransform.type = MS_GEOMTRANSFORM_NONE;
3272 0 : self->_geomtransform.string = NULL;
3273 : }
3274 0 : }
3275 0 : SWIGINTERN char *layerObj_getItemType(struct layerObj *self,int i){
3276 :
3277 : char *itemType = NULL;
3278 :
3279 0 : if (i >= 0 && i < self->numitems) {
3280 : gmlItemListObj *item_list;
3281 0 : item_list = msGMLGetItems(self, "G");
3282 0 : if (item_list != NULL) {
3283 0 : gmlItemObj *item = item_list->items + i;
3284 0 : itemType = msStrdup(item->type);
3285 0 : msGMLFreeItems(item_list); // destroy the original list
3286 : }
3287 : }
3288 :
3289 0 : return itemType;
3290 :
3291 : }
3292 1 : SWIGINTERN struct mapObj *new_mapObj(char *filename){
3293 1 : if (filename && strlen(filename))
3294 1 : return msLoadMap(filename, NULL);
3295 : else { /* create an empty map, no layers etc... */
3296 0 : return msNewMapObj();
3297 : }
3298 : }
3299 : SWIGINTERN void delete_mapObj(struct mapObj *self){
3300 1 : msFreeMap(self);
3301 : }
3302 0 : SWIGINTERN mapObj *mapObj_clone(struct mapObj *self){
3303 : mapObj *dstMap;
3304 0 : dstMap = msNewMapObj();
3305 0 : if (msCopyMap(dstMap, self) != MS_SUCCESS) {
3306 0 : msFreeMap(dstMap);
3307 : dstMap = NULL;
3308 : }
3309 0 : return dstMap;
3310 : }
3311 : SWIGINTERN int mapObj_insertLayer(struct mapObj *self,layerObj *layer,int index){
3312 1 : return msInsertLayer(self, layer, index);
3313 : }
3314 : SWIGINTERN layerObj *mapObj_removeLayer(struct mapObj *self,int index){
3315 0 : layerObj *layer=msRemoveLayer(self, index);
3316 0 : MS_REFCNT_INCR(layer);
3317 : return layer;
3318 : }
3319 : SWIGINTERN int mapObj_setExtent(struct mapObj *self,double minx,double miny,double maxx,double maxy){
3320 0 : return msMapSetExtent( self, minx, miny, maxx, maxy );
3321 : }
3322 : SWIGINTERN int mapObj_offsetExtent(struct mapObj *self,double x,double y){
3323 0 : return msMapOffsetExtent( self, x, y );
3324 : }
3325 : SWIGINTERN int mapObj_scaleExtent(struct mapObj *self,double zoomfactor,double minscaledenom,double maxscaledenom){
3326 0 : return msMapScaleExtent( self, zoomfactor, minscaledenom, maxscaledenom );
3327 : }
3328 : SWIGINTERN int mapObj_setCenter(struct mapObj *self,pointObj *center){
3329 0 : return msMapSetCenter( self, center );
3330 : }
3331 : SWIGINTERN int mapObj_setSize(struct mapObj *self,int width,int height){
3332 0 : return msMapSetSize(self, width, height);
3333 : }
3334 : SWIGINTERN int mapObj_setRotation(struct mapObj *self,double rotation_angle){
3335 0 : return msMapSetRotation( self, rotation_angle );
3336 : }
3337 1 : SWIGINTERN layerObj *mapObj_getLayer(struct mapObj *self,int i){
3338 1 : if(i >= 0 && i < self->numlayers) {
3339 1 : MS_REFCNT_INCR(self->layers[i]);
3340 1 : return (self->layers[i]); /* returns an EXISTING layer */
3341 : } else {
3342 : return NULL;
3343 : }
3344 : }
3345 1 : SWIGINTERN layerObj *mapObj_getLayerByName(struct mapObj *self,char *name){
3346 : int i;
3347 :
3348 1 : i = msGetLayerIndex(self, name);
3349 :
3350 1 : if(i != -1) {
3351 1 : MS_REFCNT_INCR(self->layers[i]);
3352 1 : return (self->layers[i]); /* returns an EXISTING layer */
3353 : }
3354 : else
3355 : return NULL;
3356 : }
3357 : SWIGINTERN int mapObj_getSymbolByName(struct mapObj *self,char *name){
3358 0 : return msGetSymbolIndex(&self->symbolset, name, 1);
3359 : }
3360 0 : SWIGINTERN void mapObj_prepareQuery(struct mapObj *self){
3361 : int status;
3362 :
3363 0 : status = msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &self->scaledenom);
3364 0 : if(status != MS_SUCCESS) self->scaledenom = -1;
3365 0 : }
3366 : SWIGINTERN imageObj *mapObj_prepareImage(struct mapObj *self){
3367 0 : return msPrepareImage(self, 0);
3368 : }
3369 0 : SWIGINTERN void mapObj_setImageType(struct mapObj *self,char *imagetype){
3370 : outputFormatObj *format;
3371 :
3372 0 : format = msSelectOutputFormat( self, imagetype );
3373 0 : if( format == NULL )
3374 0 : msSetError(12, "Unable to find IMAGETYPE '%s'.",
3375 : "setImageType()", imagetype );
3376 : else
3377 : {
3378 0 : msFree( self->imagetype );
3379 0 : self->imagetype = msStrdup(imagetype);
3380 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3381 : -1111, -1111 );
3382 : }
3383 0 : }
3384 0 : SWIGINTERN void mapObj_selectOutputFormat(struct mapObj *self,char *imagetype){
3385 : outputFormatObj *format;
3386 :
3387 0 : format = msSelectOutputFormat( self, imagetype );
3388 0 : if ( format == NULL )
3389 0 : msSetError(12, "Unable to find IMAGETYPE '%s'.",
3390 : "setImageType()", imagetype );
3391 : else
3392 : {
3393 0 : msFree( self->imagetype );
3394 0 : self->imagetype = msStrdup(imagetype);
3395 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3396 : -1111, -1111 );
3397 : }
3398 0 : }
3399 0 : SWIGINTERN outputFormatObj *mapObj_getOutputFormat(struct mapObj *self,int i){
3400 0 : if(i >= 0 && i < self->numoutputformats) {
3401 0 : MS_REFCNT_INCR(self->outputformatlist[i]);
3402 0 : return (self->outputformatlist[i]);
3403 : } else {
3404 : return NULL;
3405 : }
3406 : }
3407 : SWIGINTERN void mapObj_setOutputFormat(struct mapObj *self,outputFormatObj *format){
3408 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3409 : -1111, -1111 );
3410 : }
3411 : SWIGINTERN imageObj *mapObj_draw(struct mapObj *self){
3412 :
3413 :
3414 :
3415 :
3416 :
3417 :
3418 :
3419 :
3420 0 : return msDrawMap(self, 0);
3421 :
3422 : }
3423 : SWIGINTERN imageObj *mapObj_drawQuery(struct mapObj *self){
3424 0 : return msDrawMap(self, 1);
3425 : }
3426 : SWIGINTERN imageObj *mapObj_drawLegend(struct mapObj *self){
3427 0 : return msDrawLegend(self, 0, NULL);
3428 : }
3429 : SWIGINTERN imageObj *mapObj_drawScalebar(struct mapObj *self){
3430 0 : return msDrawScalebar(self);
3431 : }
3432 : SWIGINTERN imageObj *mapObj_drawReferenceMap(struct mapObj *self){
3433 0 : return msDrawReferenceMap(self);
3434 : }
3435 : SWIGINTERN int mapObj_embedScalebar(struct mapObj *self,imageObj *image){
3436 0 : return msEmbedScalebar(self, image);
3437 : }
3438 : SWIGINTERN int mapObj_embedLegend(struct mapObj *self,imageObj *image){
3439 0 : return msEmbedLegend(self, image);
3440 : }
3441 : SWIGINTERN int mapObj_drawLabelCache(struct mapObj *self,imageObj *image){
3442 0 : return msDrawLabelCache(self,image);
3443 : }
3444 0 : SWIGINTERN int mapObj_queryByFilter(struct mapObj *self,char *string){
3445 0 : msInitQuery(&(self->query));
3446 :
3447 0 : self->query.type = MS_QUERY_BY_FILTER;
3448 0 : self->query.mode = MS_QUERY_MULTIPLE;
3449 :
3450 0 : self->query.filter.string = msStrdup(string);
3451 0 : self->query.filter.type = MS_EXPRESSION;
3452 :
3453 0 : self->query.rect = self->extent;
3454 :
3455 0 : return msQueryByFilter(self);
3456 : }
3457 0 : SWIGINTERN int mapObj_queryByPoint(struct mapObj *self,pointObj *point,int mode,double buffer){
3458 0 : msInitQuery(&(self->query));
3459 :
3460 0 : self->query.type = MS_QUERY_BY_POINT;
3461 0 : self->query.mode = mode;
3462 0 : self->query.point = *point;
3463 0 : self->query.buffer = buffer;
3464 :
3465 0 : return msQueryByPoint(self);
3466 : }
3467 : SWIGINTERN int mapObj_queryByRect(struct mapObj *self,rectObj rect){
3468 0 : msInitQuery(&(self->query));
3469 :
3470 0 : self->query.type = MS_QUERY_BY_RECT;
3471 0 : self->query.mode = MS_QUERY_MULTIPLE;
3472 0 : self->query.rect = rect;
3473 :
3474 0 : return msQueryByRect(self);
3475 : }
3476 : SWIGINTERN int mapObj_queryByFeatures(struct mapObj *self,int slayer){
3477 0 : self->query.slayer = slayer;
3478 0 : return msQueryByFeatures(self);
3479 : }
3480 0 : SWIGINTERN int mapObj_queryByShape(struct mapObj *self,shapeObj *shape){
3481 0 : msInitQuery(&(self->query));
3482 :
3483 0 : self->query.type = MS_QUERY_BY_SHAPE;
3484 0 : self->query.mode = MS_QUERY_MULTIPLE;
3485 0 : self->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
3486 0 : msInitShape(self->query.shape);
3487 0 : msCopyShape(shape, self->query.shape);
3488 :
3489 0 : return msQueryByShape(self);
3490 : }
3491 : SWIGINTERN int mapObj_setWKTProjection(struct mapObj *self,char *wkt){
3492 0 : return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
3493 : }
3494 : SWIGINTERN char *mapObj_getProjection(struct mapObj *self){
3495 0 : return msGetProjectionString(&(self->projection));
3496 : }
3497 : SWIGINTERN int mapObj_setProjection(struct mapObj *self,char *proj4){
3498 0 : return msLoadProjectionString(&(self->projection), proj4);
3499 : }
3500 : SWIGINTERN int mapObj_save(struct mapObj *self,char *filename){
3501 0 : return msSaveMap(self, filename);
3502 : }
3503 : SWIGINTERN int mapObj_saveQuery(struct mapObj *self,char *filename,int results){
3504 0 : return msSaveQuery(self, filename, results);
3505 : }
3506 : SWIGINTERN int mapObj_loadQuery(struct mapObj *self,char *filename){
3507 0 : return msLoadQuery(self, filename);
3508 : }
3509 : SWIGINTERN void mapObj_freeQuery(struct mapObj *self,int qlayer){
3510 0 : msQueryFree(self, qlayer);
3511 : }
3512 : SWIGINTERN int mapObj_saveQueryAsGML(struct mapObj *self,char *filename,char const *ns){
3513 0 : return msGMLWriteQuery(self, filename, ns);
3514 : }
3515 0 : SWIGINTERN char *mapObj_getMetaData(struct mapObj *self,char *name){
3516 : char *value = NULL;
3517 0 : if (!name) {
3518 0 : msSetError(16, "NULL key", "getMetaData");
3519 : }
3520 :
3521 0 : value = (char *) msLookupHashTable(&(self->web.metadata), name);
3522 0 : if (!value) {
3523 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
3524 0 : return NULL;
3525 : }
3526 : return value;
3527 : }
3528 : SWIGINTERN int mapObj_setMetaData(struct mapObj *self,char *name,char *value){
3529 0 : if (msInsertHashTable(&(self->web.metadata), name, value) == NULL)
3530 : return MS_FAILURE;
3531 : return MS_SUCCESS;
3532 : }
3533 : SWIGINTERN int mapObj_removeMetaData(struct mapObj *self,char *name){
3534 0 : return(msRemoveHashTable(&(self->web.metadata), name));
3535 : }
3536 : SWIGINTERN char *mapObj_getFirstMetaDataKey(struct mapObj *self){
3537 0 : return (char *) msFirstKeyFromHashTable(&(self->web.metadata));
3538 : }
3539 : SWIGINTERN char *mapObj_getNextMetaDataKey(struct mapObj *self,char *lastkey){
3540 0 : return (char *) msNextKeyFromHashTable(&(self->web.metadata), lastkey);
3541 : }
3542 0 : SWIGINTERN int mapObj_setSymbolSet(struct mapObj *self,char *szFileName){
3543 0 : msFreeSymbolSet(&self->symbolset);
3544 0 : msInitSymbolSet(&self->symbolset);
3545 :
3546 0 : self->symbolset.filename = msStrdup(szFileName);
3547 :
3548 : /* Symbolset shares same fontset as main mapfile */
3549 0 : self->symbolset.fontset = &(self->fontset);
3550 :
3551 0 : return msLoadSymbolSet(&self->symbolset, self);
3552 : }
3553 : SWIGINTERN int mapObj_getNumSymbols(struct mapObj *self){
3554 : return self->symbolset.numsymbols;
3555 : }
3556 0 : SWIGINTERN int mapObj_setFontSet(struct mapObj *self,char *filename){
3557 0 : msFreeFontSet(&(self->fontset));
3558 0 : msInitFontSet(&(self->fontset));
3559 :
3560 0 : self->fontset.filename = msStrdup(filename);
3561 :
3562 0 : return msLoadFontSet(&(self->fontset), self);
3563 : }
3564 : SWIGINTERN int mapObj_saveMapContext(struct mapObj *self,char *szFileName){
3565 0 : return msSaveMapContext(self, szFileName);
3566 : }
3567 : SWIGINTERN int mapObj_loadMapContext(struct mapObj *self,char *szFileName,int useUniqueNames){
3568 0 : return msLoadMapContext(self, szFileName, useUniqueNames);
3569 : }
3570 : SWIGINTERN int mapObj_moveLayerUp(struct mapObj *self,int layerindex){
3571 0 : return msMoveLayerUp(self, layerindex);
3572 : }
3573 : SWIGINTERN int mapObj_moveLayerDown(struct mapObj *self,int layerindex){
3574 0 : return msMoveLayerDown(self, layerindex);
3575 : }
3576 0 : SWIGINTERN intarray *mapObj_getLayersDrawingOrder(struct mapObj *self){
3577 : int i;
3578 : intarray *order;
3579 0 : order = new_intarray(self->numlayers);
3580 0 : for (i=0; i<self->numlayers; i++)
3581 :
3582 :
3583 :
3584 0 : intarray_setitem(order, i, self->layerorder[i]);
3585 :
3586 0 : return order;
3587 : }
3588 : SWIGINTERN int mapObj_setLayersDrawingOrder(struct mapObj *self,int *panIndexes){
3589 0 : return msSetLayersdrawingOrder(self, panIndexes);
3590 : }
3591 : SWIGINTERN void mapObj_setConfigOption(struct mapObj *self,char *key,char *value){
3592 0 : msSetConfigOption(self,key,value);
3593 : }
3594 : SWIGINTERN char *mapObj_getConfigOption(struct mapObj *self,char *key){
3595 0 : return (char *) msGetConfigOption(self,key);
3596 : }
3597 : SWIGINTERN void mapObj_applyConfigOptions(struct mapObj *self){
3598 0 : msApplyMapConfigOptions( self );
3599 : }
3600 : SWIGINTERN int mapObj_applySLD(struct mapObj *self,char *sld){
3601 0 : return msSLDApplySLD(self, sld, -1, NULL, NULL);
3602 : }
3603 : SWIGINTERN int mapObj_applySLDURL(struct mapObj *self,char *sld){
3604 0 : return msSLDApplySLDURL(self, sld, -1, NULL, NULL);
3605 : }
3606 : SWIGINTERN char *mapObj_generateSLD(struct mapObj *self,char *sldVersion){
3607 0 : return (char *) msSLDGenerateSLD(self, -1, sldVersion);
3608 : }
3609 : SWIGINTERN char *mapObj_processTemplate(struct mapObj *self,int bGenerateImages,char **names,char **values,int numentries){
3610 0 : return msProcessTemplate(self, bGenerateImages, names, values,
3611 : numentries);
3612 : }
3613 : SWIGINTERN char *mapObj_processLegendTemplate(struct mapObj *self,char **names,char **values,int numentries){
3614 0 : return msProcessLegendTemplate(self, names, values, numentries);
3615 : }
3616 : SWIGINTERN char *mapObj_processQueryTemplate(struct mapObj *self,char **names,char **values,int numentries){
3617 0 : return msProcessQueryTemplate(self, 1, names, values, numentries);
3618 : }
3619 : SWIGINTERN outputFormatObj *mapObj_getOutputFormatByName(struct mapObj *self,char *name){
3620 0 : return msSelectOutputFormat(self, name);
3621 : }
3622 : SWIGINTERN int mapObj_appendOutputFormat(struct mapObj *self,outputFormatObj *format){
3623 0 : return msAppendOutputFormat(self, format);
3624 : }
3625 : SWIGINTERN int mapObj_removeOutputFormat(struct mapObj *self,char *name){
3626 0 : return msRemoveOutputFormat(self, name);
3627 : }
3628 : SWIGINTERN int mapObj_loadOWSParameters(struct mapObj *self,cgiRequestObj *request,char *wmtver_string){
3629 0 : return msMapLoadOWSParameters(self, request, wmtver_string);
3630 : }
3631 : SWIGINTERN int mapObj_OWSDispatch(struct mapObj *self,cgiRequestObj *req){
3632 1 : return msOWSDispatch( self, req, 1 );
3633 : }
3634 : SWIGINTERN char *mapObj_convertToString(struct mapObj *self){
3635 0 : return msWriteMapToString(self);
3636 : }
3637 : SWIGINTERN void mapObj_applyDefaultSubstitutions(struct mapObj *self){
3638 0 : msApplyDefaultSubstitutions(self);
3639 : }
3640 : SWIGINTERN void mapObj_applySubstitutions(struct mapObj *self,char **names,char **values,int npairs){
3641 0 : msApplySubstitutions(self, names, values, npairs);
3642 : }
3643 0 : SWIGINTERN int mapObj_zoomPoint(struct mapObj *self,int zoomfactor,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3644 : double dfGeoPosX, dfGeoPosY;
3645 : double dfDeltaX, dfDeltaY;
3646 : rectObj oNewGeorefExt;
3647 : double dfNewScale;
3648 : int bMaxExtSet;
3649 : double dfDeltaExt;
3650 : double dX, dY;
3651 :
3652 0 : dfNewScale = 0.0;
3653 : bMaxExtSet = 0;
3654 : dfDeltaExt = -1.0;
3655 :
3656 0 : if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
3657 :
3658 : /* ----------------------------------------------------------- */
3659 : /* check the validity of the parameters. */
3660 : /* ----------------------------------------------------------- */
3661 0 : if (zoomfactor == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL) {
3662 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomPoint()");
3663 0 : return MS_FAILURE;
3664 : }
3665 :
3666 : /* ----------------------------------------------------------- */
3667 : /* check if the values passed are consistent min > max. */
3668 : /* ----------------------------------------------------------- */
3669 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
3670 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
3671 0 : return MS_FAILURE;
3672 : }
3673 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
3674 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
3675 0 : return MS_FAILURE;
3676 : }
3677 :
3678 0 : if (bMaxExtSet == 1) {
3679 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
3680 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
3681 0 : return MS_FAILURE;
3682 : }
3683 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
3684 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
3685 : }
3686 : }
3687 :
3688 0 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
3689 0 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
3690 0 : dX = dfDeltaX/((double)width);
3691 0 : dY = dfDeltaY/((double)height);
3692 0 : dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
3693 0 : dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
3694 :
3695 : /* --- -------------------------------------------------------- */
3696 : /* zoom in */
3697 : /* ------------------------------------------------------------ */
3698 0 : if (zoomfactor > 1) {
3699 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/(2*zoomfactor));
3700 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/(2*zoomfactor));
3701 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/(2*zoomfactor));
3702 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/(2*zoomfactor));
3703 : }
3704 :
3705 0 : if (zoomfactor < 0) {
3706 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2)*(abs(zoomfactor));
3707 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2)*(abs(zoomfactor));
3708 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2)*(abs(zoomfactor));
3709 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2)*(abs(zoomfactor));
3710 : }
3711 :
3712 0 : if (zoomfactor == 1) {
3713 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2);
3714 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2);
3715 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2);
3716 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2);
3717 : }
3718 :
3719 : /* ------------------------------------------------------------ */
3720 : /* if the min and max scale are set in the map file, we will */
3721 : /* use them to test before zooming. */
3722 : /* ------------------------------------------------------------ */
3723 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
3724 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
3725 :
3726 0 : if (self->web.maxscaledenom > 0) {
3727 0 : if (zoomfactor < 0 && dfNewScale > self->web.maxscaledenom) {
3728 : return MS_FAILURE;
3729 : }
3730 : }
3731 :
3732 : /* ============================================================ */
3733 : /* we do a spcial case for zoom in : we try to zoom as much as */
3734 : /* possible using the mincale set in the .map. */
3735 : /* ============================================================ */
3736 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && zoomfactor > 1) {
3737 : /* To be consistent in swig mapscript and PHP mapscript,
3738 : use the same function to calculate the delta extents. */
3739 0 : dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfGeoPosY,
3740 : self->width, self->resolution);
3741 :
3742 0 : if (dfDeltaExt > 0.0) {
3743 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
3744 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
3745 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
3746 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
3747 : } else
3748 : return MS_FAILURE;
3749 : }
3750 :
3751 : /* ------------------------------------------------------------ */
3752 : /* If the buffer is set, make sure that the extents do not go */
3753 : /* beyond the buffer. */
3754 : /* ------------------------------------------------------------ */
3755 0 : if (bMaxExtSet) {
3756 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
3757 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
3758 :
3759 : /* Make sure Current georef extents is not bigger than
3760 : * max extents */
3761 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
3762 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
3763 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
3764 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
3765 :
3766 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
3767 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
3768 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
3769 : }
3770 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
3771 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
3772 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3773 : }
3774 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
3775 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
3776 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
3777 : }
3778 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
3779 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
3780 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3781 : }
3782 : }
3783 :
3784 : /* ------------------------------------------------------------ */
3785 : /* set the map extents with new values. */
3786 : /* ------------------------------------------------------------ */
3787 0 : self->extent.minx = oNewGeorefExt.minx;
3788 0 : self->extent.miny = oNewGeorefExt.miny;
3789 0 : self->extent.maxx = oNewGeorefExt.maxx;
3790 0 : self->extent.maxy = oNewGeorefExt.maxy;
3791 :
3792 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
3793 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
3794 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
3795 :
3796 0 : if (bMaxExtSet) {
3797 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
3798 0 : self->extent.minx = poMaxGeorefExt->minx;
3799 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
3800 : }
3801 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
3802 0 : self->extent.maxx = poMaxGeorefExt->maxx;
3803 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3804 : }
3805 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
3806 0 : self->extent.miny = poMaxGeorefExt->miny;
3807 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
3808 : }
3809 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
3810 0 : self->extent.maxy = poMaxGeorefExt->maxy;
3811 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3812 : }
3813 : }
3814 :
3815 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
3816 :
3817 0 : return MS_SUCCESS;
3818 : }
3819 0 : SWIGINTERN int mapObj_zoomRectangle(struct mapObj *self,rectObj *poPixRect,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3820 : double dfDeltaX, dfDeltaY;
3821 : rectObj oNewGeorefExt;
3822 : double dfNewScale;
3823 : double dfDeltaExt;
3824 : double dfMiddleX, dfMiddleY;
3825 : int bMaxExtSet;
3826 :
3827 : bMaxExtSet = 0;
3828 0 : dfNewScale = 0.0;
3829 : dfDeltaExt = -1.0;
3830 :
3831 0 : if (poMaxGeorefExt != NULL) bMaxExtSet = 1;
3832 :
3833 : /* ----------------------------------------------------------- */
3834 : /* check the validity of the parameters. */
3835 : /* ----------------------------------------------------------- */
3836 0 : if (poPixRect == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL) {
3837 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomRectangle");
3838 0 : return MS_FAILURE;
3839 : }
3840 :
3841 : /* ----------------------------------------------------------- */
3842 : /* check if the values passed are consistent min <= max. */
3843 : /* ----------------------------------------------------------- */
3844 0 : if (poPixRect->minx >= poPixRect->maxx) {
3845 0 : msSetError(12, "image rectangle minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3846 0 : return MS_FAILURE;
3847 : }
3848 : /* This is not a typo: "maxx >= minx". For historical reason, we
3849 : * keep this as it is. See documentation for more info about this check. */
3850 0 : if (poPixRect->maxy >= poPixRect->miny) {
3851 0 : msSetError(12, "image rectangle maxy >= miny", "mapscript::mapObj::zoomRectangle()");
3852 0 : return MS_FAILURE;
3853 : }
3854 :
3855 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
3856 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3857 0 : return MS_FAILURE;
3858 : }
3859 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
3860 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
3861 0 : return MS_FAILURE;
3862 : }
3863 :
3864 0 : if (bMaxExtSet == 1) {
3865 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
3866 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3867 0 : return MS_FAILURE;
3868 : }
3869 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
3870 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
3871 0 : return MS_FAILURE;
3872 : }
3873 : }
3874 :
3875 :
3876 : /* ----------------------------------------------------------- */
3877 : /* Convert pixel rectangle to georeferenced rectangle */
3878 : /* ----------------------------------------------------------- */
3879 :
3880 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
3881 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
3882 :
3883 0 : oNewGeorefExt.minx = Pix2Georef((int)poPixRect->minx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0);
3884 0 : oNewGeorefExt.maxx = Pix2Georef((int)poPixRect->maxx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0);
3885 0 : oNewGeorefExt.miny = Pix2Georef((int)poPixRect->miny, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1);
3886 0 : oNewGeorefExt.maxy = Pix2Georef((int)poPixRect->maxy, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1);
3887 :
3888 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
3889 :
3890 : /* ------------------------------------------------------------ */
3891 : /* if the min and max scale are set in the map file, we will */
3892 : /* use them to test before setting extents. */
3893 : /* ------------------------------------------------------------ */
3894 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
3895 :
3896 0 : if (self->web.maxscaledenom > 0 && dfNewScale > self->web.maxscaledenom)
3897 : return MS_FAILURE;
3898 :
3899 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom) {
3900 0 : dfMiddleX = oNewGeorefExt.minx + ((oNewGeorefExt.maxx - oNewGeorefExt.minx)/2);
3901 0 : dfMiddleY = oNewGeorefExt.miny + ((oNewGeorefExt.maxy - oNewGeorefExt.miny)/2);
3902 :
3903 : /* To be consistent in swig mapscript and PHP mapscript,
3904 : use the same function to calculate the delta extents. */
3905 0 : dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfMiddleY, self->width, self->resolution);
3906 :
3907 0 : if (dfDeltaExt > 0.0) {
3908 0 : oNewGeorefExt.minx = dfMiddleX - (dfDeltaExt/2);
3909 0 : oNewGeorefExt.miny = dfMiddleY - (dfDeltaExt/2);
3910 0 : oNewGeorefExt.maxx = dfMiddleX + (dfDeltaExt/2);
3911 0 : oNewGeorefExt.maxy = dfMiddleY + (dfDeltaExt/2);
3912 : } else
3913 : return MS_FAILURE;
3914 : }
3915 :
3916 : /* ------------------------------------------------------------ */
3917 : /* If the buffer is set, make sure that the extents do not go */
3918 : /* beyond the buffer. */
3919 : /* ------------------------------------------------------------ */
3920 0 : if (bMaxExtSet) {
3921 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
3922 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
3923 :
3924 : /* Make sure Current georef extents is not bigger
3925 : * than max extents */
3926 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
3927 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
3928 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
3929 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
3930 :
3931 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
3932 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
3933 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
3934 : }
3935 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
3936 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
3937 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3938 : }
3939 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
3940 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
3941 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
3942 : }
3943 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
3944 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
3945 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3946 : }
3947 : }
3948 :
3949 0 : self->extent.minx = oNewGeorefExt.minx;
3950 0 : self->extent.miny = oNewGeorefExt.miny;
3951 0 : self->extent.maxx = oNewGeorefExt.maxx;
3952 0 : self->extent.maxy = oNewGeorefExt.maxy;
3953 :
3954 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
3955 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
3956 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
3957 :
3958 0 : if (bMaxExtSet) {
3959 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
3960 0 : self->extent.minx = poMaxGeorefExt->minx;
3961 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
3962 : }
3963 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
3964 0 : self->extent.maxx = poMaxGeorefExt->maxx;
3965 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3966 : }
3967 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
3968 0 : self->extent.miny = poMaxGeorefExt->miny;
3969 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
3970 : }
3971 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
3972 0 : self->extent.maxy = poMaxGeorefExt->maxy;
3973 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3974 : }
3975 : }
3976 :
3977 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
3978 :
3979 0 : return MS_SUCCESS;
3980 : }
3981 0 : SWIGINTERN int mapObj_zoomScale(struct mapObj *self,double scale,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3982 : double dfGeoPosX, dfGeoPosY;
3983 : double dfDeltaX, dfDeltaY;
3984 : rectObj oNewGeorefExt;
3985 : double dfNewScale, dfCurrentScale;
3986 : int bMaxExtSet;
3987 : int nTmp;
3988 : double dfDeltaExt;
3989 : double dX, dY;
3990 :
3991 0 : dfNewScale = 0.0;
3992 0 : dfCurrentScale = 0.0;
3993 : nTmp = 0;
3994 : bMaxExtSet = 0;
3995 : dfDeltaExt = -1.0;
3996 :
3997 0 : if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
3998 :
3999 : /* ----------------------------------------------------------- */
4000 : /* check the validity of the parameters. */
4001 : /* ----------------------------------------------------------- */
4002 0 : if (scale <= 0.0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL ) {
4003 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomScale");
4004 0 : return MS_FAILURE;
4005 : }
4006 :
4007 : /* ----------------------------------------------------------- */
4008 : /* check if the values passed are consistent min > max. */
4009 : /* ----------------------------------------------------------- */
4010 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
4011 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
4012 0 : return MS_FAILURE;
4013 : }
4014 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
4015 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
4016 0 : return MS_FAILURE;
4017 : }
4018 :
4019 0 : if (bMaxExtSet == 1) {
4020 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
4021 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
4022 0 : return MS_FAILURE;
4023 : }
4024 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
4025 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
4026 : }
4027 : }
4028 :
4029 0 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
4030 0 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
4031 0 : dX = dfDeltaX/((double)width);
4032 0 : dY = dfDeltaY/((double)height);
4033 0 : dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
4034 0 : dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
4035 :
4036 : /* ------------------------------------------------------------ */
4037 : /* Calculate new extents based on the scale. */
4038 : /* ------------------------------------------------------------ */
4039 :
4040 : /* ============================================================ */
4041 : /* make sure to take the smallest size because this is the one */
4042 : /* that will be used to ajust the scale. */
4043 : /* ============================================================ */
4044 :
4045 0 : if (self->width < self->height)
4046 : nTmp = self->width;
4047 : else
4048 : nTmp = self->height;
4049 :
4050 : /* To be consistent in swig mapscript and PHP mapscript,
4051 : use the same function to calculate the delta extents. */
4052 0 : dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
4053 :
4054 0 : if (dfDeltaExt > 0.0) {
4055 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
4056 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
4057 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
4058 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
4059 : } else
4060 : return MS_FAILURE;
4061 :
4062 : /* ------------------------------------------------------------ */
4063 : /* get current scale. */
4064 : /* ------------------------------------------------------------ */
4065 0 : msCalculateScale(*poGeorefExt, self->units, self->width, self->height, self->resolution, &dfCurrentScale);
4066 :
4067 : /* ------------------------------------------------------------ *
4068 : * if the min and max scale are set in the map file, we will *
4069 : * use them to test before zooming. *
4070 : * *
4071 : * This function has the same effect as zoomin or zoom out.
4072 : * If the current scale is > newscale we zoom in; else it is
4073 : * a zoom out.
4074 : * ------------------------------------------------------------ */
4075 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
4076 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
4077 :
4078 0 : if (self->web.maxscaledenom > 0) {
4079 0 : if (dfCurrentScale < dfNewScale && dfNewScale > self->web.maxscaledenom) {
4080 : return MS_FAILURE;
4081 : }
4082 : }
4083 :
4084 : /* ============================================================ */
4085 : /* we do a special case for zoom in : we try to zoom as much as */
4086 : /* possible using the mincale set in the .map. */
4087 : /* ============================================================ */
4088 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && dfCurrentScale > dfNewScale) {
4089 : /* To be consistent in swig mapscript and PHP mapscript,
4090 : use the same function to calculate the delta extents. */
4091 0 : dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
4092 0 : if (dfDeltaExt > 0.0) {
4093 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
4094 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
4095 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
4096 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
4097 : } else
4098 : return MS_FAILURE;
4099 : }
4100 :
4101 : /* ------------------------------------------------------------ */
4102 : /* If the buffer is set, make sure that the extents do not go */
4103 : /* beyond the buffer. */
4104 : /* ------------------------------------------------------------ */
4105 0 : if (bMaxExtSet) {
4106 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
4107 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
4108 :
4109 : /* Make sure Current georef extents is not bigger
4110 : * than max extents */
4111 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
4112 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
4113 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
4114 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
4115 :
4116 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
4117 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
4118 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
4119 : }
4120 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
4121 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
4122 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
4123 : }
4124 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
4125 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
4126 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
4127 : }
4128 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
4129 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
4130 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
4131 : }
4132 : }
4133 :
4134 0 : self->extent.minx = oNewGeorefExt.minx;
4135 0 : self->extent.miny = oNewGeorefExt.miny;
4136 0 : self->extent.maxx = oNewGeorefExt.maxx;
4137 0 : self->extent.maxy = oNewGeorefExt.maxy;
4138 :
4139 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
4140 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
4141 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
4142 :
4143 0 : if (bMaxExtSet) {
4144 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
4145 0 : self->extent.minx = poMaxGeorefExt->minx;
4146 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
4147 : }
4148 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
4149 0 : self->extent.maxx = poMaxGeorefExt->maxx;
4150 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
4151 : }
4152 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
4153 0 : self->extent.miny = poMaxGeorefExt->miny;
4154 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
4155 : }
4156 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
4157 0 : self->extent.maxy = poMaxGeorefExt->maxy;
4158 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
4159 : }
4160 : }
4161 :
4162 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
4163 :
4164 0 : return MS_SUCCESS;
4165 : }
4166 0 : SWIGINTERN rectObj *new_rectObj(double minx,double miny,double maxx,double maxy,int imageunits){
4167 : rectObj *rect;
4168 :
4169 0 : if (imageunits == 0)
4170 : {
4171 0 : if (minx > maxx || miny > maxy)
4172 : {
4173 0 : msSetError(34,
4174 : "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
4175 : "rectObj()", minx, miny, maxx, maxy);
4176 0 : return NULL;
4177 : }
4178 : }
4179 : else
4180 : {
4181 0 : if (minx > maxx || maxy > miny)
4182 : {
4183 0 : msSetError(34,
4184 : "image (pixel/line) units { 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
4185 : "rectObj()", minx, miny, maxx, maxy);
4186 0 : return NULL;
4187 : }
4188 : }
4189 :
4190 0 : rect = (rectObj *)calloc(1, sizeof(rectObj));
4191 0 : if (!rect)
4192 : return(NULL);
4193 :
4194 0 : rect->minx = minx;
4195 0 : rect->miny = miny;
4196 0 : rect->maxx = maxx;
4197 0 : rect->maxy = maxy;
4198 :
4199 0 : return(rect);
4200 : }
4201 : SWIGINTERN void delete_rectObj(rectObj *self){
4202 0 : free(self);
4203 : }
4204 : SWIGINTERN int rectObj_project(rectObj *self,projectionObj *projin,projectionObj *projout){
4205 0 : return msProjectRect(projin, projout, self);
4206 : }
4207 : SWIGINTERN double rectObj_fit(rectObj *self,int width,int height){
4208 0 : return msAdjustExtent(self, width, height);
4209 : }
4210 0 : SWIGINTERN int rectObj_draw(rectObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
4211 : shapeObj shape;
4212 : int ret;
4213 :
4214 0 : msInitShape(&shape);
4215 0 : msRectToPolygon(*self, &shape);
4216 0 : shape.classindex = classindex;
4217 0 : if(text && layer->class[classindex]->numlabels > 0) {
4218 0 : shape.text = msStrdup(text);
4219 : }
4220 :
4221 0 : ret = msDrawShape(map, layer, &shape, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
4222 :
4223 0 : msFreeShape(&shape);
4224 :
4225 0 : return ret;
4226 : }
4227 0 : SWIGINTERN pointObj *rectObj_getCenter(rectObj *self){
4228 : pointObj *center;
4229 0 : center = (pointObj *)calloc(1, sizeof(pointObj));
4230 0 : if (!center) {
4231 0 : msSetError(2, "Failed to allocate memory for point", "getCenter()");
4232 0 : return NULL;
4233 : }
4234 0 : center->x = (self->minx + self->maxx)/2;
4235 0 : center->y = (self->miny + self->maxy)/2;
4236 :
4237 0 : return center;
4238 : }
4239 0 : SWIGINTERN shapeObj *rectObj_toPolygon(rectObj *self){
4240 0 : lineObj line = {0,NULL};
4241 : shapeObj *shape;
4242 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4243 0 : if (!shape)
4244 : return NULL;
4245 0 : msInitShape(shape);
4246 0 : shape->type = MS_SHAPE_POLYGON;
4247 :
4248 0 : line.point = (pointObj *)malloc(sizeof(pointObj)*5);
4249 0 : line.point[0].x = self->minx;
4250 0 : line.point[0].y = self->miny;
4251 0 : line.point[1].x = self->minx;
4252 0 : line.point[1].y = self->maxy;
4253 0 : line.point[2].x = self->maxx;
4254 0 : line.point[2].y = self->maxy;
4255 0 : line.point[3].x = self->maxx;
4256 0 : line.point[3].y = self->miny;
4257 0 : line.point[4].x = line.point[0].x;
4258 0 : line.point[4].y = line.point[0].y;
4259 :
4260 0 : line.numpoints = 5;
4261 :
4262 0 : msAddLine(shape, &line);
4263 0 : msComputeBounds(shape);
4264 :
4265 0 : free(line.point);
4266 :
4267 0 : return shape;
4268 : }
4269 0 : SWIGINTERN char *rectObj_toString(rectObj *self){
4270 : char buffer[256];
4271 0 : char fmt[]="{ 'minx': %.16g , 'miny': %.16g , 'maxx': %.16g , 'maxy': %.16g }";
4272 0 : msRectToFormattedString(self, (char *) &fmt, (char *) &buffer, 256);
4273 0 : return msStrdup(buffer);
4274 : }
4275 : SWIGINTERN pointObj *new_pointObj(double x,double y,double z,double m){
4276 : pointObj *p;
4277 0 : p = (pointObj *)calloc(1,sizeof(pointObj));
4278 0 : if (!p) return NULL;
4279 0 : p->x = x;
4280 0 : p->y = y;
4281 :
4282 :
4283 :
4284 :
4285 : return p;
4286 : }
4287 : SWIGINTERN void delete_pointObj(pointObj *self){
4288 0 : free(self);
4289 : }
4290 : SWIGINTERN int pointObj_project(pointObj *self,projectionObj *projin,projectionObj *projout){
4291 0 : return msProjectPoint(projin, projout, self);
4292 : }
4293 : SWIGINTERN int pointObj_draw(pointObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
4294 0 : return msDrawPoint(map, layer, self, image, classindex, text);
4295 : }
4296 : SWIGINTERN double pointObj_distanceToPoint(pointObj *self,pointObj *point){
4297 0 : return msDistancePointToPoint(self, point);
4298 : }
4299 : SWIGINTERN double pointObj_distanceToSegment(pointObj *self,pointObj *a,pointObj *b){
4300 1 : return msDistancePointToSegment(self, a, b);
4301 : }
4302 : SWIGINTERN double pointObj_distanceToShape(pointObj *self,shapeObj *shape){
4303 0 : return msDistancePointToShape(self, shape);
4304 : }
4305 : SWIGINTERN int pointObj_setXY(pointObj *self,double x,double y,double m){
4306 0 : self->x = x;
4307 0 : self->y = y;
4308 :
4309 :
4310 :
4311 :
4312 :
4313 : return MS_SUCCESS;
4314 : }
4315 : SWIGINTERN int pointObj_setXYZ(pointObj *self,double x,double y,double z,double m){
4316 0 : self->x = x;
4317 0 : self->y = y;
4318 :
4319 :
4320 :
4321 :
4322 : return MS_SUCCESS;
4323 : }
4324 : SWIGINTERN int pointObj_setXYZM(pointObj *self,double x,double y,double z,double m){
4325 0 : self->x = x;
4326 0 : self->y = y;
4327 :
4328 :
4329 :
4330 :
4331 : return MS_SUCCESS;
4332 : }
4333 0 : SWIGINTERN char *pointObj_toString(pointObj *self){
4334 : char buffer[256];
4335 : const char *fmt;
4336 :
4337 :
4338 :
4339 :
4340 :
4341 :
4342 :
4343 : fmt = "{ 'x': %.16g, 'y': %.16g }";
4344 :
4345 :
4346 0 : msPointToFormattedString(self, fmt, (char *) &buffer, 256);
4347 0 : return msStrdup(buffer);
4348 : }
4349 0 : SWIGINTERN shapeObj *pointObj_toShape(pointObj *self){
4350 : shapeObj *shape;
4351 :
4352 0 : shape = (shapeObj *) malloc(sizeof(shapeObj));
4353 0 : msInitShape(shape);
4354 :
4355 0 : shape->type = MS_SHAPE_POINT;
4356 0 : shape->line = (lineObj *) malloc(sizeof(lineObj));
4357 0 : shape->numlines = 1;
4358 0 : shape->line[0].point = (pointObj *) malloc(sizeof(pointObj));
4359 0 : shape->line[0].numpoints = 1;
4360 :
4361 0 : shape->line[0].point[0].x = self->x;
4362 0 : shape->line[0].point[0].y = self->y;
4363 :
4364 :
4365 :
4366 :
4367 :
4368 0 : return shape;
4369 : }
4370 : SWIGINTERN lineObj *new_lineObj(void){
4371 : lineObj *line;
4372 :
4373 1 : line = (lineObj *)malloc(sizeof(lineObj));
4374 1 : if (!line)
4375 : return(NULL);
4376 :
4377 1 : line->numpoints=0;
4378 1 : line->point=NULL;
4379 :
4380 : return line;
4381 : }
4382 : SWIGINTERN void delete_lineObj(lineObj *self){
4383 1 : free(self->point);
4384 1 : free(self);
4385 : }
4386 : SWIGINTERN int lineObj_project(lineObj *self,projectionObj *projin,projectionObj *projout){
4387 0 : return msProjectLine(projin, projout, self);
4388 : }
4389 : SWIGINTERN pointObj *lineObj_get(lineObj *self,int i){
4390 1 : if (i<0 || i>=self->numpoints)
4391 : return NULL;
4392 : else
4393 1 : return &(self->point[i]);
4394 : }
4395 1 : SWIGINTERN int lineObj_add(lineObj *self,pointObj *p){
4396 1 : if (self->numpoints == 0) { /* new */
4397 1 : self->point = (pointObj *)malloc(sizeof(pointObj));
4398 1 : if (!self->point)
4399 : return MS_FAILURE;
4400 : } else { /* extend array */
4401 1 : self->point = (pointObj *)realloc(self->point,
4402 1 : sizeof(pointObj)*(self->numpoints+1));
4403 1 : if (!self->point)
4404 : return MS_FAILURE;
4405 : }
4406 :
4407 1 : self->point[self->numpoints].x = p->x;
4408 1 : self->point[self->numpoints].y = p->y;
4409 1 : self->numpoints++;
4410 :
4411 : return MS_SUCCESS;
4412 : }
4413 : SWIGINTERN int lineObj_set(lineObj *self,int i,pointObj *p){
4414 0 : if (i<0 || i>=self->numpoints)
4415 : return MS_FAILURE;
4416 :
4417 0 : self->point[i].x = p->x;
4418 0 : self->point[i].y = p->y;
4419 : return MS_SUCCESS;
4420 : }
4421 1 : SWIGINTERN shapeObj *new_shapeObj(int type){
4422 : shapeObj *shape;
4423 :
4424 1 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4425 1 : if (!shape)
4426 : return NULL;
4427 :
4428 1 : msInitShape(shape);
4429 1 : if(type >= 0) shape->type = type;
4430 :
4431 1 : return shape;
4432 : }
4433 : SWIGINTERN void delete_shapeObj(shapeObj *self){
4434 1 : msFreeShape(self);
4435 1 : free(self);
4436 : }
4437 : SWIGINTERN shapeObj *shapeObj_fromWKT(char *wkt){
4438 : shapeObj *shape;
4439 :
4440 1 : if(!wkt) return NULL;
4441 :
4442 1 : shape = msShapeFromWKT(wkt);
4443 1 : if(!shape) return NULL;
4444 :
4445 : return shape;
4446 : }
4447 : SWIGINTERN int shapeObj_project(shapeObj *self,projectionObj *projin,projectionObj *projout){
4448 0 : return msProjectShape(projin, projout, self);
4449 : }
4450 : SWIGINTERN lineObj *shapeObj_get(shapeObj *self,int i){
4451 1 : if (i<0 || i>=self->numlines)
4452 : return NULL;
4453 : else
4454 1 : return &(self->line[i]);
4455 : }
4456 : SWIGINTERN int shapeObj_add(shapeObj *self,lineObj *line){
4457 1 : return msAddLine(self, line);
4458 : }
4459 : SWIGINTERN int shapeObj_draw(shapeObj *self,mapObj *map,layerObj *layer,imageObj *image){
4460 0 : return msDrawShape(map, layer, self, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
4461 : }
4462 : SWIGINTERN void shapeObj_setBounds(shapeObj *self){
4463 0 : msComputeBounds(self);
4464 : return;
4465 : }
4466 0 : SWIGINTERN shapeObj *shapeObj_clone(shapeObj *self){
4467 : shapeObj *shape;
4468 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4469 0 : if (!shape)
4470 : return NULL;
4471 0 : msInitShape(shape);
4472 0 : shape->type = self->type;
4473 0 : msCopyShape(self, shape);
4474 0 : return shape;
4475 : }
4476 : SWIGINTERN int shapeObj_copy(shapeObj *self,shapeObj *dest){
4477 0 : return(msCopyShape(self, dest));
4478 : }
4479 : SWIGINTERN char *shapeObj_toWKT(shapeObj *self){
4480 1 : return msShapeToWKT(self);
4481 : }
4482 0 : SWIGINTERN shapeObj *shapeObj_buffer(shapeObj *self,double width){ return msGEOSBuffer(self, width); }
4483 0 : SWIGINTERN shapeObj *shapeObj_simplify(shapeObj *self,double tolerance){ return msGEOSSimplify(self, tolerance); }
4484 0 : SWIGINTERN shapeObj *shapeObj_topologyPreservingSimplify(shapeObj *self,double tolerance){ return msGEOSTopologyPreservingSimplify(self, tolerance); }
4485 0 : SWIGINTERN shapeObj *shapeObj_convexHull(shapeObj *self){ return msGEOSConvexHull(self); }
4486 0 : SWIGINTERN shapeObj *shapeObj_boundary(shapeObj *self){ return msGEOSBoundary(self); }
4487 0 : SWIGINTERN pointObj *shapeObj_getCentroid(shapeObj *self){ return msGEOSGetCentroid(self); }
4488 0 : SWIGINTERN shapeObj *shapeObj_Union(shapeObj *self,shapeObj *shape){ return msGEOSUnion(self, shape); }
4489 0 : SWIGINTERN shapeObj *shapeObj_intersection(shapeObj *self,shapeObj *shape){ return msGEOSIntersection(self, shape); }
4490 0 : SWIGINTERN shapeObj *shapeObj_difference(shapeObj *self,shapeObj *shape){ return msGEOSDifference(self, shape); }
4491 0 : SWIGINTERN shapeObj *shapeObj_symDifference(shapeObj *self,shapeObj *shape){ return msGEOSSymDifference(self, shape); }
4492 0 : SWIGINTERN int shapeObj_contains__SWIG_0(shapeObj *self,shapeObj *shape){ return msGEOSContains(self, shape); }
4493 0 : SWIGINTERN int shapeObj_overlaps(shapeObj *self,shapeObj *shape){ return msGEOSOverlaps(self, shape); }
4494 1 : SWIGINTERN int shapeObj_within(shapeObj *self,shapeObj *shape){ return msGEOSWithin(self, shape); }
4495 0 : SWIGINTERN int shapeObj_crosses(shapeObj *self,shapeObj *shape){ return msGEOSCrosses(self, shape); }
4496 0 : SWIGINTERN int shapeObj_intersects(shapeObj *self,shapeObj *shape){ return msGEOSIntersects(self, shape); }
4497 0 : SWIGINTERN int shapeObj_touches(shapeObj *self,shapeObj *shape){ return msGEOSTouches(self, shape); }
4498 0 : SWIGINTERN int shapeObj_equals(shapeObj *self,shapeObj *shape){ return msGEOSEquals(self, shape); }
4499 0 : SWIGINTERN int shapeObj_disjoint(shapeObj *self,shapeObj *shape){ return msGEOSDisjoint(self, shape); }
4500 0 : SWIGINTERN double shapeObj_getArea(shapeObj *self){ return msGEOSArea(self); }
4501 0 : SWIGINTERN double shapeObj_getLength(shapeObj *self){ return msGEOSLength(self); }
4502 : SWIGINTERN char *shapeObj_getValue(shapeObj *self,int i){
4503 0 : if (i >= 0 && i < self->numvalues && self->values)
4504 0 : return (self->values[i]);
4505 : else
4506 : return NULL;
4507 : }
4508 : SWIGINTERN int shapeObj_contains__SWIG_1(shapeObj *self,pointObj *point){
4509 0 : if (self->type == MS_SHAPE_POLYGON)
4510 0 : return msIntersectPointPolygon(point, self);
4511 :
4512 : return -1;
4513 : }
4514 : SWIGINTERN double shapeObj_distanceToPoint(shapeObj *self,pointObj *point){
4515 0 : return msDistancePointToShape(point, self); /* should there be a GEOS version of this? */
4516 : }
4517 : SWIGINTERN double shapeObj_distanceToShape(shapeObj *self,shapeObj *shape){
4518 0 : return msGEOSDistance(self, shape); /* note this calls msDistanceShapeToShape() if GEOS support is not present */
4519 : }
4520 0 : SWIGINTERN pointObj *shapeObj_getLabelPoint(shapeObj *self){
4521 0 : pointObj *point = (pointObj *)calloc(1, sizeof(pointObj));
4522 0 : if (point == NULL) {
4523 0 : msSetError(2, "Failed to allocate memory for point", "labelPoint()");
4524 0 : return NULL;
4525 : }
4526 :
4527 0 : if(self->type == MS_SHAPE_POLYGON && msPolygonLabelPoint(self, point, -1) == MS_SUCCESS)
4528 : return point;
4529 :
4530 0 : free(point);
4531 0 : return NULL;
4532 : }
4533 0 : SWIGINTERN int shapeObj_setValue(shapeObj *self,int i,char *value){
4534 0 : if (!self->values || !value)
4535 : {
4536 0 : msSetError(19, "Can't set value", "setValue()");
4537 : return MS_FAILURE;
4538 : }
4539 0 : if (i >= 0 && i < self->numvalues)
4540 : {
4541 0 : msFree(self->values[i]);
4542 0 : self->values[i] = msStrdup(value);
4543 0 : if (!self->values[i])
4544 : {
4545 : return MS_FAILURE;
4546 : }
4547 : else return MS_SUCCESS;
4548 : }
4549 : else
4550 : {
4551 0 : msSetError(19, "Invalid value index",
4552 : "setValue()");
4553 : return MS_FAILURE;
4554 : }
4555 : }
4556 0 : SWIGINTERN void shapeObj_initValues(shapeObj *self,int numvalues){
4557 : int i;
4558 :
4559 0 : if(self->values) msFreeCharArray(self->values, self->numvalues);
4560 0 : self->values = NULL;
4561 0 : self->numvalues = 0;
4562 :
4563 : /* Allocate memory for the values */
4564 0 : if (numvalues > 0) {
4565 0 : if ((self->values = (char **)malloc(sizeof(char *)*numvalues)) == NULL) {
4566 0 : msSetError(2, "Failed to allocate memory for values", "shapeObj()");
4567 0 : return;
4568 : } else {
4569 0 : for (i=0; i<numvalues; i++) self->values[i] = msStrdup("");
4570 : }
4571 0 : self->numvalues = numvalues;
4572 : }
4573 : }
4574 :
4575 : SWIGINTERNINLINE SV *
4576 0 : SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
4577 : {
4578 : SV *sv;
4579 : if (UVSIZE >= sizeof(value) || value <= UV_MAX)
4580 0 : sv = newSVuv(value);
4581 : else
4582 : sv = newSVpvf("%lu", value);
4583 0 : return sv_2mortal(sv);
4584 : }
4585 :
4586 :
4587 : SWIGINTERNINLINE SV *
4588 : SWIG_From_unsigned_SS_int SWIG_PERL_DECL_ARGS_1(unsigned int value)
4589 : {
4590 0 : return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1(value);
4591 : }
4592 :
4593 : SWIGINTERN char *DBFInfo_getFieldName(DBFInfo *self,int iField){
4594 : static char pszFieldName[1000];
4595 : int pnWidth;
4596 : int pnDecimals;
4597 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4598 : &pnDecimals);
4599 : return pszFieldName;
4600 : }
4601 0 : SWIGINTERN int DBFInfo_getFieldWidth(DBFInfo *self,int iField){
4602 : char pszFieldName[1000];
4603 : int pnWidth;
4604 : int pnDecimals;
4605 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4606 : &pnDecimals);
4607 0 : return pnWidth;
4608 : }
4609 0 : SWIGINTERN int DBFInfo_getFieldDecimals(DBFInfo *self,int iField){
4610 : char pszFieldName[1000];
4611 : int pnWidth;
4612 : int pnDecimals;
4613 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4614 : &pnDecimals);
4615 0 : return pnDecimals;
4616 : }
4617 : SWIGINTERN int DBFInfo_getFieldType(DBFInfo *self,int iField){
4618 0 : return msDBFGetFieldInfo(self, iField, NULL, NULL, NULL);
4619 : }
4620 1 : SWIGINTERN shapefileObj *new_shapefileObj(char *filename,int type){
4621 : shapefileObj *shapefile;
4622 : int status;
4623 :
4624 1 : shapefile = (shapefileObj *)malloc(sizeof(shapefileObj));
4625 1 : if (!shapefile)
4626 : return NULL;
4627 :
4628 1 : if (type == -1)
4629 1 : status = msShapefileOpen(shapefile, "rb", filename, 1);
4630 1 : else if (type == -2)
4631 0 : status = msShapefileOpen(shapefile, "rb+", filename, 1);
4632 : else
4633 1 : status = msShapefileCreate(shapefile, filename, type);
4634 :
4635 1 : if (status == -1) {
4636 0 : msShapefileClose(shapefile);
4637 0 : free(shapefile);
4638 0 : return NULL;
4639 : }
4640 :
4641 : return(shapefile);
4642 : }
4643 : SWIGINTERN void delete_shapefileObj(shapefileObj *self){
4644 1 : msShapefileClose(self);
4645 1 : free(self);
4646 : }
4647 1 : SWIGINTERN int shapefileObj_get(shapefileObj *self,int i,shapeObj *shape){
4648 1 : if (i<0 || i>=self->numshapes)
4649 : return MS_FAILURE;
4650 :
4651 1 : msFreeShape(shape); /* frees all lines and points before re-filling */
4652 1 : msSHPReadShape(self->hSHP, i, shape);
4653 :
4654 : return MS_SUCCESS;
4655 : }
4656 1 : SWIGINTERN shapeObj *shapefileObj_getShape(shapefileObj *self,int i){
4657 : shapeObj *shape;
4658 1 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4659 1 : if (!shape)
4660 : return NULL;
4661 1 : msInitShape(shape);
4662 1 : shape->type = self->type;
4663 1 : msSHPReadShape(self->hSHP, i, shape);
4664 : return shape;
4665 :
4666 : }
4667 : SWIGINTERN int shapefileObj_getPoint(shapefileObj *self,int i,pointObj *point){
4668 0 : if (i<0 || i>=self->numshapes)
4669 : return MS_FAILURE;
4670 :
4671 0 : msSHPReadPoint(self->hSHP, i, point);
4672 : return MS_SUCCESS;
4673 : }
4674 0 : SWIGINTERN int shapefileObj_getTransformed(shapefileObj *self,mapObj *map,int i,shapeObj *shape){
4675 0 : if (i<0 || i>=self->numshapes)
4676 : return MS_FAILURE;
4677 :
4678 0 : msFreeShape(shape); /* frees all lines and points before re-filling */
4679 0 : msSHPReadShape(self->hSHP, i, shape);
4680 0 : msTransformShapeSimplify(shape, map->extent, map->cellsize);
4681 :
4682 : return MS_SUCCESS;
4683 : }
4684 : SWIGINTERN void shapefileObj_getExtent(shapefileObj *self,int i,rectObj *rect){
4685 0 : msSHPReadBounds(self->hSHP, i, rect);
4686 : }
4687 1 : SWIGINTERN int shapefileObj_add(shapefileObj *self,shapeObj *shape){
4688 : /* Trap NULL or empty shapes -- bug 1201 */
4689 1 : if (!shape)
4690 : {
4691 0 : msSetError(19, "Can't add NULL shape", "shapefileObj::add");
4692 : return MS_FAILURE;
4693 : }
4694 1 : else if (!shape->line)
4695 : {
4696 0 : msSetError(19, "Can't add empty shape", "shapefileObj::add");
4697 : return MS_FAILURE;
4698 : }
4699 :
4700 1 : return msSHPWriteShape(self->hSHP, shape);
4701 : }
4702 : SWIGINTERN int shapefileObj_addPoint(shapefileObj *self,pointObj *point){
4703 0 : return msSHPWritePoint(self->hSHP, point);
4704 : }
4705 : SWIGINTERN DBFInfo *shapefileObj_getDBF(shapefileObj *self){
4706 : return self->hDBF;
4707 : }
4708 0 : SWIGINTERN projectionObj *new_projectionObj(char *proj4){
4709 : int status;
4710 : projectionObj *proj=NULL;
4711 :
4712 0 : proj = (projectionObj *)malloc(sizeof(projectionObj));
4713 0 : if (!proj) return NULL;
4714 0 : msInitProjection(proj);
4715 :
4716 0 : status = msLoadProjectionString(proj, proj4);
4717 0 : if (status == -1) {
4718 0 : msFreeProjection(proj);
4719 0 : free(proj);
4720 0 : return NULL;
4721 : }
4722 :
4723 : return proj;
4724 : }
4725 : SWIGINTERN void delete_projectionObj(projectionObj *self){
4726 0 : msFreeProjection(self);
4727 0 : free(self);
4728 : }
4729 : SWIGINTERN int projectionObj_setWKTProjection(projectionObj *self,char *wkt){
4730 : /* no debug output here */
4731 0 : return msOGCWKT2ProjectionObj(wkt, self, 0);
4732 : }
4733 : SWIGINTERN int projectionObj_getUnits(projectionObj *self){
4734 0 : return GetMapserverUnitUsingProj(self);
4735 : }
4736 0 : SWIGINTERN colorObj *new_colorObj(int red,int green,int blue,int alpha){
4737 : colorObj *color;
4738 :
4739 : /* Check colors */
4740 0 : if (red > 255 || green > 255 || blue > 255 || alpha>255 ||
4741 0 : red<-1 || green<-1 || blue<-1 || alpha<0 ) {
4742 0 : msSetError(12, "Invalid color", "colorObj()");
4743 0 : return NULL;
4744 : }
4745 :
4746 0 : color = (colorObj *)calloc(1, sizeof(colorObj));
4747 0 : if (!color)
4748 : return(NULL);
4749 :
4750 0 : MS_INIT_COLOR(*color, red, green, blue, alpha);
4751 :
4752 0 : return(color);
4753 : }
4754 : SWIGINTERN void delete_colorObj(colorObj *self){
4755 0 : free(self);
4756 : }
4757 0 : SWIGINTERN int colorObj_setRGB(colorObj *self,int red,int green,int blue,int alpha){
4758 : /* Check colors */
4759 0 : if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
4760 0 : msSetError(12, "Invalid color index.", "setRGB()");
4761 0 : return MS_FAILURE;
4762 : }
4763 :
4764 0 : MS_INIT_COLOR(*self, red, green, blue, alpha);
4765 0 : return MS_SUCCESS;
4766 : }
4767 0 : SWIGINTERN int colorObj_setHex(colorObj *self,char *psHexColor){
4768 : int red, green, blue, alpha = 255;
4769 0 : if (psHexColor && (strlen(psHexColor) == 7 || strlen(psHexColor) == 9) && psHexColor[0] == '#') {
4770 0 : red = msHexToInt(psHexColor+1);
4771 0 : green = msHexToInt(psHexColor+3);
4772 0 : blue= msHexToInt(psHexColor+5);
4773 0 : if (strlen(psHexColor) == 9) {
4774 0 : alpha = msHexToInt(psHexColor+7);
4775 : }
4776 0 : if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
4777 0 : msSetError(12, "Invalid color index.", "setHex()");
4778 0 : return MS_FAILURE;
4779 : }
4780 :
4781 0 : MS_INIT_COLOR(*self, red, green, blue, alpha);
4782 0 : return MS_SUCCESS;
4783 : }
4784 : else {
4785 0 : msSetError(12, "Invalid hex color.", "setHex()");
4786 0 : return MS_FAILURE;
4787 : }
4788 : }
4789 0 : SWIGINTERN char *colorObj_toHex(colorObj *self){
4790 : char *hexcolor;
4791 :
4792 0 : if (!self)
4793 : {
4794 0 : msSetError(12, "Can't express NULL color as hex",
4795 : "toHex()");
4796 0 : return NULL;
4797 : }
4798 0 : if (self->red < 0 || self->green < 0 || self->blue < 0)
4799 : {
4800 0 : msSetError(12, "Can't express invalid color as hex",
4801 : "toHex()");
4802 0 : return NULL;
4803 : }
4804 0 : if (self->alpha == 255) {
4805 0 : hexcolor = msSmallMalloc(8);
4806 0 : snprintf(hexcolor, 8, "#%02x%02x%02x",
4807 : self->red, self->green, self->blue);
4808 0 : } else if (self->alpha >= 0) {
4809 0 : hexcolor = msSmallMalloc(10);
4810 0 : snprintf(hexcolor, 10, "#%02x%02x%02x%02x",
4811 : self->red, self->green, self->blue, self->alpha);
4812 : } else {
4813 0 : msSetError(12, "Can't express color with invalid alpha as hex",
4814 : "toHex()");
4815 0 : return NULL;
4816 : }
4817 0 : return hexcolor;
4818 : }
4819 0 : SWIGINTERN struct symbolObj *new_symbolObj(char *symbolname,char const *imagefile){
4820 : symbolObj *symbol;
4821 0 : symbol = (symbolObj *) malloc(sizeof(symbolObj));
4822 0 : initSymbol(symbol);
4823 0 : symbol->name = msStrdup(symbolname);
4824 0 : if (imagefile) {
4825 0 : msLoadImageSymbol(symbol, imagefile);
4826 : }
4827 0 : return symbol;
4828 : }
4829 0 : SWIGINTERN void delete_symbolObj(struct symbolObj *self){
4830 0 : if (self) {
4831 0 : if (msFreeSymbol(self)==MS_SUCCESS) {
4832 0 : free(self);
4833 : self=NULL;
4834 : }
4835 : }
4836 0 : }
4837 : SWIGINTERN int symbolObj_setImagepath(struct symbolObj *self,char const *imagefile){
4838 0 : return msLoadImageSymbol(self, imagefile);
4839 : }
4840 0 : SWIGINTERN int symbolObj_setPoints(struct symbolObj *self,lineObj *line){
4841 : int i;
4842 0 : self->sizex = 0;
4843 0 : self->sizey = 0;
4844 0 : for (i=0; i<line->numpoints; i++) {
4845 0 : MS_COPYPOINT(&(self->points[i]), &(line->point[i]));
4846 0 : self->sizex = MS_MAX(self->sizex, self->points[i].x);
4847 0 : self->sizey = MS_MAX(self->sizey, self->points[i].y);
4848 : }
4849 0 : self->numpoints = line->numpoints;
4850 0 : return self->numpoints;
4851 : }
4852 0 : SWIGINTERN lineObj *symbolObj_getPoints(struct symbolObj *self){
4853 : int i;
4854 : lineObj *line;
4855 0 : line = (lineObj *) malloc(sizeof(lineObj));
4856 0 : line->point = (pointObj *) malloc(sizeof(pointObj)*(self->numpoints));
4857 0 : for (i=0; i<self->numpoints; i++) {
4858 0 : line->point[i].x = self->points[i].x;
4859 0 : line->point[i].y = self->points[i].y;
4860 : }
4861 0 : line->numpoints = self->numpoints;
4862 0 : return line;
4863 : }
4864 0 : SWIGINTERN imageObj *symbolObj_getImage(struct symbolObj *self,outputFormatObj *input_format){
4865 : imageObj *image = NULL;
4866 : outputFormatObj *format = NULL;
4867 : rendererVTableObj *renderer = NULL;
4868 :
4869 0 : if (input_format)
4870 : {
4871 : format = input_format;
4872 : }
4873 : else
4874 : {
4875 0 : format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
4876 0 : if (format)
4877 0 : msInitializeRendererVTable(format);
4878 : }
4879 :
4880 0 : if (format == NULL)
4881 : {
4882 0 : msSetError(15, "Could not create output format",
4883 : "getImage()");
4884 0 : return NULL;
4885 : }
4886 :
4887 0 : renderer = format->vtable;
4888 0 : msPreloadImageSymbol(renderer, self);
4889 0 : if (self->pixmap_buffer)
4890 : {
4891 0 : image = msImageCreate(self->pixmap_buffer->width, self->pixmap_buffer->height, format, NULL, NULL,
4892 : MS_DEFAULT_RESOLUTION, MS_DEFAULT_RESOLUTION, NULL);
4893 0 : if(!image) {
4894 0 : msSetError(15, "Could not create image",
4895 : "getImage()");
4896 0 : return NULL;
4897 : }
4898 0 : if(MS_SUCCESS != renderer->mergeRasterBuffer(image, self->pixmap_buffer, 1.0, 0, 0, 0, 0,
4899 0 : self->pixmap_buffer->width, self->pixmap_buffer->height)) {
4900 0 : msSetError(15, "Could not merge symbol image",
4901 : "getImage()");
4902 0 : msFreeImage(image);
4903 0 : return NULL;
4904 : }
4905 : }
4906 :
4907 0 : return image;
4908 : }
4909 0 : SWIGINTERN int symbolObj_setImage(struct symbolObj *self,imageObj *image){
4910 : rendererVTableObj *renderer = NULL;
4911 :
4912 0 : renderer = image->format->vtable;
4913 :
4914 0 : if (self->pixmap_buffer) {
4915 0 : msFreeRasterBuffer(self->pixmap_buffer);
4916 0 : free(self->pixmap_buffer);
4917 : }
4918 :
4919 0 : self->pixmap_buffer = (rasterBufferObj*)malloc(sizeof(rasterBufferObj));
4920 0 : if (!self->pixmap_buffer) {
4921 0 : msSetError(2, NULL, "setImage()");
4922 : return MS_FAILURE;
4923 : }
4924 0 : self->type = MS_SYMBOL_PIXMAP;
4925 0 : return renderer->getRasterBufferCopy(image, self->pixmap_buffer);
4926 : }
4927 : SWIGINTERN struct errorObj *new_errorObj(void){
4928 0 : return msGetErrorObj();
4929 : }
4930 : SWIGINTERN void delete_errorObj(struct errorObj *self){}
4931 0 : SWIGINTERN errorObj *errorObj_next(struct errorObj *self){
4932 : errorObj *ep;
4933 :
4934 0 : if (self == NULL || self->next == NULL) return NULL;
4935 :
4936 0 : ep = msGetErrorObj();
4937 0 : while (ep != self) {
4938 : /* We reached end of list of active errorObj and
4939 : didn't find the errorObj... this is bad! */
4940 0 : if (ep->next == NULL) return NULL;
4941 : ep = ep->next;
4942 : }
4943 :
4944 0 : return ep->next;
4945 : }
4946 :
4947 : #include "../../maphash.h"
4948 :
4949 : SWIGINTERN hashTableObj *new_hashTableObj(void){
4950 :
4951 0 : return msCreateHashTable();
4952 : }
4953 : SWIGINTERN void delete_hashTableObj(hashTableObj *self){
4954 1 : msFreeHashTable(self);
4955 : }
4956 : SWIGINTERN int hashTableObj_set(hashTableObj *self,char *key,char *value){
4957 0 : if (msInsertHashTable(self, key, value) == NULL) {
4958 : return MS_FAILURE;
4959 : }
4960 : return MS_SUCCESS;
4961 : }
4962 1 : SWIGINTERN char *hashTableObj_get(hashTableObj *self,char *key,char *default_value){
4963 : char *value = NULL;
4964 1 : if (!key) {
4965 0 : msSetError(16, "NULL key", "get");
4966 : }
4967 :
4968 1 : value = (char *) msLookupHashTable(self, key);
4969 1 : if (!value) {
4970 : return default_value;
4971 : }
4972 1 : return value;
4973 : }
4974 : SWIGINTERN int hashTableObj_remove(hashTableObj *self,char *key){
4975 0 : return msRemoveHashTable(self, key);
4976 : }
4977 : SWIGINTERN void hashTableObj_clear(hashTableObj *self){
4978 0 : msFreeHashItems(self);
4979 0 : initHashTable(self);
4980 : }
4981 : SWIGINTERN char const *hashTableObj_nextKey(hashTableObj *self,char *prevkey){
4982 0 : return msNextKeyFromHashTable(self, (const char *) prevkey);
4983 : }
4984 :
4985 1 : static char *msGetEnvURL( const char *key, void *thread_context )
4986 : {
4987 1 : if( strcmp(key,"REQUEST_METHOD") == 0 )
4988 : return "GET";
4989 :
4990 1 : if( strcmp(key,"QUERY_STRING") == 0 )
4991 1 : return (char *) thread_context;
4992 :
4993 : return NULL;
4994 : }
4995 :
4996 1 : SWIGINTERN cgiRequestObj *new_cgiRequestObj(void){
4997 : cgiRequestObj *request;
4998 :
4999 1 : request = msAllocCgiObj();
5000 1 : if (!request) {
5001 0 : msSetError(13, "Failed to initialize object","OWSRequest()");
5002 0 : return NULL;
5003 : }
5004 :
5005 : return request;
5006 : }
5007 : SWIGINTERN void delete_cgiRequestObj(cgiRequestObj *self){
5008 1 : msFreeCgiObj(self);
5009 : }
5010 : SWIGINTERN int cgiRequestObj_loadParams(cgiRequestObj *self){
5011 0 : self->NumParams = loadParams( self, NULL, NULL, 0, NULL);
5012 : return self->NumParams;
5013 : }
5014 : SWIGINTERN int cgiRequestObj_loadParamsFromURL(cgiRequestObj *self,char const *url){
5015 1 : self->NumParams = loadParams( self, msGetEnvURL, NULL, 0, (void*)url );
5016 : return self->NumParams;
5017 : }
5018 0 : SWIGINTERN void cgiRequestObj_setParameter(cgiRequestObj *self,char *name,char *value){
5019 : int i;
5020 :
5021 0 : if (self->NumParams == 100) {
5022 0 : msSetError(31, "Maximum number of items, %d, has been reached", "setItem()", 100);
5023 : }
5024 :
5025 0 : for (i=0; i<self->NumParams; i++) {
5026 0 : if (strcasecmp(self->ParamNames[i], name) == 0) {
5027 0 : free(self->ParamValues[i]);
5028 0 : self->ParamValues[i] = msStrdup(value);
5029 0 : break;
5030 : }
5031 : }
5032 0 : if (i == self->NumParams) {
5033 0 : self->ParamNames[self->NumParams] = msStrdup(name);
5034 0 : self->ParamValues[self->NumParams] = msStrdup(value);
5035 0 : self->NumParams++;
5036 : }
5037 0 : }
5038 0 : SWIGINTERN void cgiRequestObj_addParameter(cgiRequestObj *self,char *name,char *value){
5039 0 : if (self->NumParams == 100) {
5040 0 : msSetError(31, "Maximum number of items, %d, has been reached", "addParameter()", 100);
5041 : }
5042 0 : self->ParamNames[self->NumParams] = msStrdup(name);
5043 0 : self->ParamValues[self->NumParams] = msStrdup(value);
5044 0 : self->NumParams++;
5045 0 : }
5046 1 : SWIGINTERN char *cgiRequestObj_getName(cgiRequestObj *self,int index){
5047 1 : if (index < 0 || index >= self->NumParams) {
5048 0 : msSetError(31, "Invalid index, valid range is [0, %d]", "getName()", self->NumParams-1);
5049 : return NULL;
5050 : }
5051 1 : return self->ParamNames[index];
5052 : }
5053 1 : SWIGINTERN char *cgiRequestObj_getValue(cgiRequestObj *self,int index){
5054 1 : if (index < 0 || index >= self->NumParams) {
5055 0 : msSetError(31, "Invalid index, valid range is [0, %d]", "getValue()", self->NumParams-1);
5056 : return NULL;
5057 : }
5058 1 : return self->ParamValues[index];
5059 : }
5060 1 : SWIGINTERN char *cgiRequestObj_getValueByName(cgiRequestObj *self,char const *name){
5061 : int i;
5062 1 : for (i=0; i<self->NumParams; i++) {
5063 1 : if (strcasecmp(self->ParamNames[i], name) == 0) {
5064 1 : return self->ParamValues[i];
5065 : }
5066 : }
5067 : return NULL;
5068 : }
5069 :
5070 :
5071 0 : const char *msIO_getStdoutBufferString() {
5072 0 : msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
5073 : msIOBuffer *buf;
5074 :
5075 0 : if( ctx == NULL || ctx->write_channel == MS_FALSE
5076 0 : || strcmp(ctx->label,"buffer") != 0 )
5077 : {
5078 0 : msSetError( MS_MISCERR, "Can't identify msIO buffer.",
5079 : "msIO_getStdoutBufferString" );
5080 0 : return "";
5081 : }
5082 :
5083 0 : buf = (msIOBuffer *) ctx->cbData;
5084 :
5085 : /* write one zero byte and backtrack if it isn't already there */
5086 0 : if( buf->data_len == 0 || buf->data[buf->data_offset] != '\0' ) {
5087 0 : msIO_bufferWrite( buf, "", 1 );
5088 0 : buf->data_offset--;
5089 : }
5090 :
5091 0 : return (const char *) (buf->data);
5092 : }
5093 :
5094 1 : gdBuffer msIO_getStdoutBufferBytes() {
5095 1 : msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
5096 : msIOBuffer *buf;
5097 : gdBuffer gdBuf;
5098 :
5099 1 : if( ctx == NULL || ctx->write_channel == MS_FALSE
5100 1 : || strcmp(ctx->label,"buffer") != 0 )
5101 : {
5102 0 : msSetError( MS_MISCERR, "Can't identify msIO buffer.",
5103 : "msIO_getStdoutBufferString" );
5104 : gdBuf.data = (unsigned char*)"";
5105 : gdBuf.size = 0;
5106 : gdBuf.owns_data = MS_FALSE;
5107 0 : return gdBuf;
5108 : }
5109 :
5110 1 : buf = (msIOBuffer *) ctx->cbData;
5111 :
5112 1 : gdBuf.data = buf->data;
5113 1 : gdBuf.size = buf->data_offset;
5114 : gdBuf.owns_data = MS_TRUE;
5115 :
5116 : /* we are seizing ownership of the buffer contents */
5117 1 : buf->data_offset = 0;
5118 1 : buf->data_len = 0;
5119 1 : buf->data = NULL;
5120 :
5121 1 : return gdBuf;
5122 : }
5123 :
5124 :
5125 : #ifdef __cplusplus
5126 : extern "C" {
5127 : #endif
5128 :
5129 : #ifdef PERL_OBJECT
5130 : #define MAGIC_CLASS _wrap_mapscript_var::
5131 : class _wrap_mapscript_var : public CPerlObj {
5132 : public:
5133 : #else
5134 : #define MAGIC_CLASS
5135 : #endif
5136 : SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
5137 : MAGIC_PPERL
5138 : croak("Value is read-only.");
5139 : return 0;
5140 : }
5141 :
5142 :
5143 : #ifdef PERL_OBJECT
5144 : };
5145 : #endif
5146 :
5147 : #ifdef __cplusplus
5148 : }
5149 : #endif
5150 :
5151 : #ifdef __cplusplus
5152 : extern "C" {
5153 : #endif
5154 0 : XS(_wrap_new_intarray) {
5155 : {
5156 : size_t arg1 ;
5157 : size_t val1 ;
5158 : int ecode1 = 0 ;
5159 : int argvi = 0;
5160 : intarray *result = 0 ;
5161 0 : dXSARGS;
5162 :
5163 0 : if ((items < 1) || (items > 1)) {
5164 0 : SWIG_croak("Usage: new_intarray(nelements);");
5165 : }
5166 0 : ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5167 0 : if (!SWIG_IsOK(ecode1)) {
5168 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_intarray" "', argument " "1"" of type '" "size_t""'");
5169 : }
5170 0 : arg1 = (size_t)(val1);
5171 : result = (intarray *)new_intarray(arg1);
5172 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5173 :
5174 0 : XSRETURN(argvi);
5175 : fail:
5176 :
5177 0 : SWIG_croak_null();
5178 : }
5179 : }
5180 :
5181 :
5182 0 : XS(_wrap_delete_intarray) {
5183 : {
5184 : intarray *arg1 = (intarray *) 0 ;
5185 0 : void *argp1 = 0 ;
5186 : int res1 = 0 ;
5187 : int argvi = 0;
5188 0 : dXSARGS;
5189 :
5190 0 : if ((items < 1) || (items > 1)) {
5191 0 : SWIG_croak("Usage: delete_intarray(self);");
5192 : }
5193 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, SWIG_POINTER_DISOWN | 0 );
5194 0 : if (!SWIG_IsOK(res1)) {
5195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intarray" "', argument " "1"" of type '" "intarray *""'");
5196 : }
5197 0 : arg1 = (intarray *)(argp1);
5198 : delete_intarray(arg1);
5199 0 : ST(argvi) = sv_newmortal();
5200 :
5201 0 : XSRETURN(argvi);
5202 : fail:
5203 :
5204 0 : SWIG_croak_null();
5205 : }
5206 : }
5207 :
5208 :
5209 0 : XS(_wrap_intarray_getitem) {
5210 : {
5211 : intarray *arg1 = (intarray *) 0 ;
5212 : size_t arg2 ;
5213 0 : void *argp1 = 0 ;
5214 : int res1 = 0 ;
5215 : size_t val2 ;
5216 : int ecode2 = 0 ;
5217 : int argvi = 0;
5218 : int result;
5219 0 : dXSARGS;
5220 :
5221 0 : if ((items < 2) || (items > 2)) {
5222 0 : SWIG_croak("Usage: intarray_getitem(self,index);");
5223 : }
5224 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5225 0 : if (!SWIG_IsOK(res1)) {
5226 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_getitem" "', argument " "1"" of type '" "intarray *""'");
5227 : }
5228 0 : arg1 = (intarray *)(argp1);
5229 0 : ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5230 0 : if (!SWIG_IsOK(ecode2)) {
5231 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_getitem" "', argument " "2"" of type '" "size_t""'");
5232 : }
5233 0 : arg2 = (size_t)(val2);
5234 : result = (int)intarray_getitem(arg1,arg2);
5235 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5236 :
5237 :
5238 0 : XSRETURN(argvi);
5239 : fail:
5240 :
5241 :
5242 0 : SWIG_croak_null();
5243 : }
5244 : }
5245 :
5246 :
5247 0 : XS(_wrap_intarray_setitem) {
5248 : {
5249 : intarray *arg1 = (intarray *) 0 ;
5250 : size_t arg2 ;
5251 : int arg3 ;
5252 0 : void *argp1 = 0 ;
5253 : int res1 = 0 ;
5254 : size_t val2 ;
5255 : int ecode2 = 0 ;
5256 : int val3 ;
5257 : int ecode3 = 0 ;
5258 : int argvi = 0;
5259 0 : dXSARGS;
5260 :
5261 0 : if ((items < 3) || (items > 3)) {
5262 0 : SWIG_croak("Usage: intarray_setitem(self,index,value);");
5263 : }
5264 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5265 0 : if (!SWIG_IsOK(res1)) {
5266 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_setitem" "', argument " "1"" of type '" "intarray *""'");
5267 : }
5268 0 : arg1 = (intarray *)(argp1);
5269 0 : ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5270 0 : if (!SWIG_IsOK(ecode2)) {
5271 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_setitem" "', argument " "2"" of type '" "size_t""'");
5272 : }
5273 0 : arg2 = (size_t)(val2);
5274 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5275 0 : if (!SWIG_IsOK(ecode3)) {
5276 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "intarray_setitem" "', argument " "3"" of type '" "int""'");
5277 : }
5278 0 : arg3 = (int)(val3);
5279 : intarray_setitem(arg1,arg2,arg3);
5280 0 : ST(argvi) = sv_newmortal();
5281 :
5282 :
5283 :
5284 0 : XSRETURN(argvi);
5285 : fail:
5286 :
5287 :
5288 :
5289 0 : SWIG_croak_null();
5290 : }
5291 : }
5292 :
5293 :
5294 0 : XS(_wrap_intarray_cast) {
5295 : {
5296 : intarray *arg1 = (intarray *) 0 ;
5297 0 : void *argp1 = 0 ;
5298 : int res1 = 0 ;
5299 : int argvi = 0;
5300 : int *result = 0 ;
5301 0 : dXSARGS;
5302 :
5303 0 : if ((items < 1) || (items > 1)) {
5304 0 : SWIG_croak("Usage: intarray_cast(self);");
5305 : }
5306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5307 0 : if (!SWIG_IsOK(res1)) {
5308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_cast" "', argument " "1"" of type '" "intarray *""'");
5309 : }
5310 0 : arg1 = (intarray *)(argp1);
5311 : result = (int *)intarray_cast(arg1);
5312 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
5313 :
5314 0 : XSRETURN(argvi);
5315 : fail:
5316 :
5317 0 : SWIG_croak_null();
5318 : }
5319 : }
5320 :
5321 :
5322 0 : XS(_wrap_intarray_frompointer) {
5323 : {
5324 : int *arg1 = (int *) 0 ;
5325 0 : void *argp1 = 0 ;
5326 : int res1 = 0 ;
5327 : int argvi = 0;
5328 : intarray *result = 0 ;
5329 0 : dXSARGS;
5330 :
5331 0 : if ((items < 1) || (items > 1)) {
5332 0 : SWIG_croak("Usage: intarray_frompointer(t);");
5333 : }
5334 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
5335 0 : if (!SWIG_IsOK(res1)) {
5336 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_frompointer" "', argument " "1"" of type '" "int *""'");
5337 : }
5338 0 : arg1 = (int *)(argp1);
5339 : result = (intarray *)intarray_frompointer(arg1);
5340 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, 0 | SWIG_SHADOW); argvi++ ;
5341 :
5342 0 : XSRETURN(argvi);
5343 : fail:
5344 :
5345 0 : SWIG_croak_null();
5346 : }
5347 : }
5348 :
5349 :
5350 0 : XS(_wrap_CompositingFilter_filter_set) {
5351 : {
5352 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5353 : char *arg2 = (char *) 0 ;
5354 0 : void *argp1 = 0 ;
5355 : int res1 = 0 ;
5356 : int res2 ;
5357 0 : char *buf2 = 0 ;
5358 0 : int alloc2 = 0 ;
5359 : int argvi = 0;
5360 0 : dXSARGS;
5361 :
5362 0 : if ((items < 2) || (items > 2)) {
5363 0 : SWIG_croak("Usage: CompositingFilter_filter_set(self,filter);");
5364 : }
5365 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5366 0 : if (!SWIG_IsOK(res1)) {
5367 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5368 : }
5369 0 : arg1 = (struct _CompositingFilter *)(argp1);
5370 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
5371 0 : if (!SWIG_IsOK(res2)) {
5372 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_filter_set" "', argument " "2"" of type '" "char *""'");
5373 : }
5374 0 : arg2 = (char *)(buf2);
5375 : {
5376 0 : if (arg1->filter) free((char*)arg1->filter);
5377 0 : if (arg2) {
5378 0 : arg1->filter = (char *) malloc(strlen(arg2)+1);
5379 : strcpy((char*)arg1->filter,arg2);
5380 : } else {
5381 0 : arg1->filter = 0;
5382 : }
5383 : }
5384 0 : ST(argvi) = sv_newmortal();
5385 :
5386 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5387 0 : XSRETURN(argvi);
5388 : fail:
5389 :
5390 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5391 0 : SWIG_croak_null();
5392 : }
5393 : }
5394 :
5395 :
5396 0 : XS(_wrap_CompositingFilter_filter_get) {
5397 : {
5398 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5399 0 : void *argp1 = 0 ;
5400 : int res1 = 0 ;
5401 : int argvi = 0;
5402 : char *result = 0 ;
5403 0 : dXSARGS;
5404 :
5405 0 : if ((items < 1) || (items > 1)) {
5406 0 : SWIG_croak("Usage: CompositingFilter_filter_get(self);");
5407 : }
5408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5409 0 : if (!SWIG_IsOK(res1)) {
5410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5411 : }
5412 0 : arg1 = (struct _CompositingFilter *)(argp1);
5413 0 : result = (char *) ((arg1)->filter);
5414 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5415 :
5416 0 : XSRETURN(argvi);
5417 : fail:
5418 :
5419 0 : SWIG_croak_null();
5420 : }
5421 : }
5422 :
5423 :
5424 0 : XS(_wrap_CompositingFilter_next_set) {
5425 : {
5426 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5427 : struct _CompositingFilter *arg2 = (struct _CompositingFilter *) 0 ;
5428 0 : void *argp1 = 0 ;
5429 : int res1 = 0 ;
5430 0 : void *argp2 = 0 ;
5431 : int res2 = 0 ;
5432 : int argvi = 0;
5433 0 : dXSARGS;
5434 :
5435 0 : if ((items < 2) || (items > 2)) {
5436 0 : SWIG_croak("Usage: CompositingFilter_next_set(self,next);");
5437 : }
5438 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5439 0 : if (!SWIG_IsOK(res1)) {
5440 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5441 : }
5442 0 : arg1 = (struct _CompositingFilter *)(argp1);
5443 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5444 0 : if (!SWIG_IsOK(res2)) {
5445 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_next_set" "', argument " "2"" of type '" "struct _CompositingFilter *""'");
5446 : }
5447 0 : arg2 = (struct _CompositingFilter *)(argp2);
5448 0 : if (arg1) (arg1)->next = arg2;
5449 0 : ST(argvi) = sv_newmortal();
5450 :
5451 :
5452 0 : XSRETURN(argvi);
5453 : fail:
5454 :
5455 :
5456 0 : SWIG_croak_null();
5457 : }
5458 : }
5459 :
5460 :
5461 0 : XS(_wrap_CompositingFilter_next_get) {
5462 : {
5463 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5464 0 : void *argp1 = 0 ;
5465 : int res1 = 0 ;
5466 : int argvi = 0;
5467 : struct _CompositingFilter *result = 0 ;
5468 0 : dXSARGS;
5469 :
5470 0 : if ((items < 1) || (items > 1)) {
5471 0 : SWIG_croak("Usage: CompositingFilter_next_get(self);");
5472 : }
5473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5474 0 : if (!SWIG_IsOK(res1)) {
5475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5476 : }
5477 0 : arg1 = (struct _CompositingFilter *)(argp1);
5478 0 : result = (struct _CompositingFilter *) ((arg1)->next);
5479 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
5480 :
5481 0 : XSRETURN(argvi);
5482 : fail:
5483 :
5484 0 : SWIG_croak_null();
5485 : }
5486 : }
5487 :
5488 :
5489 0 : XS(_wrap_new_CompositingFilter) {
5490 : {
5491 : int argvi = 0;
5492 : struct _CompositingFilter *result = 0 ;
5493 0 : dXSARGS;
5494 :
5495 0 : if ((items < 0) || (items > 0)) {
5496 0 : SWIG_croak("Usage: new_CompositingFilter();");
5497 : }
5498 0 : result = (struct _CompositingFilter *)calloc(1, sizeof(struct _CompositingFilter));
5499 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5500 0 : XSRETURN(argvi);
5501 : fail:
5502 0 : SWIG_croak_null();
5503 : }
5504 : }
5505 :
5506 :
5507 0 : XS(_wrap_delete_CompositingFilter) {
5508 : {
5509 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5510 0 : void *argp1 = 0 ;
5511 : int res1 = 0 ;
5512 : int argvi = 0;
5513 0 : dXSARGS;
5514 :
5515 0 : if ((items < 1) || (items > 1)) {
5516 0 : SWIG_croak("Usage: delete_CompositingFilter(self);");
5517 : }
5518 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5519 0 : if (!SWIG_IsOK(res1)) {
5520 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositingFilter" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5521 : }
5522 0 : arg1 = (struct _CompositingFilter *)(argp1);
5523 0 : free((char *) arg1);
5524 0 : ST(argvi) = sv_newmortal();
5525 :
5526 0 : XSRETURN(argvi);
5527 : fail:
5528 :
5529 0 : SWIG_croak_null();
5530 : }
5531 : }
5532 :
5533 :
5534 0 : XS(_wrap_LayerCompositer_comp_op_set) {
5535 : {
5536 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5537 : CompositingOperation arg2 ;
5538 0 : void *argp1 = 0 ;
5539 : int res1 = 0 ;
5540 : int val2 ;
5541 : int ecode2 = 0 ;
5542 : int argvi = 0;
5543 0 : dXSARGS;
5544 :
5545 0 : if ((items < 2) || (items > 2)) {
5546 0 : SWIG_croak("Usage: LayerCompositer_comp_op_set(self,comp_op);");
5547 : }
5548 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5549 0 : if (!SWIG_IsOK(res1)) {
5550 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5551 : }
5552 0 : arg1 = (struct _LayerCompositer *)(argp1);
5553 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5554 0 : if (!SWIG_IsOK(ecode2)) {
5555 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_comp_op_set" "', argument " "2"" of type '" "CompositingOperation""'");
5556 : }
5557 0 : arg2 = (CompositingOperation)(val2);
5558 0 : if (arg1) (arg1)->comp_op = arg2;
5559 0 : ST(argvi) = sv_newmortal();
5560 :
5561 :
5562 0 : XSRETURN(argvi);
5563 : fail:
5564 :
5565 :
5566 0 : SWIG_croak_null();
5567 : }
5568 : }
5569 :
5570 :
5571 0 : XS(_wrap_LayerCompositer_comp_op_get) {
5572 : {
5573 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5574 0 : void *argp1 = 0 ;
5575 : int res1 = 0 ;
5576 : int argvi = 0;
5577 : CompositingOperation result;
5578 0 : dXSARGS;
5579 :
5580 0 : if ((items < 1) || (items > 1)) {
5581 0 : SWIG_croak("Usage: LayerCompositer_comp_op_get(self);");
5582 : }
5583 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5584 0 : if (!SWIG_IsOK(res1)) {
5585 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5586 : }
5587 0 : arg1 = (struct _LayerCompositer *)(argp1);
5588 0 : result = (CompositingOperation) ((arg1)->comp_op);
5589 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5590 :
5591 0 : XSRETURN(argvi);
5592 : fail:
5593 :
5594 0 : SWIG_croak_null();
5595 : }
5596 : }
5597 :
5598 :
5599 0 : XS(_wrap_LayerCompositer_opacity_set) {
5600 : {
5601 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5602 : int arg2 ;
5603 0 : void *argp1 = 0 ;
5604 : int res1 = 0 ;
5605 : int val2 ;
5606 : int ecode2 = 0 ;
5607 : int argvi = 0;
5608 0 : dXSARGS;
5609 :
5610 0 : if ((items < 2) || (items > 2)) {
5611 0 : SWIG_croak("Usage: LayerCompositer_opacity_set(self,opacity);");
5612 : }
5613 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5614 0 : if (!SWIG_IsOK(res1)) {
5615 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5616 : }
5617 0 : arg1 = (struct _LayerCompositer *)(argp1);
5618 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5619 0 : if (!SWIG_IsOK(ecode2)) {
5620 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_opacity_set" "', argument " "2"" of type '" "int""'");
5621 : }
5622 0 : arg2 = (int)(val2);
5623 0 : if (arg1) (arg1)->opacity = arg2;
5624 0 : ST(argvi) = sv_newmortal();
5625 :
5626 :
5627 0 : XSRETURN(argvi);
5628 : fail:
5629 :
5630 :
5631 0 : SWIG_croak_null();
5632 : }
5633 : }
5634 :
5635 :
5636 0 : XS(_wrap_LayerCompositer_opacity_get) {
5637 : {
5638 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5639 0 : void *argp1 = 0 ;
5640 : int res1 = 0 ;
5641 : int argvi = 0;
5642 : int result;
5643 0 : dXSARGS;
5644 :
5645 0 : if ((items < 1) || (items > 1)) {
5646 0 : SWIG_croak("Usage: LayerCompositer_opacity_get(self);");
5647 : }
5648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5649 0 : if (!SWIG_IsOK(res1)) {
5650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5651 : }
5652 0 : arg1 = (struct _LayerCompositer *)(argp1);
5653 0 : result = (int) ((arg1)->opacity);
5654 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5655 :
5656 0 : XSRETURN(argvi);
5657 : fail:
5658 :
5659 0 : SWIG_croak_null();
5660 : }
5661 : }
5662 :
5663 :
5664 0 : XS(_wrap_LayerCompositer_filter_set) {
5665 : {
5666 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5667 : CompositingFilter *arg2 = (CompositingFilter *) 0 ;
5668 0 : void *argp1 = 0 ;
5669 : int res1 = 0 ;
5670 0 : void *argp2 = 0 ;
5671 : int res2 = 0 ;
5672 : int argvi = 0;
5673 0 : dXSARGS;
5674 :
5675 0 : if ((items < 2) || (items > 2)) {
5676 0 : SWIG_croak("Usage: LayerCompositer_filter_set(self,filter);");
5677 : }
5678 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5679 0 : if (!SWIG_IsOK(res1)) {
5680 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5681 : }
5682 0 : arg1 = (struct _LayerCompositer *)(argp1);
5683 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5684 0 : if (!SWIG_IsOK(res2)) {
5685 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_filter_set" "', argument " "2"" of type '" "CompositingFilter *""'");
5686 : }
5687 0 : arg2 = (CompositingFilter *)(argp2);
5688 0 : if (arg1) (arg1)->filter = arg2;
5689 0 : ST(argvi) = sv_newmortal();
5690 :
5691 :
5692 0 : XSRETURN(argvi);
5693 : fail:
5694 :
5695 :
5696 0 : SWIG_croak_null();
5697 : }
5698 : }
5699 :
5700 :
5701 0 : XS(_wrap_LayerCompositer_filter_get) {
5702 : {
5703 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5704 0 : void *argp1 = 0 ;
5705 : int res1 = 0 ;
5706 : int argvi = 0;
5707 : CompositingFilter *result = 0 ;
5708 0 : dXSARGS;
5709 :
5710 0 : if ((items < 1) || (items > 1)) {
5711 0 : SWIG_croak("Usage: LayerCompositer_filter_get(self);");
5712 : }
5713 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5714 0 : if (!SWIG_IsOK(res1)) {
5715 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5716 : }
5717 0 : arg1 = (struct _LayerCompositer *)(argp1);
5718 0 : result = (CompositingFilter *) ((arg1)->filter);
5719 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
5720 :
5721 0 : XSRETURN(argvi);
5722 : fail:
5723 :
5724 0 : SWIG_croak_null();
5725 : }
5726 : }
5727 :
5728 :
5729 0 : XS(_wrap_LayerCompositer_next_set) {
5730 : {
5731 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5732 : struct _LayerCompositer *arg2 = (struct _LayerCompositer *) 0 ;
5733 0 : void *argp1 = 0 ;
5734 : int res1 = 0 ;
5735 0 : void *argp2 = 0 ;
5736 : int res2 = 0 ;
5737 : int argvi = 0;
5738 0 : dXSARGS;
5739 :
5740 0 : if ((items < 2) || (items > 2)) {
5741 0 : SWIG_croak("Usage: LayerCompositer_next_set(self,next);");
5742 : }
5743 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5744 0 : if (!SWIG_IsOK(res1)) {
5745 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5746 : }
5747 0 : arg1 = (struct _LayerCompositer *)(argp1);
5748 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
5749 0 : if (!SWIG_IsOK(res2)) {
5750 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_next_set" "', argument " "2"" of type '" "struct _LayerCompositer *""'");
5751 : }
5752 0 : arg2 = (struct _LayerCompositer *)(argp2);
5753 0 : if (arg1) (arg1)->next = arg2;
5754 0 : ST(argvi) = sv_newmortal();
5755 :
5756 :
5757 0 : XSRETURN(argvi);
5758 : fail:
5759 :
5760 :
5761 0 : SWIG_croak_null();
5762 : }
5763 : }
5764 :
5765 :
5766 0 : XS(_wrap_LayerCompositer_next_get) {
5767 : {
5768 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5769 0 : void *argp1 = 0 ;
5770 : int res1 = 0 ;
5771 : int argvi = 0;
5772 : struct _LayerCompositer *result = 0 ;
5773 0 : dXSARGS;
5774 :
5775 0 : if ((items < 1) || (items > 1)) {
5776 0 : SWIG_croak("Usage: LayerCompositer_next_get(self);");
5777 : }
5778 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5779 0 : if (!SWIG_IsOK(res1)) {
5780 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5781 : }
5782 0 : arg1 = (struct _LayerCompositer *)(argp1);
5783 0 : result = (struct _LayerCompositer *) ((arg1)->next);
5784 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
5785 :
5786 0 : XSRETURN(argvi);
5787 : fail:
5788 :
5789 0 : SWIG_croak_null();
5790 : }
5791 : }
5792 :
5793 :
5794 0 : XS(_wrap_new_LayerCompositer) {
5795 : {
5796 : int argvi = 0;
5797 : struct _LayerCompositer *result = 0 ;
5798 0 : dXSARGS;
5799 :
5800 0 : if ((items < 0) || (items > 0)) {
5801 0 : SWIG_croak("Usage: new_LayerCompositer();");
5802 : }
5803 0 : result = (struct _LayerCompositer *)calloc(1, sizeof(struct _LayerCompositer));
5804 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5805 0 : XSRETURN(argvi);
5806 : fail:
5807 0 : SWIG_croak_null();
5808 : }
5809 : }
5810 :
5811 :
5812 0 : XS(_wrap_delete_LayerCompositer) {
5813 : {
5814 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5815 0 : void *argp1 = 0 ;
5816 : int res1 = 0 ;
5817 : int argvi = 0;
5818 0 : dXSARGS;
5819 :
5820 0 : if ((items < 1) || (items > 1)) {
5821 0 : SWIG_croak("Usage: delete_LayerCompositer(self);");
5822 : }
5823 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
5824 0 : if (!SWIG_IsOK(res1)) {
5825 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayerCompositer" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5826 : }
5827 0 : arg1 = (struct _LayerCompositer *)(argp1);
5828 0 : free((char *) arg1);
5829 0 : ST(argvi) = sv_newmortal();
5830 :
5831 0 : XSRETURN(argvi);
5832 : fail:
5833 :
5834 0 : SWIG_croak_null();
5835 : }
5836 : }
5837 :
5838 :
5839 0 : XS(_wrap_fontSetObj_filename_get) {
5840 : {
5841 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5842 0 : void *argp1 = 0 ;
5843 : int res1 = 0 ;
5844 : int argvi = 0;
5845 : char *result = 0 ;
5846 0 : dXSARGS;
5847 :
5848 0 : if ((items < 1) || (items > 1)) {
5849 0 : SWIG_croak("Usage: fontSetObj_filename_get(self);");
5850 : }
5851 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5852 0 : if (!SWIG_IsOK(res1)) {
5853 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_filename_get" "', argument " "1"" of type '" "fontSetObj *""'");
5854 : }
5855 0 : arg1 = (fontSetObj *)(argp1);
5856 0 : result = (char *) ((arg1)->filename);
5857 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5858 :
5859 0 : XSRETURN(argvi);
5860 : fail:
5861 :
5862 0 : SWIG_croak_null();
5863 : }
5864 : }
5865 :
5866 :
5867 0 : XS(_wrap_fontSetObj_numfonts_get) {
5868 : {
5869 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5870 0 : void *argp1 = 0 ;
5871 : int res1 = 0 ;
5872 : int argvi = 0;
5873 : int result;
5874 0 : dXSARGS;
5875 :
5876 0 : if ((items < 1) || (items > 1)) {
5877 0 : SWIG_croak("Usage: fontSetObj_numfonts_get(self);");
5878 : }
5879 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5880 0 : if (!SWIG_IsOK(res1)) {
5881 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_numfonts_get" "', argument " "1"" of type '" "fontSetObj *""'");
5882 : }
5883 0 : arg1 = (fontSetObj *)(argp1);
5884 0 : result = (int) ((arg1)->numfonts);
5885 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5886 :
5887 0 : XSRETURN(argvi);
5888 : fail:
5889 :
5890 0 : SWIG_croak_null();
5891 : }
5892 : }
5893 :
5894 :
5895 0 : XS(_wrap_fontSetObj_fonts_get) {
5896 : {
5897 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5898 0 : void *argp1 = 0 ;
5899 : int res1 = 0 ;
5900 : int argvi = 0;
5901 : hashTableObj *result = 0 ;
5902 0 : dXSARGS;
5903 :
5904 0 : if ((items < 1) || (items > 1)) {
5905 0 : SWIG_croak("Usage: fontSetObj_fonts_get(self);");
5906 : }
5907 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5908 0 : if (!SWIG_IsOK(res1)) {
5909 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_fonts_get" "', argument " "1"" of type '" "fontSetObj *""'");
5910 : }
5911 0 : arg1 = (fontSetObj *)(argp1);
5912 0 : result = (hashTableObj *)& ((arg1)->fonts);
5913 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
5914 :
5915 0 : XSRETURN(argvi);
5916 : fail:
5917 :
5918 0 : SWIG_croak_null();
5919 : }
5920 : }
5921 :
5922 :
5923 0 : XS(_wrap_new_fontSetObj) {
5924 : {
5925 : int argvi = 0;
5926 : fontSetObj *result = 0 ;
5927 0 : dXSARGS;
5928 :
5929 0 : if ((items < 0) || (items > 0)) {
5930 0 : SWIG_croak("Usage: new_fontSetObj();");
5931 : }
5932 0 : result = (fontSetObj *)calloc(1, sizeof(fontSetObj));
5933 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5934 0 : XSRETURN(argvi);
5935 : fail:
5936 0 : SWIG_croak_null();
5937 : }
5938 : }
5939 :
5940 :
5941 0 : XS(_wrap_delete_fontSetObj) {
5942 : {
5943 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5944 0 : void *argp1 = 0 ;
5945 : int res1 = 0 ;
5946 : int argvi = 0;
5947 0 : dXSARGS;
5948 :
5949 0 : if ((items < 1) || (items > 1)) {
5950 0 : SWIG_croak("Usage: delete_fontSetObj(self);");
5951 : }
5952 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, SWIG_POINTER_DISOWN | 0 );
5953 0 : if (!SWIG_IsOK(res1)) {
5954 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_fontSetObj" "', argument " "1"" of type '" "fontSetObj *""'");
5955 : }
5956 0 : arg1 = (fontSetObj *)(argp1);
5957 0 : free((char *) arg1);
5958 0 : ST(argvi) = sv_newmortal();
5959 :
5960 0 : XSRETURN(argvi);
5961 : fail:
5962 :
5963 0 : SWIG_croak_null();
5964 : }
5965 : }
5966 :
5967 :
5968 0 : XS(_wrap_clusterObj_maxdistance_set) {
5969 : {
5970 : clusterObj *arg1 = (clusterObj *) 0 ;
5971 : double arg2 ;
5972 0 : void *argp1 = 0 ;
5973 : int res1 = 0 ;
5974 : double val2 ;
5975 : int ecode2 = 0 ;
5976 : int argvi = 0;
5977 0 : dXSARGS;
5978 :
5979 0 : if ((items < 2) || (items > 2)) {
5980 0 : SWIG_croak("Usage: clusterObj_maxdistance_set(self,maxdistance);");
5981 : }
5982 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
5983 0 : if (!SWIG_IsOK(res1)) {
5984 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_set" "', argument " "1"" of type '" "clusterObj *""'");
5985 : }
5986 0 : arg1 = (clusterObj *)(argp1);
5987 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5988 0 : if (!SWIG_IsOK(ecode2)) {
5989 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_maxdistance_set" "', argument " "2"" of type '" "double""'");
5990 : }
5991 0 : arg2 = (double)(val2);
5992 0 : if (arg1) (arg1)->maxdistance = arg2;
5993 0 : ST(argvi) = sv_newmortal();
5994 :
5995 :
5996 0 : XSRETURN(argvi);
5997 : fail:
5998 :
5999 :
6000 0 : SWIG_croak_null();
6001 : }
6002 : }
6003 :
6004 :
6005 0 : XS(_wrap_clusterObj_maxdistance_get) {
6006 : {
6007 : clusterObj *arg1 = (clusterObj *) 0 ;
6008 0 : void *argp1 = 0 ;
6009 : int res1 = 0 ;
6010 : int argvi = 0;
6011 : double result;
6012 0 : dXSARGS;
6013 :
6014 0 : if ((items < 1) || (items > 1)) {
6015 0 : SWIG_croak("Usage: clusterObj_maxdistance_get(self);");
6016 : }
6017 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6018 0 : if (!SWIG_IsOK(res1)) {
6019 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_get" "', argument " "1"" of type '" "clusterObj *""'");
6020 : }
6021 0 : arg1 = (clusterObj *)(argp1);
6022 0 : result = (double) ((arg1)->maxdistance);
6023 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6024 :
6025 0 : XSRETURN(argvi);
6026 : fail:
6027 :
6028 0 : SWIG_croak_null();
6029 : }
6030 : }
6031 :
6032 :
6033 0 : XS(_wrap_clusterObj_buffer_set) {
6034 : {
6035 : clusterObj *arg1 = (clusterObj *) 0 ;
6036 : double arg2 ;
6037 0 : void *argp1 = 0 ;
6038 : int res1 = 0 ;
6039 : double val2 ;
6040 : int ecode2 = 0 ;
6041 : int argvi = 0;
6042 0 : dXSARGS;
6043 :
6044 0 : if ((items < 2) || (items > 2)) {
6045 0 : SWIG_croak("Usage: clusterObj_buffer_set(self,buffer);");
6046 : }
6047 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6048 0 : if (!SWIG_IsOK(res1)) {
6049 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_set" "', argument " "1"" of type '" "clusterObj *""'");
6050 : }
6051 0 : arg1 = (clusterObj *)(argp1);
6052 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6053 0 : if (!SWIG_IsOK(ecode2)) {
6054 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_buffer_set" "', argument " "2"" of type '" "double""'");
6055 : }
6056 0 : arg2 = (double)(val2);
6057 0 : if (arg1) (arg1)->buffer = arg2;
6058 0 : ST(argvi) = sv_newmortal();
6059 :
6060 :
6061 0 : XSRETURN(argvi);
6062 : fail:
6063 :
6064 :
6065 0 : SWIG_croak_null();
6066 : }
6067 : }
6068 :
6069 :
6070 0 : XS(_wrap_clusterObj_buffer_get) {
6071 : {
6072 : clusterObj *arg1 = (clusterObj *) 0 ;
6073 0 : void *argp1 = 0 ;
6074 : int res1 = 0 ;
6075 : int argvi = 0;
6076 : double result;
6077 0 : dXSARGS;
6078 :
6079 0 : if ((items < 1) || (items > 1)) {
6080 0 : SWIG_croak("Usage: clusterObj_buffer_get(self);");
6081 : }
6082 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6083 0 : if (!SWIG_IsOK(res1)) {
6084 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_get" "', argument " "1"" of type '" "clusterObj *""'");
6085 : }
6086 0 : arg1 = (clusterObj *)(argp1);
6087 0 : result = (double) ((arg1)->buffer);
6088 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6089 :
6090 0 : XSRETURN(argvi);
6091 : fail:
6092 :
6093 0 : SWIG_croak_null();
6094 : }
6095 : }
6096 :
6097 :
6098 0 : XS(_wrap_clusterObj_region_set) {
6099 : {
6100 : clusterObj *arg1 = (clusterObj *) 0 ;
6101 : char *arg2 = (char *) 0 ;
6102 0 : void *argp1 = 0 ;
6103 : int res1 = 0 ;
6104 : int res2 ;
6105 0 : char *buf2 = 0 ;
6106 0 : int alloc2 = 0 ;
6107 : int argvi = 0;
6108 0 : dXSARGS;
6109 :
6110 0 : if ((items < 2) || (items > 2)) {
6111 0 : SWIG_croak("Usage: clusterObj_region_set(self,region);");
6112 : }
6113 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6114 0 : if (!SWIG_IsOK(res1)) {
6115 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_set" "', argument " "1"" of type '" "clusterObj *""'");
6116 : }
6117 0 : arg1 = (clusterObj *)(argp1);
6118 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6119 0 : if (!SWIG_IsOK(res2)) {
6120 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_region_set" "', argument " "2"" of type '" "char *""'");
6121 : }
6122 0 : arg2 = (char *)(buf2);
6123 : {
6124 0 : if (arg1->region) free((char*)arg1->region);
6125 0 : if (arg2) {
6126 0 : arg1->region = (char *) malloc(strlen(arg2)+1);
6127 : strcpy((char*)arg1->region,arg2);
6128 : } else {
6129 0 : arg1->region = 0;
6130 : }
6131 : }
6132 0 : ST(argvi) = sv_newmortal();
6133 :
6134 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6135 0 : XSRETURN(argvi);
6136 : fail:
6137 :
6138 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6139 0 : SWIG_croak_null();
6140 : }
6141 : }
6142 :
6143 :
6144 0 : XS(_wrap_clusterObj_region_get) {
6145 : {
6146 : clusterObj *arg1 = (clusterObj *) 0 ;
6147 0 : void *argp1 = 0 ;
6148 : int res1 = 0 ;
6149 : int argvi = 0;
6150 : char *result = 0 ;
6151 0 : dXSARGS;
6152 :
6153 0 : if ((items < 1) || (items > 1)) {
6154 0 : SWIG_croak("Usage: clusterObj_region_get(self);");
6155 : }
6156 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6157 0 : if (!SWIG_IsOK(res1)) {
6158 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_get" "', argument " "1"" of type '" "clusterObj *""'");
6159 : }
6160 0 : arg1 = (clusterObj *)(argp1);
6161 0 : result = (char *) ((arg1)->region);
6162 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6163 :
6164 0 : XSRETURN(argvi);
6165 : fail:
6166 :
6167 0 : SWIG_croak_null();
6168 : }
6169 : }
6170 :
6171 :
6172 0 : XS(_wrap_clusterObj_updateFromString) {
6173 : {
6174 : clusterObj *arg1 = (clusterObj *) 0 ;
6175 : char *arg2 = (char *) 0 ;
6176 0 : void *argp1 = 0 ;
6177 : int res1 = 0 ;
6178 : int res2 ;
6179 0 : char *buf2 = 0 ;
6180 0 : int alloc2 = 0 ;
6181 : int argvi = 0;
6182 : int result;
6183 0 : dXSARGS;
6184 :
6185 0 : if ((items < 2) || (items > 2)) {
6186 0 : SWIG_croak("Usage: clusterObj_updateFromString(self,snippet);");
6187 : }
6188 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6189 0 : if (!SWIG_IsOK(res1)) {
6190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_updateFromString" "', argument " "1"" of type '" "clusterObj *""'");
6191 : }
6192 0 : arg1 = (clusterObj *)(argp1);
6193 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6194 0 : if (!SWIG_IsOK(res2)) {
6195 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_updateFromString" "', argument " "2"" of type '" "char *""'");
6196 : }
6197 0 : arg2 = (char *)(buf2);
6198 : result = (int)clusterObj_updateFromString(arg1,arg2);
6199 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6200 :
6201 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6202 0 : XSRETURN(argvi);
6203 : fail:
6204 :
6205 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6206 0 : SWIG_croak_null();
6207 : }
6208 : }
6209 :
6210 :
6211 0 : XS(_wrap_clusterObj_convertToString) {
6212 : {
6213 : clusterObj *arg1 = (clusterObj *) 0 ;
6214 0 : void *argp1 = 0 ;
6215 : int res1 = 0 ;
6216 : int argvi = 0;
6217 : char *result = 0 ;
6218 0 : dXSARGS;
6219 :
6220 0 : if ((items < 1) || (items > 1)) {
6221 0 : SWIG_croak("Usage: clusterObj_convertToString(self);");
6222 : }
6223 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6224 0 : if (!SWIG_IsOK(res1)) {
6225 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_convertToString" "', argument " "1"" of type '" "clusterObj *""'");
6226 : }
6227 0 : arg1 = (clusterObj *)(argp1);
6228 : result = (char *)clusterObj_convertToString(arg1);
6229 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6230 :
6231 0 : free((char*)result);
6232 0 : XSRETURN(argvi);
6233 : fail:
6234 :
6235 0 : SWIG_croak_null();
6236 : }
6237 : }
6238 :
6239 :
6240 0 : XS(_wrap_clusterObj_setGroup) {
6241 : {
6242 : clusterObj *arg1 = (clusterObj *) 0 ;
6243 : char *arg2 = (char *) 0 ;
6244 0 : void *argp1 = 0 ;
6245 : int res1 = 0 ;
6246 : int res2 ;
6247 0 : char *buf2 = 0 ;
6248 0 : int alloc2 = 0 ;
6249 : int argvi = 0;
6250 : int result;
6251 0 : dXSARGS;
6252 :
6253 0 : if ((items < 2) || (items > 2)) {
6254 0 : SWIG_croak("Usage: clusterObj_setGroup(self,group);");
6255 : }
6256 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6257 0 : if (!SWIG_IsOK(res1)) {
6258 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setGroup" "', argument " "1"" of type '" "clusterObj *""'");
6259 : }
6260 0 : arg1 = (clusterObj *)(argp1);
6261 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6262 0 : if (!SWIG_IsOK(res2)) {
6263 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setGroup" "', argument " "2"" of type '" "char *""'");
6264 : }
6265 0 : arg2 = (char *)(buf2);
6266 0 : result = (int)clusterObj_setGroup(arg1,arg2);
6267 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6268 :
6269 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6270 0 : XSRETURN(argvi);
6271 : fail:
6272 :
6273 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6274 0 : SWIG_croak_null();
6275 : }
6276 : }
6277 :
6278 :
6279 0 : XS(_wrap_clusterObj_getGroupString) {
6280 : {
6281 : clusterObj *arg1 = (clusterObj *) 0 ;
6282 0 : void *argp1 = 0 ;
6283 : int res1 = 0 ;
6284 : int argvi = 0;
6285 : char *result = 0 ;
6286 0 : dXSARGS;
6287 :
6288 0 : if ((items < 1) || (items > 1)) {
6289 0 : SWIG_croak("Usage: clusterObj_getGroupString(self);");
6290 : }
6291 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6292 0 : if (!SWIG_IsOK(res1)) {
6293 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getGroupString" "', argument " "1"" of type '" "clusterObj *""'");
6294 : }
6295 0 : arg1 = (clusterObj *)(argp1);
6296 : result = (char *)clusterObj_getGroupString(arg1);
6297 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6298 :
6299 0 : free((char*)result);
6300 0 : XSRETURN(argvi);
6301 : fail:
6302 :
6303 0 : SWIG_croak_null();
6304 : }
6305 : }
6306 :
6307 :
6308 0 : XS(_wrap_clusterObj_setFilter) {
6309 : {
6310 : clusterObj *arg1 = (clusterObj *) 0 ;
6311 : char *arg2 = (char *) 0 ;
6312 0 : void *argp1 = 0 ;
6313 : int res1 = 0 ;
6314 : int res2 ;
6315 0 : char *buf2 = 0 ;
6316 0 : int alloc2 = 0 ;
6317 : int argvi = 0;
6318 : int result;
6319 0 : dXSARGS;
6320 :
6321 0 : if ((items < 2) || (items > 2)) {
6322 0 : SWIG_croak("Usage: clusterObj_setFilter(self,filter);");
6323 : }
6324 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6325 0 : if (!SWIG_IsOK(res1)) {
6326 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setFilter" "', argument " "1"" of type '" "clusterObj *""'");
6327 : }
6328 0 : arg1 = (clusterObj *)(argp1);
6329 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6330 0 : if (!SWIG_IsOK(res2)) {
6331 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setFilter" "', argument " "2"" of type '" "char *""'");
6332 : }
6333 0 : arg2 = (char *)(buf2);
6334 0 : result = (int)clusterObj_setFilter(arg1,arg2);
6335 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6336 :
6337 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6338 0 : XSRETURN(argvi);
6339 : fail:
6340 :
6341 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6342 0 : SWIG_croak_null();
6343 : }
6344 : }
6345 :
6346 :
6347 0 : XS(_wrap_clusterObj_getFilterString) {
6348 : {
6349 : clusterObj *arg1 = (clusterObj *) 0 ;
6350 0 : void *argp1 = 0 ;
6351 : int res1 = 0 ;
6352 : int argvi = 0;
6353 : char *result = 0 ;
6354 0 : dXSARGS;
6355 :
6356 0 : if ((items < 1) || (items > 1)) {
6357 0 : SWIG_croak("Usage: clusterObj_getFilterString(self);");
6358 : }
6359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6360 0 : if (!SWIG_IsOK(res1)) {
6361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getFilterString" "', argument " "1"" of type '" "clusterObj *""'");
6362 : }
6363 0 : arg1 = (clusterObj *)(argp1);
6364 : result = (char *)clusterObj_getFilterString(arg1);
6365 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6366 :
6367 0 : free((char*)result);
6368 0 : XSRETURN(argvi);
6369 : fail:
6370 :
6371 0 : SWIG_croak_null();
6372 : }
6373 : }
6374 :
6375 :
6376 0 : XS(_wrap_new_clusterObj) {
6377 : {
6378 : int argvi = 0;
6379 : clusterObj *result = 0 ;
6380 0 : dXSARGS;
6381 :
6382 0 : if ((items < 0) || (items > 0)) {
6383 0 : SWIG_croak("Usage: new_clusterObj();");
6384 : }
6385 0 : result = (clusterObj *)calloc(1, sizeof(clusterObj));
6386 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
6387 0 : XSRETURN(argvi);
6388 : fail:
6389 0 : SWIG_croak_null();
6390 : }
6391 : }
6392 :
6393 :
6394 0 : XS(_wrap_delete_clusterObj) {
6395 : {
6396 : clusterObj *arg1 = (clusterObj *) 0 ;
6397 0 : void *argp1 = 0 ;
6398 : int res1 = 0 ;
6399 : int argvi = 0;
6400 0 : dXSARGS;
6401 :
6402 0 : if ((items < 1) || (items > 1)) {
6403 0 : SWIG_croak("Usage: delete_clusterObj(self);");
6404 : }
6405 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, SWIG_POINTER_DISOWN | 0 );
6406 0 : if (!SWIG_IsOK(res1)) {
6407 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_clusterObj" "', argument " "1"" of type '" "clusterObj *""'");
6408 : }
6409 0 : arg1 = (clusterObj *)(argp1);
6410 0 : free((char *) arg1);
6411 0 : ST(argvi) = sv_newmortal();
6412 :
6413 0 : XSRETURN(argvi);
6414 : fail:
6415 :
6416 0 : SWIG_croak_null();
6417 : }
6418 : }
6419 :
6420 :
6421 0 : XS(_wrap_outputFormatObj_numformatoptions_get) {
6422 : {
6423 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6424 0 : void *argp1 = 0 ;
6425 : int res1 = 0 ;
6426 : int argvi = 0;
6427 : int result;
6428 0 : dXSARGS;
6429 :
6430 0 : if ((items < 1) || (items > 1)) {
6431 0 : SWIG_croak("Usage: outputFormatObj_numformatoptions_get(self);");
6432 : }
6433 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6434 0 : if (!SWIG_IsOK(res1)) {
6435 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_numformatoptions_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6436 : }
6437 0 : arg1 = (outputFormatObj *)(argp1);
6438 0 : result = (int) ((arg1)->numformatoptions);
6439 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6440 :
6441 0 : XSRETURN(argvi);
6442 : fail:
6443 :
6444 0 : SWIG_croak_null();
6445 : }
6446 : }
6447 :
6448 :
6449 0 : XS(_wrap_outputFormatObj_name_set) {
6450 : {
6451 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6452 : char *arg2 = (char *) 0 ;
6453 0 : void *argp1 = 0 ;
6454 : int res1 = 0 ;
6455 : int res2 ;
6456 0 : char *buf2 = 0 ;
6457 0 : int alloc2 = 0 ;
6458 : int argvi = 0;
6459 0 : dXSARGS;
6460 :
6461 0 : if ((items < 2) || (items > 2)) {
6462 0 : SWIG_croak("Usage: outputFormatObj_name_set(self,name);");
6463 : }
6464 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6465 0 : if (!SWIG_IsOK(res1)) {
6466 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6467 : }
6468 0 : arg1 = (outputFormatObj *)(argp1);
6469 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6470 0 : if (!SWIG_IsOK(res2)) {
6471 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_name_set" "', argument " "2"" of type '" "char *""'");
6472 : }
6473 0 : arg2 = (char *)(buf2);
6474 : {
6475 0 : if (arg1->name) free((char*)arg1->name);
6476 0 : if (arg2) {
6477 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
6478 : strcpy((char*)arg1->name,arg2);
6479 : } else {
6480 0 : arg1->name = 0;
6481 : }
6482 : }
6483 0 : ST(argvi) = sv_newmortal();
6484 :
6485 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6486 0 : XSRETURN(argvi);
6487 : fail:
6488 :
6489 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6490 0 : SWIG_croak_null();
6491 : }
6492 : }
6493 :
6494 :
6495 0 : XS(_wrap_outputFormatObj_name_get) {
6496 : {
6497 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6498 0 : void *argp1 = 0 ;
6499 : int res1 = 0 ;
6500 : int argvi = 0;
6501 : char *result = 0 ;
6502 0 : dXSARGS;
6503 :
6504 0 : if ((items < 1) || (items > 1)) {
6505 0 : SWIG_croak("Usage: outputFormatObj_name_get(self);");
6506 : }
6507 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6508 0 : if (!SWIG_IsOK(res1)) {
6509 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6510 : }
6511 0 : arg1 = (outputFormatObj *)(argp1);
6512 0 : result = (char *) ((arg1)->name);
6513 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6514 :
6515 0 : XSRETURN(argvi);
6516 : fail:
6517 :
6518 0 : SWIG_croak_null();
6519 : }
6520 : }
6521 :
6522 :
6523 0 : XS(_wrap_outputFormatObj_mimetype_set) {
6524 : {
6525 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6526 : char *arg2 = (char *) 0 ;
6527 0 : void *argp1 = 0 ;
6528 : int res1 = 0 ;
6529 : int res2 ;
6530 0 : char *buf2 = 0 ;
6531 0 : int alloc2 = 0 ;
6532 : int argvi = 0;
6533 0 : dXSARGS;
6534 :
6535 0 : if ((items < 2) || (items > 2)) {
6536 0 : SWIG_croak("Usage: outputFormatObj_mimetype_set(self,mimetype);");
6537 : }
6538 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6539 0 : if (!SWIG_IsOK(res1)) {
6540 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6541 : }
6542 0 : arg1 = (outputFormatObj *)(argp1);
6543 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6544 0 : if (!SWIG_IsOK(res2)) {
6545 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_mimetype_set" "', argument " "2"" of type '" "char *""'");
6546 : }
6547 0 : arg2 = (char *)(buf2);
6548 : {
6549 0 : if (arg1->mimetype) free((char*)arg1->mimetype);
6550 0 : if (arg2) {
6551 0 : arg1->mimetype = (char *) malloc(strlen(arg2)+1);
6552 : strcpy((char*)arg1->mimetype,arg2);
6553 : } else {
6554 0 : arg1->mimetype = 0;
6555 : }
6556 : }
6557 0 : ST(argvi) = sv_newmortal();
6558 :
6559 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6560 0 : XSRETURN(argvi);
6561 : fail:
6562 :
6563 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6564 0 : SWIG_croak_null();
6565 : }
6566 : }
6567 :
6568 :
6569 0 : XS(_wrap_outputFormatObj_mimetype_get) {
6570 : {
6571 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6572 0 : void *argp1 = 0 ;
6573 : int res1 = 0 ;
6574 : int argvi = 0;
6575 : char *result = 0 ;
6576 0 : dXSARGS;
6577 :
6578 0 : if ((items < 1) || (items > 1)) {
6579 0 : SWIG_croak("Usage: outputFormatObj_mimetype_get(self);");
6580 : }
6581 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6582 0 : if (!SWIG_IsOK(res1)) {
6583 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6584 : }
6585 0 : arg1 = (outputFormatObj *)(argp1);
6586 0 : result = (char *) ((arg1)->mimetype);
6587 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6588 :
6589 0 : XSRETURN(argvi);
6590 : fail:
6591 :
6592 0 : SWIG_croak_null();
6593 : }
6594 : }
6595 :
6596 :
6597 0 : XS(_wrap_outputFormatObj_driver_set) {
6598 : {
6599 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6600 : char *arg2 = (char *) 0 ;
6601 0 : void *argp1 = 0 ;
6602 : int res1 = 0 ;
6603 : int res2 ;
6604 0 : char *buf2 = 0 ;
6605 0 : int alloc2 = 0 ;
6606 : int argvi = 0;
6607 0 : dXSARGS;
6608 :
6609 0 : if ((items < 2) || (items > 2)) {
6610 0 : SWIG_croak("Usage: outputFormatObj_driver_set(self,driver);");
6611 : }
6612 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6613 0 : if (!SWIG_IsOK(res1)) {
6614 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6615 : }
6616 0 : arg1 = (outputFormatObj *)(argp1);
6617 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6618 0 : if (!SWIG_IsOK(res2)) {
6619 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_driver_set" "', argument " "2"" of type '" "char *""'");
6620 : }
6621 0 : arg2 = (char *)(buf2);
6622 : {
6623 0 : if (arg1->driver) free((char*)arg1->driver);
6624 0 : if (arg2) {
6625 0 : arg1->driver = (char *) malloc(strlen(arg2)+1);
6626 : strcpy((char*)arg1->driver,arg2);
6627 : } else {
6628 0 : arg1->driver = 0;
6629 : }
6630 : }
6631 0 : ST(argvi) = sv_newmortal();
6632 :
6633 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6634 0 : XSRETURN(argvi);
6635 : fail:
6636 :
6637 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6638 0 : SWIG_croak_null();
6639 : }
6640 : }
6641 :
6642 :
6643 0 : XS(_wrap_outputFormatObj_driver_get) {
6644 : {
6645 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6646 0 : void *argp1 = 0 ;
6647 : int res1 = 0 ;
6648 : int argvi = 0;
6649 : char *result = 0 ;
6650 0 : dXSARGS;
6651 :
6652 0 : if ((items < 1) || (items > 1)) {
6653 0 : SWIG_croak("Usage: outputFormatObj_driver_get(self);");
6654 : }
6655 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6656 0 : if (!SWIG_IsOK(res1)) {
6657 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6658 : }
6659 0 : arg1 = (outputFormatObj *)(argp1);
6660 0 : result = (char *) ((arg1)->driver);
6661 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6662 :
6663 0 : XSRETURN(argvi);
6664 : fail:
6665 :
6666 0 : SWIG_croak_null();
6667 : }
6668 : }
6669 :
6670 :
6671 0 : XS(_wrap_outputFormatObj_extension_set) {
6672 : {
6673 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6674 : char *arg2 = (char *) 0 ;
6675 0 : void *argp1 = 0 ;
6676 : int res1 = 0 ;
6677 : int res2 ;
6678 0 : char *buf2 = 0 ;
6679 0 : int alloc2 = 0 ;
6680 : int argvi = 0;
6681 0 : dXSARGS;
6682 :
6683 0 : if ((items < 2) || (items > 2)) {
6684 0 : SWIG_croak("Usage: outputFormatObj_extension_set(self,extension);");
6685 : }
6686 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6687 0 : if (!SWIG_IsOK(res1)) {
6688 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6689 : }
6690 0 : arg1 = (outputFormatObj *)(argp1);
6691 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6692 0 : if (!SWIG_IsOK(res2)) {
6693 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_extension_set" "', argument " "2"" of type '" "char *""'");
6694 : }
6695 0 : arg2 = (char *)(buf2);
6696 : {
6697 0 : if (arg1->extension) free((char*)arg1->extension);
6698 0 : if (arg2) {
6699 0 : arg1->extension = (char *) malloc(strlen(arg2)+1);
6700 : strcpy((char*)arg1->extension,arg2);
6701 : } else {
6702 0 : arg1->extension = 0;
6703 : }
6704 : }
6705 0 : ST(argvi) = sv_newmortal();
6706 :
6707 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6708 0 : XSRETURN(argvi);
6709 : fail:
6710 :
6711 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6712 0 : SWIG_croak_null();
6713 : }
6714 : }
6715 :
6716 :
6717 0 : XS(_wrap_outputFormatObj_extension_get) {
6718 : {
6719 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6720 0 : void *argp1 = 0 ;
6721 : int res1 = 0 ;
6722 : int argvi = 0;
6723 : char *result = 0 ;
6724 0 : dXSARGS;
6725 :
6726 0 : if ((items < 1) || (items > 1)) {
6727 0 : SWIG_croak("Usage: outputFormatObj_extension_get(self);");
6728 : }
6729 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6730 0 : if (!SWIG_IsOK(res1)) {
6731 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6732 : }
6733 0 : arg1 = (outputFormatObj *)(argp1);
6734 0 : result = (char *) ((arg1)->extension);
6735 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6736 :
6737 0 : XSRETURN(argvi);
6738 : fail:
6739 :
6740 0 : SWIG_croak_null();
6741 : }
6742 : }
6743 :
6744 :
6745 0 : XS(_wrap_outputFormatObj_renderer_set) {
6746 : {
6747 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6748 : int arg2 ;
6749 0 : void *argp1 = 0 ;
6750 : int res1 = 0 ;
6751 : int val2 ;
6752 : int ecode2 = 0 ;
6753 : int argvi = 0;
6754 0 : dXSARGS;
6755 :
6756 0 : if ((items < 2) || (items > 2)) {
6757 0 : SWIG_croak("Usage: outputFormatObj_renderer_set(self,renderer);");
6758 : }
6759 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6760 0 : if (!SWIG_IsOK(res1)) {
6761 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6762 : }
6763 0 : arg1 = (outputFormatObj *)(argp1);
6764 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6765 0 : if (!SWIG_IsOK(ecode2)) {
6766 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_renderer_set" "', argument " "2"" of type '" "int""'");
6767 : }
6768 0 : arg2 = (int)(val2);
6769 0 : if (arg1) (arg1)->renderer = arg2;
6770 0 : ST(argvi) = sv_newmortal();
6771 :
6772 :
6773 0 : XSRETURN(argvi);
6774 : fail:
6775 :
6776 :
6777 0 : SWIG_croak_null();
6778 : }
6779 : }
6780 :
6781 :
6782 0 : XS(_wrap_outputFormatObj_renderer_get) {
6783 : {
6784 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6785 0 : void *argp1 = 0 ;
6786 : int res1 = 0 ;
6787 : int argvi = 0;
6788 : int result;
6789 0 : dXSARGS;
6790 :
6791 0 : if ((items < 1) || (items > 1)) {
6792 0 : SWIG_croak("Usage: outputFormatObj_renderer_get(self);");
6793 : }
6794 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6795 0 : if (!SWIG_IsOK(res1)) {
6796 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6797 : }
6798 0 : arg1 = (outputFormatObj *)(argp1);
6799 0 : result = (int) ((arg1)->renderer);
6800 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6801 :
6802 0 : XSRETURN(argvi);
6803 : fail:
6804 :
6805 0 : SWIG_croak_null();
6806 : }
6807 : }
6808 :
6809 :
6810 0 : XS(_wrap_outputFormatObj_imagemode_set) {
6811 : {
6812 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6813 : int arg2 ;
6814 0 : void *argp1 = 0 ;
6815 : int res1 = 0 ;
6816 : int val2 ;
6817 : int ecode2 = 0 ;
6818 : int argvi = 0;
6819 0 : dXSARGS;
6820 :
6821 0 : if ((items < 2) || (items > 2)) {
6822 0 : SWIG_croak("Usage: outputFormatObj_imagemode_set(self,imagemode);");
6823 : }
6824 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6825 0 : if (!SWIG_IsOK(res1)) {
6826 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6827 : }
6828 0 : arg1 = (outputFormatObj *)(argp1);
6829 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6830 0 : if (!SWIG_IsOK(ecode2)) {
6831 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_imagemode_set" "', argument " "2"" of type '" "int""'");
6832 : }
6833 0 : arg2 = (int)(val2);
6834 0 : if (arg1) (arg1)->imagemode = arg2;
6835 0 : ST(argvi) = sv_newmortal();
6836 :
6837 :
6838 0 : XSRETURN(argvi);
6839 : fail:
6840 :
6841 :
6842 0 : SWIG_croak_null();
6843 : }
6844 : }
6845 :
6846 :
6847 0 : XS(_wrap_outputFormatObj_imagemode_get) {
6848 : {
6849 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6850 0 : void *argp1 = 0 ;
6851 : int res1 = 0 ;
6852 : int argvi = 0;
6853 : int result;
6854 0 : dXSARGS;
6855 :
6856 0 : if ((items < 1) || (items > 1)) {
6857 0 : SWIG_croak("Usage: outputFormatObj_imagemode_get(self);");
6858 : }
6859 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6860 0 : if (!SWIG_IsOK(res1)) {
6861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6862 : }
6863 0 : arg1 = (outputFormatObj *)(argp1);
6864 0 : result = (int) ((arg1)->imagemode);
6865 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6866 :
6867 0 : XSRETURN(argvi);
6868 : fail:
6869 :
6870 0 : SWIG_croak_null();
6871 : }
6872 : }
6873 :
6874 :
6875 0 : XS(_wrap_outputFormatObj_transparent_set) {
6876 : {
6877 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6878 : int arg2 ;
6879 0 : void *argp1 = 0 ;
6880 : int res1 = 0 ;
6881 : int val2 ;
6882 : int ecode2 = 0 ;
6883 : int argvi = 0;
6884 0 : dXSARGS;
6885 :
6886 0 : if ((items < 2) || (items > 2)) {
6887 0 : SWIG_croak("Usage: outputFormatObj_transparent_set(self,transparent);");
6888 : }
6889 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6890 0 : if (!SWIG_IsOK(res1)) {
6891 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6892 : }
6893 0 : arg1 = (outputFormatObj *)(argp1);
6894 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6895 0 : if (!SWIG_IsOK(ecode2)) {
6896 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_transparent_set" "', argument " "2"" of type '" "int""'");
6897 : }
6898 0 : arg2 = (int)(val2);
6899 0 : if (arg1) (arg1)->transparent = arg2;
6900 0 : ST(argvi) = sv_newmortal();
6901 :
6902 :
6903 0 : XSRETURN(argvi);
6904 : fail:
6905 :
6906 :
6907 0 : SWIG_croak_null();
6908 : }
6909 : }
6910 :
6911 :
6912 0 : XS(_wrap_outputFormatObj_transparent_get) {
6913 : {
6914 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6915 0 : void *argp1 = 0 ;
6916 : int res1 = 0 ;
6917 : int argvi = 0;
6918 : int result;
6919 0 : dXSARGS;
6920 :
6921 0 : if ((items < 1) || (items > 1)) {
6922 0 : SWIG_croak("Usage: outputFormatObj_transparent_get(self);");
6923 : }
6924 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6925 0 : if (!SWIG_IsOK(res1)) {
6926 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6927 : }
6928 0 : arg1 = (outputFormatObj *)(argp1);
6929 0 : result = (int) ((arg1)->transparent);
6930 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6931 :
6932 0 : XSRETURN(argvi);
6933 : fail:
6934 :
6935 0 : SWIG_croak_null();
6936 : }
6937 : }
6938 :
6939 :
6940 0 : XS(_wrap_outputFormatObj_bands_set) {
6941 : {
6942 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6943 : int arg2 ;
6944 0 : void *argp1 = 0 ;
6945 : int res1 = 0 ;
6946 : int val2 ;
6947 : int ecode2 = 0 ;
6948 : int argvi = 0;
6949 0 : dXSARGS;
6950 :
6951 0 : if ((items < 2) || (items > 2)) {
6952 0 : SWIG_croak("Usage: outputFormatObj_bands_set(self,bands);");
6953 : }
6954 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6955 0 : if (!SWIG_IsOK(res1)) {
6956 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6957 : }
6958 0 : arg1 = (outputFormatObj *)(argp1);
6959 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6960 0 : if (!SWIG_IsOK(ecode2)) {
6961 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_bands_set" "', argument " "2"" of type '" "int""'");
6962 : }
6963 0 : arg2 = (int)(val2);
6964 0 : if (arg1) (arg1)->bands = arg2;
6965 0 : ST(argvi) = sv_newmortal();
6966 :
6967 :
6968 0 : XSRETURN(argvi);
6969 : fail:
6970 :
6971 :
6972 0 : SWIG_croak_null();
6973 : }
6974 : }
6975 :
6976 :
6977 0 : XS(_wrap_outputFormatObj_bands_get) {
6978 : {
6979 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6980 0 : void *argp1 = 0 ;
6981 : int res1 = 0 ;
6982 : int argvi = 0;
6983 : int result;
6984 0 : dXSARGS;
6985 :
6986 0 : if ((items < 1) || (items > 1)) {
6987 0 : SWIG_croak("Usage: outputFormatObj_bands_get(self);");
6988 : }
6989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6990 0 : if (!SWIG_IsOK(res1)) {
6991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6992 : }
6993 0 : arg1 = (outputFormatObj *)(argp1);
6994 0 : result = (int) ((arg1)->bands);
6995 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6996 :
6997 0 : XSRETURN(argvi);
6998 : fail:
6999 :
7000 0 : SWIG_croak_null();
7001 : }
7002 : }
7003 :
7004 :
7005 0 : XS(_wrap_outputFormatObj_inmapfile_set) {
7006 : {
7007 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7008 : int arg2 ;
7009 0 : void *argp1 = 0 ;
7010 : int res1 = 0 ;
7011 : int val2 ;
7012 : int ecode2 = 0 ;
7013 : int argvi = 0;
7014 0 : dXSARGS;
7015 :
7016 0 : if ((items < 2) || (items > 2)) {
7017 0 : SWIG_croak("Usage: outputFormatObj_inmapfile_set(self,inmapfile);");
7018 : }
7019 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7020 0 : if (!SWIG_IsOK(res1)) {
7021 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_set" "', argument " "1"" of type '" "outputFormatObj *""'");
7022 : }
7023 0 : arg1 = (outputFormatObj *)(argp1);
7024 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7025 0 : if (!SWIG_IsOK(ecode2)) {
7026 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
7027 : }
7028 0 : arg2 = (int)(val2);
7029 0 : if (arg1) (arg1)->inmapfile = arg2;
7030 0 : ST(argvi) = sv_newmortal();
7031 :
7032 :
7033 0 : XSRETURN(argvi);
7034 : fail:
7035 :
7036 :
7037 0 : SWIG_croak_null();
7038 : }
7039 : }
7040 :
7041 :
7042 0 : XS(_wrap_outputFormatObj_inmapfile_get) {
7043 : {
7044 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7045 0 : void *argp1 = 0 ;
7046 : int res1 = 0 ;
7047 : int argvi = 0;
7048 : int result;
7049 0 : dXSARGS;
7050 :
7051 0 : if ((items < 1) || (items > 1)) {
7052 0 : SWIG_croak("Usage: outputFormatObj_inmapfile_get(self);");
7053 : }
7054 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7055 0 : if (!SWIG_IsOK(res1)) {
7056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_get" "', argument " "1"" of type '" "outputFormatObj *""'");
7057 : }
7058 0 : arg1 = (outputFormatObj *)(argp1);
7059 0 : result = (int) ((arg1)->inmapfile);
7060 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7061 :
7062 0 : XSRETURN(argvi);
7063 : fail:
7064 :
7065 0 : SWIG_croak_null();
7066 : }
7067 : }
7068 :
7069 :
7070 0 : XS(_wrap_new_outputFormatObj) {
7071 : {
7072 : char *arg1 = (char *) 0 ;
7073 : char *arg2 = (char *) NULL ;
7074 : int res1 ;
7075 0 : char *buf1 = 0 ;
7076 0 : int alloc1 = 0 ;
7077 : int res2 ;
7078 0 : char *buf2 = 0 ;
7079 0 : int alloc2 = 0 ;
7080 : int argvi = 0;
7081 : outputFormatObj *result = 0 ;
7082 0 : dXSARGS;
7083 :
7084 0 : if ((items < 1) || (items > 2)) {
7085 0 : SWIG_croak("Usage: new_outputFormatObj(driver,name);");
7086 : }
7087 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
7088 0 : if (!SWIG_IsOK(res1)) {
7089 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_outputFormatObj" "', argument " "1"" of type '" "char const *""'");
7090 : }
7091 0 : arg1 = (char *)(buf1);
7092 0 : if (items > 1) {
7093 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7094 0 : if (!SWIG_IsOK(res2)) {
7095 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_outputFormatObj" "', argument " "2"" of type '" "char *""'");
7096 : }
7097 0 : arg2 = (char *)(buf2);
7098 : }
7099 0 : result = (outputFormatObj *)new_outputFormatObj((char const *)arg1,arg2);
7100 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7101 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
7102 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7103 0 : XSRETURN(argvi);
7104 : fail:
7105 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
7106 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7107 0 : SWIG_croak_null();
7108 : }
7109 : }
7110 :
7111 :
7112 0 : XS(_wrap_delete_outputFormatObj) {
7113 : {
7114 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7115 0 : void *argp1 = 0 ;
7116 : int res1 = 0 ;
7117 : int argvi = 0;
7118 0 : dXSARGS;
7119 :
7120 0 : if ((items < 1) || (items > 1)) {
7121 0 : SWIG_croak("Usage: delete_outputFormatObj(self);");
7122 : }
7123 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, SWIG_POINTER_DISOWN | 0 );
7124 0 : if (!SWIG_IsOK(res1)) {
7125 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_outputFormatObj" "', argument " "1"" of type '" "outputFormatObj *""'");
7126 : }
7127 0 : arg1 = (outputFormatObj *)(argp1);
7128 : delete_outputFormatObj(arg1);
7129 0 : ST(argvi) = sv_newmortal();
7130 :
7131 0 : XSRETURN(argvi);
7132 : fail:
7133 :
7134 0 : SWIG_croak_null();
7135 : }
7136 : }
7137 :
7138 :
7139 0 : XS(_wrap_outputFormatObj_setExtension) {
7140 : {
7141 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7142 : char *arg2 = (char *) 0 ;
7143 0 : void *argp1 = 0 ;
7144 : int res1 = 0 ;
7145 : int res2 ;
7146 0 : char *buf2 = 0 ;
7147 0 : int alloc2 = 0 ;
7148 : int argvi = 0;
7149 0 : dXSARGS;
7150 :
7151 0 : if ((items < 2) || (items > 2)) {
7152 0 : SWIG_croak("Usage: outputFormatObj_setExtension(self,extension);");
7153 : }
7154 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7155 0 : if (!SWIG_IsOK(res1)) {
7156 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setExtension" "', argument " "1"" of type '" "outputFormatObj *""'");
7157 : }
7158 0 : arg1 = (outputFormatObj *)(argp1);
7159 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7160 0 : if (!SWIG_IsOK(res2)) {
7161 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setExtension" "', argument " "2"" of type '" "char const *""'");
7162 : }
7163 0 : arg2 = (char *)(buf2);
7164 : outputFormatObj_setExtension(arg1,(char const *)arg2);
7165 0 : ST(argvi) = sv_newmortal();
7166 :
7167 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7168 0 : XSRETURN(argvi);
7169 : fail:
7170 :
7171 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7172 0 : SWIG_croak_null();
7173 : }
7174 : }
7175 :
7176 :
7177 0 : XS(_wrap_outputFormatObj_setMimetype) {
7178 : {
7179 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7180 : char *arg2 = (char *) 0 ;
7181 0 : void *argp1 = 0 ;
7182 : int res1 = 0 ;
7183 : int res2 ;
7184 0 : char *buf2 = 0 ;
7185 0 : int alloc2 = 0 ;
7186 : int argvi = 0;
7187 0 : dXSARGS;
7188 :
7189 0 : if ((items < 2) || (items > 2)) {
7190 0 : SWIG_croak("Usage: outputFormatObj_setMimetype(self,mimetype);");
7191 : }
7192 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7193 0 : if (!SWIG_IsOK(res1)) {
7194 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setMimetype" "', argument " "1"" of type '" "outputFormatObj *""'");
7195 : }
7196 0 : arg1 = (outputFormatObj *)(argp1);
7197 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7198 0 : if (!SWIG_IsOK(res2)) {
7199 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setMimetype" "', argument " "2"" of type '" "char const *""'");
7200 : }
7201 0 : arg2 = (char *)(buf2);
7202 : outputFormatObj_setMimetype(arg1,(char const *)arg2);
7203 0 : ST(argvi) = sv_newmortal();
7204 :
7205 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7206 0 : XSRETURN(argvi);
7207 : fail:
7208 :
7209 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7210 0 : SWIG_croak_null();
7211 : }
7212 : }
7213 :
7214 :
7215 0 : XS(_wrap_outputFormatObj_setOption) {
7216 : {
7217 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7218 : char *arg2 = (char *) 0 ;
7219 : char *arg3 = (char *) 0 ;
7220 0 : void *argp1 = 0 ;
7221 : int res1 = 0 ;
7222 : int res2 ;
7223 0 : char *buf2 = 0 ;
7224 0 : int alloc2 = 0 ;
7225 : int res3 ;
7226 0 : char *buf3 = 0 ;
7227 0 : int alloc3 = 0 ;
7228 : int argvi = 0;
7229 0 : dXSARGS;
7230 :
7231 0 : if ((items < 3) || (items > 3)) {
7232 0 : SWIG_croak("Usage: outputFormatObj_setOption(self,key,value);");
7233 : }
7234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7235 0 : if (!SWIG_IsOK(res1)) {
7236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setOption" "', argument " "1"" of type '" "outputFormatObj *""'");
7237 : }
7238 0 : arg1 = (outputFormatObj *)(argp1);
7239 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7240 0 : if (!SWIG_IsOK(res2)) {
7241 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setOption" "', argument " "2"" of type '" "char const *""'");
7242 : }
7243 0 : arg2 = (char *)(buf2);
7244 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7245 0 : if (!SWIG_IsOK(res3)) {
7246 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_setOption" "', argument " "3"" of type '" "char const *""'");
7247 : }
7248 0 : arg3 = (char *)(buf3);
7249 : outputFormatObj_setOption(arg1,(char const *)arg2,(char const *)arg3);
7250 0 : ST(argvi) = sv_newmortal();
7251 :
7252 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7253 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7254 0 : XSRETURN(argvi);
7255 : fail:
7256 :
7257 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7258 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7259 0 : SWIG_croak_null();
7260 : }
7261 : }
7262 :
7263 :
7264 0 : XS(_wrap_outputFormatObj_validate) {
7265 : {
7266 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7267 0 : void *argp1 = 0 ;
7268 : int res1 = 0 ;
7269 : int argvi = 0;
7270 : int result;
7271 0 : dXSARGS;
7272 :
7273 0 : if ((items < 1) || (items > 1)) {
7274 0 : SWIG_croak("Usage: outputFormatObj_validate(self);");
7275 : }
7276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7277 0 : if (!SWIG_IsOK(res1)) {
7278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_validate" "', argument " "1"" of type '" "outputFormatObj *""'");
7279 : }
7280 0 : arg1 = (outputFormatObj *)(argp1);
7281 : result = (int)outputFormatObj_validate(arg1);
7282 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7283 :
7284 0 : XSRETURN(argvi);
7285 : fail:
7286 :
7287 0 : SWIG_croak_null();
7288 : }
7289 : }
7290 :
7291 :
7292 0 : XS(_wrap_outputFormatObj_getOption) {
7293 : {
7294 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7295 : char *arg2 = (char *) 0 ;
7296 : char *arg3 = (char *) "" ;
7297 0 : void *argp1 = 0 ;
7298 : int res1 = 0 ;
7299 : int res2 ;
7300 0 : char *buf2 = 0 ;
7301 0 : int alloc2 = 0 ;
7302 : int res3 ;
7303 0 : char *buf3 = 0 ;
7304 0 : int alloc3 = 0 ;
7305 : int argvi = 0;
7306 : char *result = 0 ;
7307 0 : dXSARGS;
7308 :
7309 0 : if ((items < 2) || (items > 3)) {
7310 0 : SWIG_croak("Usage: outputFormatObj_getOption(self,key,value);");
7311 : }
7312 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7313 0 : if (!SWIG_IsOK(res1)) {
7314 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOption" "', argument " "1"" of type '" "outputFormatObj *""'");
7315 : }
7316 0 : arg1 = (outputFormatObj *)(argp1);
7317 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7318 0 : if (!SWIG_IsOK(res2)) {
7319 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_getOption" "', argument " "2"" of type '" "char const *""'");
7320 : }
7321 0 : arg2 = (char *)(buf2);
7322 0 : if (items > 2) {
7323 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7324 0 : if (!SWIG_IsOK(res3)) {
7325 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_getOption" "', argument " "3"" of type '" "char const *""'");
7326 : }
7327 0 : arg3 = (char *)(buf3);
7328 : }
7329 : result = (char *)outputFormatObj_getOption(arg1,(char const *)arg2,(char const *)arg3);
7330 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7331 :
7332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7333 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7334 0 : free((char*)result);
7335 0 : XSRETURN(argvi);
7336 : fail:
7337 :
7338 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7339 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7340 0 : SWIG_croak_null();
7341 : }
7342 : }
7343 :
7344 :
7345 0 : XS(_wrap_outputFormatObj_getOptionAt) {
7346 : {
7347 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7348 : int arg2 ;
7349 0 : void *argp1 = 0 ;
7350 : int res1 = 0 ;
7351 : int val2 ;
7352 : int ecode2 = 0 ;
7353 : int argvi = 0;
7354 : char *result = 0 ;
7355 0 : dXSARGS;
7356 :
7357 0 : if ((items < 2) || (items > 2)) {
7358 0 : SWIG_croak("Usage: outputFormatObj_getOptionAt(self,i);");
7359 : }
7360 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7361 0 : if (!SWIG_IsOK(res1)) {
7362 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOptionAt" "', argument " "1"" of type '" "outputFormatObj *""'");
7363 : }
7364 0 : arg1 = (outputFormatObj *)(argp1);
7365 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7366 0 : if (!SWIG_IsOK(ecode2)) {
7367 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_getOptionAt" "', argument " "2"" of type '" "int""'");
7368 : }
7369 0 : arg2 = (int)(val2);
7370 0 : result = (char *)outputFormatObj_getOptionAt(arg1,arg2);
7371 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7372 :
7373 :
7374 0 : free((char*)result);
7375 0 : XSRETURN(argvi);
7376 : fail:
7377 :
7378 :
7379 0 : SWIG_croak_null();
7380 : }
7381 : }
7382 :
7383 :
7384 0 : XS(_wrap_outputFormatObj_attachDevice) {
7385 : {
7386 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7387 0 : void *arg2 = (void *) 0 ;
7388 0 : void *argp1 = 0 ;
7389 : int res1 = 0 ;
7390 : int res2 ;
7391 : int argvi = 0;
7392 0 : dXSARGS;
7393 :
7394 0 : if ((items < 2) || (items > 2)) {
7395 0 : SWIG_croak("Usage: outputFormatObj_attachDevice(self,device);");
7396 : }
7397 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7398 0 : if (!SWIG_IsOK(res1)) {
7399 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_attachDevice" "', argument " "1"" of type '" "outputFormatObj *""'");
7400 : }
7401 0 : arg1 = (outputFormatObj *)(argp1);
7402 0 : res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
7403 0 : if (!SWIG_IsOK(res2)) {
7404 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_attachDevice" "', argument " "2"" of type '" "void *""'");
7405 : }
7406 0 : outputFormatObj_attachDevice(arg1,arg2);
7407 0 : ST(argvi) = sv_newmortal();
7408 :
7409 :
7410 0 : XSRETURN(argvi);
7411 : fail:
7412 :
7413 :
7414 0 : SWIG_croak_null();
7415 : }
7416 : }
7417 :
7418 :
7419 0 : XS(_wrap_queryMapObj_height_set) {
7420 : {
7421 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7422 : int arg2 ;
7423 0 : void *argp1 = 0 ;
7424 : int res1 = 0 ;
7425 : int val2 ;
7426 : int ecode2 = 0 ;
7427 : int argvi = 0;
7428 0 : dXSARGS;
7429 :
7430 0 : if ((items < 2) || (items > 2)) {
7431 0 : SWIG_croak("Usage: queryMapObj_height_set(self,height);");
7432 : }
7433 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7434 0 : if (!SWIG_IsOK(res1)) {
7435 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_set" "', argument " "1"" of type '" "queryMapObj *""'");
7436 : }
7437 0 : arg1 = (queryMapObj *)(argp1);
7438 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7439 0 : if (!SWIG_IsOK(ecode2)) {
7440 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_height_set" "', argument " "2"" of type '" "int""'");
7441 : }
7442 0 : arg2 = (int)(val2);
7443 0 : if (arg1) (arg1)->height = arg2;
7444 0 : ST(argvi) = sv_newmortal();
7445 :
7446 :
7447 0 : XSRETURN(argvi);
7448 : fail:
7449 :
7450 :
7451 0 : SWIG_croak_null();
7452 : }
7453 : }
7454 :
7455 :
7456 0 : XS(_wrap_queryMapObj_height_get) {
7457 : {
7458 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7459 0 : void *argp1 = 0 ;
7460 : int res1 = 0 ;
7461 : int argvi = 0;
7462 : int result;
7463 0 : dXSARGS;
7464 :
7465 0 : if ((items < 1) || (items > 1)) {
7466 0 : SWIG_croak("Usage: queryMapObj_height_get(self);");
7467 : }
7468 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7469 0 : if (!SWIG_IsOK(res1)) {
7470 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_get" "', argument " "1"" of type '" "queryMapObj *""'");
7471 : }
7472 0 : arg1 = (queryMapObj *)(argp1);
7473 0 : result = (int) ((arg1)->height);
7474 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7475 :
7476 0 : XSRETURN(argvi);
7477 : fail:
7478 :
7479 0 : SWIG_croak_null();
7480 : }
7481 : }
7482 :
7483 :
7484 0 : XS(_wrap_queryMapObj_width_set) {
7485 : {
7486 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7487 : int arg2 ;
7488 0 : void *argp1 = 0 ;
7489 : int res1 = 0 ;
7490 : int val2 ;
7491 : int ecode2 = 0 ;
7492 : int argvi = 0;
7493 0 : dXSARGS;
7494 :
7495 0 : if ((items < 2) || (items > 2)) {
7496 0 : SWIG_croak("Usage: queryMapObj_width_set(self,width);");
7497 : }
7498 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7499 0 : if (!SWIG_IsOK(res1)) {
7500 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_set" "', argument " "1"" of type '" "queryMapObj *""'");
7501 : }
7502 0 : arg1 = (queryMapObj *)(argp1);
7503 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7504 0 : if (!SWIG_IsOK(ecode2)) {
7505 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_width_set" "', argument " "2"" of type '" "int""'");
7506 : }
7507 0 : arg2 = (int)(val2);
7508 0 : if (arg1) (arg1)->width = arg2;
7509 0 : ST(argvi) = sv_newmortal();
7510 :
7511 :
7512 0 : XSRETURN(argvi);
7513 : fail:
7514 :
7515 :
7516 0 : SWIG_croak_null();
7517 : }
7518 : }
7519 :
7520 :
7521 0 : XS(_wrap_queryMapObj_width_get) {
7522 : {
7523 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7524 0 : void *argp1 = 0 ;
7525 : int res1 = 0 ;
7526 : int argvi = 0;
7527 : int result;
7528 0 : dXSARGS;
7529 :
7530 0 : if ((items < 1) || (items > 1)) {
7531 0 : SWIG_croak("Usage: queryMapObj_width_get(self);");
7532 : }
7533 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7534 0 : if (!SWIG_IsOK(res1)) {
7535 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_get" "', argument " "1"" of type '" "queryMapObj *""'");
7536 : }
7537 0 : arg1 = (queryMapObj *)(argp1);
7538 0 : result = (int) ((arg1)->width);
7539 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7540 :
7541 0 : XSRETURN(argvi);
7542 : fail:
7543 :
7544 0 : SWIG_croak_null();
7545 : }
7546 : }
7547 :
7548 :
7549 0 : XS(_wrap_queryMapObj_status_set) {
7550 : {
7551 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7552 : int arg2 ;
7553 0 : void *argp1 = 0 ;
7554 : int res1 = 0 ;
7555 : int val2 ;
7556 : int ecode2 = 0 ;
7557 : int argvi = 0;
7558 0 : dXSARGS;
7559 :
7560 0 : if ((items < 2) || (items > 2)) {
7561 0 : SWIG_croak("Usage: queryMapObj_status_set(self,status);");
7562 : }
7563 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7564 0 : if (!SWIG_IsOK(res1)) {
7565 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_set" "', argument " "1"" of type '" "queryMapObj *""'");
7566 : }
7567 0 : arg1 = (queryMapObj *)(argp1);
7568 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7569 0 : if (!SWIG_IsOK(ecode2)) {
7570 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_status_set" "', argument " "2"" of type '" "int""'");
7571 : }
7572 0 : arg2 = (int)(val2);
7573 0 : if (arg1) (arg1)->status = arg2;
7574 0 : ST(argvi) = sv_newmortal();
7575 :
7576 :
7577 0 : XSRETURN(argvi);
7578 : fail:
7579 :
7580 :
7581 0 : SWIG_croak_null();
7582 : }
7583 : }
7584 :
7585 :
7586 0 : XS(_wrap_queryMapObj_status_get) {
7587 : {
7588 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7589 0 : void *argp1 = 0 ;
7590 : int res1 = 0 ;
7591 : int argvi = 0;
7592 : int result;
7593 0 : dXSARGS;
7594 :
7595 0 : if ((items < 1) || (items > 1)) {
7596 0 : SWIG_croak("Usage: queryMapObj_status_get(self);");
7597 : }
7598 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7599 0 : if (!SWIG_IsOK(res1)) {
7600 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_get" "', argument " "1"" of type '" "queryMapObj *""'");
7601 : }
7602 0 : arg1 = (queryMapObj *)(argp1);
7603 0 : result = (int) ((arg1)->status);
7604 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7605 :
7606 0 : XSRETURN(argvi);
7607 : fail:
7608 :
7609 0 : SWIG_croak_null();
7610 : }
7611 : }
7612 :
7613 :
7614 0 : XS(_wrap_queryMapObj_style_set) {
7615 : {
7616 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7617 : int arg2 ;
7618 0 : void *argp1 = 0 ;
7619 : int res1 = 0 ;
7620 : int val2 ;
7621 : int ecode2 = 0 ;
7622 : int argvi = 0;
7623 0 : dXSARGS;
7624 :
7625 0 : if ((items < 2) || (items > 2)) {
7626 0 : SWIG_croak("Usage: queryMapObj_style_set(self,style);");
7627 : }
7628 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7629 0 : if (!SWIG_IsOK(res1)) {
7630 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_set" "', argument " "1"" of type '" "queryMapObj *""'");
7631 : }
7632 0 : arg1 = (queryMapObj *)(argp1);
7633 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7634 0 : if (!SWIG_IsOK(ecode2)) {
7635 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_style_set" "', argument " "2"" of type '" "int""'");
7636 : }
7637 0 : arg2 = (int)(val2);
7638 0 : if (arg1) (arg1)->style = arg2;
7639 0 : ST(argvi) = sv_newmortal();
7640 :
7641 :
7642 0 : XSRETURN(argvi);
7643 : fail:
7644 :
7645 :
7646 0 : SWIG_croak_null();
7647 : }
7648 : }
7649 :
7650 :
7651 0 : XS(_wrap_queryMapObj_style_get) {
7652 : {
7653 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7654 0 : void *argp1 = 0 ;
7655 : int res1 = 0 ;
7656 : int argvi = 0;
7657 : int result;
7658 0 : dXSARGS;
7659 :
7660 0 : if ((items < 1) || (items > 1)) {
7661 0 : SWIG_croak("Usage: queryMapObj_style_get(self);");
7662 : }
7663 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7664 0 : if (!SWIG_IsOK(res1)) {
7665 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_get" "', argument " "1"" of type '" "queryMapObj *""'");
7666 : }
7667 0 : arg1 = (queryMapObj *)(argp1);
7668 0 : result = (int) ((arg1)->style);
7669 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7670 :
7671 0 : XSRETURN(argvi);
7672 : fail:
7673 :
7674 0 : SWIG_croak_null();
7675 : }
7676 : }
7677 :
7678 :
7679 0 : XS(_wrap_queryMapObj_color_set) {
7680 : {
7681 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7682 : colorObj *arg2 = (colorObj *) 0 ;
7683 0 : void *argp1 = 0 ;
7684 : int res1 = 0 ;
7685 0 : void *argp2 = 0 ;
7686 : int res2 = 0 ;
7687 : int argvi = 0;
7688 0 : dXSARGS;
7689 :
7690 0 : if ((items < 2) || (items > 2)) {
7691 0 : SWIG_croak("Usage: queryMapObj_color_set(self,color);");
7692 : }
7693 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7694 0 : if (!SWIG_IsOK(res1)) {
7695 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_set" "', argument " "1"" of type '" "queryMapObj *""'");
7696 : }
7697 0 : arg1 = (queryMapObj *)(argp1);
7698 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
7699 0 : if (!SWIG_IsOK(res2)) {
7700 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
7701 : }
7702 0 : arg2 = (colorObj *)(argp2);
7703 0 : if (arg1) (arg1)->color = *arg2;
7704 0 : ST(argvi) = sv_newmortal();
7705 :
7706 :
7707 0 : XSRETURN(argvi);
7708 : fail:
7709 :
7710 :
7711 0 : SWIG_croak_null();
7712 : }
7713 : }
7714 :
7715 :
7716 0 : XS(_wrap_queryMapObj_color_get) {
7717 : {
7718 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7719 0 : void *argp1 = 0 ;
7720 : int res1 = 0 ;
7721 : int argvi = 0;
7722 : colorObj *result = 0 ;
7723 0 : dXSARGS;
7724 :
7725 0 : if ((items < 1) || (items > 1)) {
7726 0 : SWIG_croak("Usage: queryMapObj_color_get(self);");
7727 : }
7728 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7729 0 : if (!SWIG_IsOK(res1)) {
7730 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_get" "', argument " "1"" of type '" "queryMapObj *""'");
7731 : }
7732 0 : arg1 = (queryMapObj *)(argp1);
7733 0 : result = (colorObj *)& ((arg1)->color);
7734 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
7735 :
7736 0 : XSRETURN(argvi);
7737 : fail:
7738 :
7739 0 : SWIG_croak_null();
7740 : }
7741 : }
7742 :
7743 :
7744 0 : XS(_wrap_queryMapObj_updateFromString) {
7745 : {
7746 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7747 : char *arg2 = (char *) 0 ;
7748 0 : void *argp1 = 0 ;
7749 : int res1 = 0 ;
7750 : int res2 ;
7751 0 : char *buf2 = 0 ;
7752 0 : int alloc2 = 0 ;
7753 : int argvi = 0;
7754 : int result;
7755 0 : dXSARGS;
7756 :
7757 0 : if ((items < 2) || (items > 2)) {
7758 0 : SWIG_croak("Usage: queryMapObj_updateFromString(self,snippet);");
7759 : }
7760 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7761 0 : if (!SWIG_IsOK(res1)) {
7762 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_updateFromString" "', argument " "1"" of type '" "queryMapObj *""'");
7763 : }
7764 0 : arg1 = (queryMapObj *)(argp1);
7765 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7766 0 : if (!SWIG_IsOK(res2)) {
7767 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
7768 : }
7769 0 : arg2 = (char *)(buf2);
7770 : result = (int)queryMapObj_updateFromString(arg1,arg2);
7771 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7772 :
7773 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7774 0 : XSRETURN(argvi);
7775 : fail:
7776 :
7777 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7778 0 : SWIG_croak_null();
7779 : }
7780 : }
7781 :
7782 :
7783 0 : XS(_wrap_queryMapObj_convertToString) {
7784 : {
7785 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7786 0 : void *argp1 = 0 ;
7787 : int res1 = 0 ;
7788 : int argvi = 0;
7789 : char *result = 0 ;
7790 0 : dXSARGS;
7791 :
7792 0 : if ((items < 1) || (items > 1)) {
7793 0 : SWIG_croak("Usage: queryMapObj_convertToString(self);");
7794 : }
7795 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7796 0 : if (!SWIG_IsOK(res1)) {
7797 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_convertToString" "', argument " "1"" of type '" "queryMapObj *""'");
7798 : }
7799 0 : arg1 = (queryMapObj *)(argp1);
7800 : result = (char *)queryMapObj_convertToString(arg1);
7801 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7802 :
7803 0 : free((char*)result);
7804 0 : XSRETURN(argvi);
7805 : fail:
7806 :
7807 0 : SWIG_croak_null();
7808 : }
7809 : }
7810 :
7811 :
7812 0 : XS(_wrap_new_queryMapObj) {
7813 : {
7814 : int argvi = 0;
7815 : queryMapObj *result = 0 ;
7816 0 : dXSARGS;
7817 :
7818 0 : if ((items < 0) || (items > 0)) {
7819 0 : SWIG_croak("Usage: new_queryMapObj();");
7820 : }
7821 0 : result = (queryMapObj *)calloc(1, sizeof(queryMapObj));
7822 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7823 0 : XSRETURN(argvi);
7824 : fail:
7825 0 : SWIG_croak_null();
7826 : }
7827 : }
7828 :
7829 :
7830 0 : XS(_wrap_delete_queryMapObj) {
7831 : {
7832 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7833 0 : void *argp1 = 0 ;
7834 : int res1 = 0 ;
7835 : int argvi = 0;
7836 0 : dXSARGS;
7837 :
7838 0 : if ((items < 1) || (items > 1)) {
7839 0 : SWIG_croak("Usage: delete_queryMapObj(self);");
7840 : }
7841 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, SWIG_POINTER_DISOWN | 0 );
7842 0 : if (!SWIG_IsOK(res1)) {
7843 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_queryMapObj" "', argument " "1"" of type '" "queryMapObj *""'");
7844 : }
7845 0 : arg1 = (queryMapObj *)(argp1);
7846 0 : free((char *) arg1);
7847 0 : ST(argvi) = sv_newmortal();
7848 :
7849 0 : XSRETURN(argvi);
7850 : fail:
7851 :
7852 0 : SWIG_croak_null();
7853 : }
7854 : }
7855 :
7856 :
7857 0 : XS(_wrap_webObj_log_set) {
7858 : {
7859 : webObj *arg1 = (webObj *) 0 ;
7860 : char *arg2 = (char *) 0 ;
7861 0 : void *argp1 = 0 ;
7862 : int res1 = 0 ;
7863 : int res2 ;
7864 0 : char *buf2 = 0 ;
7865 0 : int alloc2 = 0 ;
7866 : int argvi = 0;
7867 0 : dXSARGS;
7868 :
7869 0 : if ((items < 2) || (items > 2)) {
7870 0 : SWIG_croak("Usage: webObj_log_set(self,log);");
7871 : }
7872 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7873 0 : if (!SWIG_IsOK(res1)) {
7874 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_set" "', argument " "1"" of type '" "webObj *""'");
7875 : }
7876 0 : arg1 = (webObj *)(argp1);
7877 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7878 0 : if (!SWIG_IsOK(res2)) {
7879 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_log_set" "', argument " "2"" of type '" "char *""'");
7880 : }
7881 0 : arg2 = (char *)(buf2);
7882 : {
7883 0 : if (arg1->log) free((char*)arg1->log);
7884 0 : if (arg2) {
7885 0 : arg1->log = (char *) malloc(strlen(arg2)+1);
7886 : strcpy((char*)arg1->log,arg2);
7887 : } else {
7888 0 : arg1->log = 0;
7889 : }
7890 : }
7891 0 : ST(argvi) = sv_newmortal();
7892 :
7893 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7894 0 : XSRETURN(argvi);
7895 : fail:
7896 :
7897 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7898 0 : SWIG_croak_null();
7899 : }
7900 : }
7901 :
7902 :
7903 0 : XS(_wrap_webObj_log_get) {
7904 : {
7905 : webObj *arg1 = (webObj *) 0 ;
7906 0 : void *argp1 = 0 ;
7907 : int res1 = 0 ;
7908 : int argvi = 0;
7909 : char *result = 0 ;
7910 0 : dXSARGS;
7911 :
7912 0 : if ((items < 1) || (items > 1)) {
7913 0 : SWIG_croak("Usage: webObj_log_get(self);");
7914 : }
7915 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7916 0 : if (!SWIG_IsOK(res1)) {
7917 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_get" "', argument " "1"" of type '" "webObj *""'");
7918 : }
7919 0 : arg1 = (webObj *)(argp1);
7920 0 : result = (char *) ((arg1)->log);
7921 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7922 :
7923 0 : XSRETURN(argvi);
7924 : fail:
7925 :
7926 0 : SWIG_croak_null();
7927 : }
7928 : }
7929 :
7930 :
7931 0 : XS(_wrap_webObj_imagepath_set) {
7932 : {
7933 : webObj *arg1 = (webObj *) 0 ;
7934 : char *arg2 = (char *) 0 ;
7935 0 : void *argp1 = 0 ;
7936 : int res1 = 0 ;
7937 : int res2 ;
7938 0 : char *buf2 = 0 ;
7939 0 : int alloc2 = 0 ;
7940 : int argvi = 0;
7941 0 : dXSARGS;
7942 :
7943 0 : if ((items < 2) || (items > 2)) {
7944 0 : SWIG_croak("Usage: webObj_imagepath_set(self,imagepath);");
7945 : }
7946 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7947 0 : if (!SWIG_IsOK(res1)) {
7948 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_set" "', argument " "1"" of type '" "webObj *""'");
7949 : }
7950 0 : arg1 = (webObj *)(argp1);
7951 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7952 0 : if (!SWIG_IsOK(res2)) {
7953 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imagepath_set" "', argument " "2"" of type '" "char *""'");
7954 : }
7955 0 : arg2 = (char *)(buf2);
7956 : {
7957 0 : if (arg1->imagepath) free((char*)arg1->imagepath);
7958 0 : if (arg2) {
7959 0 : arg1->imagepath = (char *) malloc(strlen(arg2)+1);
7960 : strcpy((char*)arg1->imagepath,arg2);
7961 : } else {
7962 0 : arg1->imagepath = 0;
7963 : }
7964 : }
7965 0 : ST(argvi) = sv_newmortal();
7966 :
7967 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7968 0 : XSRETURN(argvi);
7969 : fail:
7970 :
7971 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7972 0 : SWIG_croak_null();
7973 : }
7974 : }
7975 :
7976 :
7977 0 : XS(_wrap_webObj_imagepath_get) {
7978 : {
7979 : webObj *arg1 = (webObj *) 0 ;
7980 0 : void *argp1 = 0 ;
7981 : int res1 = 0 ;
7982 : int argvi = 0;
7983 : char *result = 0 ;
7984 0 : dXSARGS;
7985 :
7986 0 : if ((items < 1) || (items > 1)) {
7987 0 : SWIG_croak("Usage: webObj_imagepath_get(self);");
7988 : }
7989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7990 0 : if (!SWIG_IsOK(res1)) {
7991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_get" "', argument " "1"" of type '" "webObj *""'");
7992 : }
7993 0 : arg1 = (webObj *)(argp1);
7994 0 : result = (char *) ((arg1)->imagepath);
7995 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7996 :
7997 0 : XSRETURN(argvi);
7998 : fail:
7999 :
8000 0 : SWIG_croak_null();
8001 : }
8002 : }
8003 :
8004 :
8005 0 : XS(_wrap_webObj_imageurl_set) {
8006 : {
8007 : webObj *arg1 = (webObj *) 0 ;
8008 : char *arg2 = (char *) 0 ;
8009 0 : void *argp1 = 0 ;
8010 : int res1 = 0 ;
8011 : int res2 ;
8012 0 : char *buf2 = 0 ;
8013 0 : int alloc2 = 0 ;
8014 : int argvi = 0;
8015 0 : dXSARGS;
8016 :
8017 0 : if ((items < 2) || (items > 2)) {
8018 0 : SWIG_croak("Usage: webObj_imageurl_set(self,imageurl);");
8019 : }
8020 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8021 0 : if (!SWIG_IsOK(res1)) {
8022 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_set" "', argument " "1"" of type '" "webObj *""'");
8023 : }
8024 0 : arg1 = (webObj *)(argp1);
8025 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8026 0 : if (!SWIG_IsOK(res2)) {
8027 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imageurl_set" "', argument " "2"" of type '" "char *""'");
8028 : }
8029 0 : arg2 = (char *)(buf2);
8030 : {
8031 0 : if (arg1->imageurl) free((char*)arg1->imageurl);
8032 0 : if (arg2) {
8033 0 : arg1->imageurl = (char *) malloc(strlen(arg2)+1);
8034 : strcpy((char*)arg1->imageurl,arg2);
8035 : } else {
8036 0 : arg1->imageurl = 0;
8037 : }
8038 : }
8039 0 : ST(argvi) = sv_newmortal();
8040 :
8041 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8042 0 : XSRETURN(argvi);
8043 : fail:
8044 :
8045 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8046 0 : SWIG_croak_null();
8047 : }
8048 : }
8049 :
8050 :
8051 0 : XS(_wrap_webObj_imageurl_get) {
8052 : {
8053 : webObj *arg1 = (webObj *) 0 ;
8054 0 : void *argp1 = 0 ;
8055 : int res1 = 0 ;
8056 : int argvi = 0;
8057 : char *result = 0 ;
8058 0 : dXSARGS;
8059 :
8060 0 : if ((items < 1) || (items > 1)) {
8061 0 : SWIG_croak("Usage: webObj_imageurl_get(self);");
8062 : }
8063 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8064 0 : if (!SWIG_IsOK(res1)) {
8065 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_get" "', argument " "1"" of type '" "webObj *""'");
8066 : }
8067 0 : arg1 = (webObj *)(argp1);
8068 0 : result = (char *) ((arg1)->imageurl);
8069 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8070 :
8071 0 : XSRETURN(argvi);
8072 : fail:
8073 :
8074 0 : SWIG_croak_null();
8075 : }
8076 : }
8077 :
8078 :
8079 0 : XS(_wrap_webObj_temppath_set) {
8080 : {
8081 : webObj *arg1 = (webObj *) 0 ;
8082 : char *arg2 = (char *) 0 ;
8083 0 : void *argp1 = 0 ;
8084 : int res1 = 0 ;
8085 : int res2 ;
8086 0 : char *buf2 = 0 ;
8087 0 : int alloc2 = 0 ;
8088 : int argvi = 0;
8089 0 : dXSARGS;
8090 :
8091 0 : if ((items < 2) || (items > 2)) {
8092 0 : SWIG_croak("Usage: webObj_temppath_set(self,temppath);");
8093 : }
8094 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8095 0 : if (!SWIG_IsOK(res1)) {
8096 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_set" "', argument " "1"" of type '" "webObj *""'");
8097 : }
8098 0 : arg1 = (webObj *)(argp1);
8099 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8100 0 : if (!SWIG_IsOK(res2)) {
8101 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_temppath_set" "', argument " "2"" of type '" "char *""'");
8102 : }
8103 0 : arg2 = (char *)(buf2);
8104 : {
8105 0 : if (arg1->temppath) free((char*)arg1->temppath);
8106 0 : if (arg2) {
8107 0 : arg1->temppath = (char *) malloc(strlen(arg2)+1);
8108 : strcpy((char*)arg1->temppath,arg2);
8109 : } else {
8110 0 : arg1->temppath = 0;
8111 : }
8112 : }
8113 0 : ST(argvi) = sv_newmortal();
8114 :
8115 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8116 0 : XSRETURN(argvi);
8117 : fail:
8118 :
8119 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8120 0 : SWIG_croak_null();
8121 : }
8122 : }
8123 :
8124 :
8125 0 : XS(_wrap_webObj_temppath_get) {
8126 : {
8127 : webObj *arg1 = (webObj *) 0 ;
8128 0 : void *argp1 = 0 ;
8129 : int res1 = 0 ;
8130 : int argvi = 0;
8131 : char *result = 0 ;
8132 0 : dXSARGS;
8133 :
8134 0 : if ((items < 1) || (items > 1)) {
8135 0 : SWIG_croak("Usage: webObj_temppath_get(self);");
8136 : }
8137 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8138 0 : if (!SWIG_IsOK(res1)) {
8139 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_get" "', argument " "1"" of type '" "webObj *""'");
8140 : }
8141 0 : arg1 = (webObj *)(argp1);
8142 0 : result = (char *) ((arg1)->temppath);
8143 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8144 :
8145 0 : XSRETURN(argvi);
8146 : fail:
8147 :
8148 0 : SWIG_croak_null();
8149 : }
8150 : }
8151 :
8152 :
8153 0 : XS(_wrap_webObj_map_get) {
8154 : {
8155 : webObj *arg1 = (webObj *) 0 ;
8156 0 : void *argp1 = 0 ;
8157 : int res1 = 0 ;
8158 : int argvi = 0;
8159 : struct mapObj *result = 0 ;
8160 0 : dXSARGS;
8161 :
8162 0 : if ((items < 1) || (items > 1)) {
8163 0 : SWIG_croak("Usage: webObj_map_get(self);");
8164 : }
8165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8166 0 : if (!SWIG_IsOK(res1)) {
8167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_map_get" "', argument " "1"" of type '" "webObj *""'");
8168 : }
8169 0 : arg1 = (webObj *)(argp1);
8170 : {
8171 : /* Accessing map */
8172 0 : result = (struct mapObj *) ((arg1)->map);;
8173 0 : MS_REFCNT_INCR(result);
8174 : }
8175 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
8176 :
8177 0 : XSRETURN(argvi);
8178 : fail:
8179 :
8180 0 : SWIG_croak_null();
8181 : }
8182 : }
8183 :
8184 :
8185 0 : XS(_wrap_webObj_template_set) {
8186 : {
8187 : webObj *arg1 = (webObj *) 0 ;
8188 : char *arg2 = (char *) 0 ;
8189 0 : void *argp1 = 0 ;
8190 : int res1 = 0 ;
8191 : int res2 ;
8192 0 : char *buf2 = 0 ;
8193 0 : int alloc2 = 0 ;
8194 : int argvi = 0;
8195 0 : dXSARGS;
8196 :
8197 0 : if ((items < 2) || (items > 2)) {
8198 0 : SWIG_croak("Usage: webObj_template_set(self,template);");
8199 : }
8200 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8201 0 : if (!SWIG_IsOK(res1)) {
8202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_set" "', argument " "1"" of type '" "webObj *""'");
8203 : }
8204 0 : arg1 = (webObj *)(argp1);
8205 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8206 0 : if (!SWIG_IsOK(res2)) {
8207 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_template_set" "', argument " "2"" of type '" "char *""'");
8208 : }
8209 0 : arg2 = (char *)(buf2);
8210 : {
8211 0 : if (arg1->template) free((char*)arg1->template);
8212 0 : if (arg2) {
8213 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
8214 : strcpy((char*)arg1->template,arg2);
8215 : } else {
8216 0 : arg1->template = 0;
8217 : }
8218 : }
8219 0 : ST(argvi) = sv_newmortal();
8220 :
8221 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8222 0 : XSRETURN(argvi);
8223 : fail:
8224 :
8225 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8226 0 : SWIG_croak_null();
8227 : }
8228 : }
8229 :
8230 :
8231 0 : XS(_wrap_webObj_template_get) {
8232 : {
8233 : webObj *arg1 = (webObj *) 0 ;
8234 0 : void *argp1 = 0 ;
8235 : int res1 = 0 ;
8236 : int argvi = 0;
8237 : char *result = 0 ;
8238 0 : dXSARGS;
8239 :
8240 0 : if ((items < 1) || (items > 1)) {
8241 0 : SWIG_croak("Usage: webObj_template_get(self);");
8242 : }
8243 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8244 0 : if (!SWIG_IsOK(res1)) {
8245 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_get" "', argument " "1"" of type '" "webObj *""'");
8246 : }
8247 0 : arg1 = (webObj *)(argp1);
8248 0 : result = (char *) ((arg1)->template);
8249 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8250 :
8251 0 : XSRETURN(argvi);
8252 : fail:
8253 :
8254 0 : SWIG_croak_null();
8255 : }
8256 : }
8257 :
8258 :
8259 0 : XS(_wrap_webObj_header_set) {
8260 : {
8261 : webObj *arg1 = (webObj *) 0 ;
8262 : char *arg2 = (char *) 0 ;
8263 0 : void *argp1 = 0 ;
8264 : int res1 = 0 ;
8265 : int res2 ;
8266 0 : char *buf2 = 0 ;
8267 0 : int alloc2 = 0 ;
8268 : int argvi = 0;
8269 0 : dXSARGS;
8270 :
8271 0 : if ((items < 2) || (items > 2)) {
8272 0 : SWIG_croak("Usage: webObj_header_set(self,header);");
8273 : }
8274 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8275 0 : if (!SWIG_IsOK(res1)) {
8276 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_set" "', argument " "1"" of type '" "webObj *""'");
8277 : }
8278 0 : arg1 = (webObj *)(argp1);
8279 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8280 0 : if (!SWIG_IsOK(res2)) {
8281 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_header_set" "', argument " "2"" of type '" "char *""'");
8282 : }
8283 0 : arg2 = (char *)(buf2);
8284 : {
8285 0 : if (arg1->header) free((char*)arg1->header);
8286 0 : if (arg2) {
8287 0 : arg1->header = (char *) malloc(strlen(arg2)+1);
8288 : strcpy((char*)arg1->header,arg2);
8289 : } else {
8290 0 : arg1->header = 0;
8291 : }
8292 : }
8293 0 : ST(argvi) = sv_newmortal();
8294 :
8295 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8296 0 : XSRETURN(argvi);
8297 : fail:
8298 :
8299 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8300 0 : SWIG_croak_null();
8301 : }
8302 : }
8303 :
8304 :
8305 0 : XS(_wrap_webObj_header_get) {
8306 : {
8307 : webObj *arg1 = (webObj *) 0 ;
8308 0 : void *argp1 = 0 ;
8309 : int res1 = 0 ;
8310 : int argvi = 0;
8311 : char *result = 0 ;
8312 0 : dXSARGS;
8313 :
8314 0 : if ((items < 1) || (items > 1)) {
8315 0 : SWIG_croak("Usage: webObj_header_get(self);");
8316 : }
8317 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8318 0 : if (!SWIG_IsOK(res1)) {
8319 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_get" "', argument " "1"" of type '" "webObj *""'");
8320 : }
8321 0 : arg1 = (webObj *)(argp1);
8322 0 : result = (char *) ((arg1)->header);
8323 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8324 :
8325 0 : XSRETURN(argvi);
8326 : fail:
8327 :
8328 0 : SWIG_croak_null();
8329 : }
8330 : }
8331 :
8332 :
8333 0 : XS(_wrap_webObj_footer_set) {
8334 : {
8335 : webObj *arg1 = (webObj *) 0 ;
8336 : char *arg2 = (char *) 0 ;
8337 0 : void *argp1 = 0 ;
8338 : int res1 = 0 ;
8339 : int res2 ;
8340 0 : char *buf2 = 0 ;
8341 0 : int alloc2 = 0 ;
8342 : int argvi = 0;
8343 0 : dXSARGS;
8344 :
8345 0 : if ((items < 2) || (items > 2)) {
8346 0 : SWIG_croak("Usage: webObj_footer_set(self,footer);");
8347 : }
8348 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8349 0 : if (!SWIG_IsOK(res1)) {
8350 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_set" "', argument " "1"" of type '" "webObj *""'");
8351 : }
8352 0 : arg1 = (webObj *)(argp1);
8353 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8354 0 : if (!SWIG_IsOK(res2)) {
8355 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_footer_set" "', argument " "2"" of type '" "char *""'");
8356 : }
8357 0 : arg2 = (char *)(buf2);
8358 : {
8359 0 : if (arg1->footer) free((char*)arg1->footer);
8360 0 : if (arg2) {
8361 0 : arg1->footer = (char *) malloc(strlen(arg2)+1);
8362 : strcpy((char*)arg1->footer,arg2);
8363 : } else {
8364 0 : arg1->footer = 0;
8365 : }
8366 : }
8367 0 : ST(argvi) = sv_newmortal();
8368 :
8369 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8370 0 : XSRETURN(argvi);
8371 : fail:
8372 :
8373 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8374 0 : SWIG_croak_null();
8375 : }
8376 : }
8377 :
8378 :
8379 0 : XS(_wrap_webObj_footer_get) {
8380 : {
8381 : webObj *arg1 = (webObj *) 0 ;
8382 0 : void *argp1 = 0 ;
8383 : int res1 = 0 ;
8384 : int argvi = 0;
8385 : char *result = 0 ;
8386 0 : dXSARGS;
8387 :
8388 0 : if ((items < 1) || (items > 1)) {
8389 0 : SWIG_croak("Usage: webObj_footer_get(self);");
8390 : }
8391 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8392 0 : if (!SWIG_IsOK(res1)) {
8393 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_get" "', argument " "1"" of type '" "webObj *""'");
8394 : }
8395 0 : arg1 = (webObj *)(argp1);
8396 0 : result = (char *) ((arg1)->footer);
8397 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8398 :
8399 0 : XSRETURN(argvi);
8400 : fail:
8401 :
8402 0 : SWIG_croak_null();
8403 : }
8404 : }
8405 :
8406 :
8407 0 : XS(_wrap_webObj_empty_set) {
8408 : {
8409 : webObj *arg1 = (webObj *) 0 ;
8410 : char *arg2 = (char *) 0 ;
8411 0 : void *argp1 = 0 ;
8412 : int res1 = 0 ;
8413 : int res2 ;
8414 0 : char *buf2 = 0 ;
8415 0 : int alloc2 = 0 ;
8416 : int argvi = 0;
8417 0 : dXSARGS;
8418 :
8419 0 : if ((items < 2) || (items > 2)) {
8420 0 : SWIG_croak("Usage: webObj_empty_set(self,empty);");
8421 : }
8422 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8423 0 : if (!SWIG_IsOK(res1)) {
8424 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_set" "', argument " "1"" of type '" "webObj *""'");
8425 : }
8426 0 : arg1 = (webObj *)(argp1);
8427 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8428 0 : if (!SWIG_IsOK(res2)) {
8429 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_empty_set" "', argument " "2"" of type '" "char *""'");
8430 : }
8431 0 : arg2 = (char *)(buf2);
8432 : {
8433 0 : if (arg1->empty) free((char*)arg1->empty);
8434 0 : if (arg2) {
8435 0 : arg1->empty = (char *) malloc(strlen(arg2)+1);
8436 : strcpy((char*)arg1->empty,arg2);
8437 : } else {
8438 0 : arg1->empty = 0;
8439 : }
8440 : }
8441 0 : ST(argvi) = sv_newmortal();
8442 :
8443 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8444 0 : XSRETURN(argvi);
8445 : fail:
8446 :
8447 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8448 0 : SWIG_croak_null();
8449 : }
8450 : }
8451 :
8452 :
8453 0 : XS(_wrap_webObj_empty_get) {
8454 : {
8455 : webObj *arg1 = (webObj *) 0 ;
8456 0 : void *argp1 = 0 ;
8457 : int res1 = 0 ;
8458 : int argvi = 0;
8459 : char *result = 0 ;
8460 0 : dXSARGS;
8461 :
8462 0 : if ((items < 1) || (items > 1)) {
8463 0 : SWIG_croak("Usage: webObj_empty_get(self);");
8464 : }
8465 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8466 0 : if (!SWIG_IsOK(res1)) {
8467 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_get" "', argument " "1"" of type '" "webObj *""'");
8468 : }
8469 0 : arg1 = (webObj *)(argp1);
8470 0 : result = (char *) ((arg1)->empty);
8471 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8472 :
8473 0 : XSRETURN(argvi);
8474 : fail:
8475 :
8476 0 : SWIG_croak_null();
8477 : }
8478 : }
8479 :
8480 :
8481 0 : XS(_wrap_webObj_error_set) {
8482 : {
8483 : webObj *arg1 = (webObj *) 0 ;
8484 : char *arg2 = (char *) 0 ;
8485 0 : void *argp1 = 0 ;
8486 : int res1 = 0 ;
8487 : int res2 ;
8488 0 : char *buf2 = 0 ;
8489 0 : int alloc2 = 0 ;
8490 : int argvi = 0;
8491 0 : dXSARGS;
8492 :
8493 0 : if ((items < 2) || (items > 2)) {
8494 0 : SWIG_croak("Usage: webObj_error_set(self,error);");
8495 : }
8496 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8497 0 : if (!SWIG_IsOK(res1)) {
8498 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_set" "', argument " "1"" of type '" "webObj *""'");
8499 : }
8500 0 : arg1 = (webObj *)(argp1);
8501 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8502 0 : if (!SWIG_IsOK(res2)) {
8503 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_error_set" "', argument " "2"" of type '" "char *""'");
8504 : }
8505 0 : arg2 = (char *)(buf2);
8506 : {
8507 0 : if (arg1->error) free((char*)arg1->error);
8508 0 : if (arg2) {
8509 0 : arg1->error = (char *) malloc(strlen(arg2)+1);
8510 : strcpy((char*)arg1->error,arg2);
8511 : } else {
8512 0 : arg1->error = 0;
8513 : }
8514 : }
8515 0 : ST(argvi) = sv_newmortal();
8516 :
8517 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8518 0 : XSRETURN(argvi);
8519 : fail:
8520 :
8521 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8522 0 : SWIG_croak_null();
8523 : }
8524 : }
8525 :
8526 :
8527 0 : XS(_wrap_webObj_error_get) {
8528 : {
8529 : webObj *arg1 = (webObj *) 0 ;
8530 0 : void *argp1 = 0 ;
8531 : int res1 = 0 ;
8532 : int argvi = 0;
8533 : char *result = 0 ;
8534 0 : dXSARGS;
8535 :
8536 0 : if ((items < 1) || (items > 1)) {
8537 0 : SWIG_croak("Usage: webObj_error_get(self);");
8538 : }
8539 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8540 0 : if (!SWIG_IsOK(res1)) {
8541 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_get" "', argument " "1"" of type '" "webObj *""'");
8542 : }
8543 0 : arg1 = (webObj *)(argp1);
8544 0 : result = (char *) ((arg1)->error);
8545 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8546 :
8547 0 : XSRETURN(argvi);
8548 : fail:
8549 :
8550 0 : SWIG_croak_null();
8551 : }
8552 : }
8553 :
8554 :
8555 0 : XS(_wrap_webObj_extent_set) {
8556 : {
8557 : webObj *arg1 = (webObj *) 0 ;
8558 : rectObj *arg2 = (rectObj *) 0 ;
8559 0 : void *argp1 = 0 ;
8560 : int res1 = 0 ;
8561 0 : void *argp2 = 0 ;
8562 : int res2 = 0 ;
8563 : int argvi = 0;
8564 0 : dXSARGS;
8565 :
8566 0 : if ((items < 2) || (items > 2)) {
8567 0 : SWIG_croak("Usage: webObj_extent_set(self,extent);");
8568 : }
8569 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8570 0 : if (!SWIG_IsOK(res1)) {
8571 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_set" "', argument " "1"" of type '" "webObj *""'");
8572 : }
8573 0 : arg1 = (webObj *)(argp1);
8574 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
8575 0 : if (!SWIG_IsOK(res2)) {
8576 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
8577 : }
8578 0 : arg2 = (rectObj *)(argp2);
8579 0 : if (arg1) (arg1)->extent = *arg2;
8580 0 : ST(argvi) = sv_newmortal();
8581 :
8582 :
8583 0 : XSRETURN(argvi);
8584 : fail:
8585 :
8586 :
8587 0 : SWIG_croak_null();
8588 : }
8589 : }
8590 :
8591 :
8592 0 : XS(_wrap_webObj_extent_get) {
8593 : {
8594 : webObj *arg1 = (webObj *) 0 ;
8595 0 : void *argp1 = 0 ;
8596 : int res1 = 0 ;
8597 : int argvi = 0;
8598 : rectObj *result = 0 ;
8599 0 : dXSARGS;
8600 :
8601 0 : if ((items < 1) || (items > 1)) {
8602 0 : SWIG_croak("Usage: webObj_extent_get(self);");
8603 : }
8604 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8605 0 : if (!SWIG_IsOK(res1)) {
8606 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_get" "', argument " "1"" of type '" "webObj *""'");
8607 : }
8608 0 : arg1 = (webObj *)(argp1);
8609 0 : result = (rectObj *)& ((arg1)->extent);
8610 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
8611 :
8612 0 : XSRETURN(argvi);
8613 : fail:
8614 :
8615 0 : SWIG_croak_null();
8616 : }
8617 : }
8618 :
8619 :
8620 0 : XS(_wrap_webObj_minscaledenom_set) {
8621 : {
8622 : webObj *arg1 = (webObj *) 0 ;
8623 : double arg2 ;
8624 0 : void *argp1 = 0 ;
8625 : int res1 = 0 ;
8626 : double val2 ;
8627 : int ecode2 = 0 ;
8628 : int argvi = 0;
8629 0 : dXSARGS;
8630 :
8631 0 : if ((items < 2) || (items > 2)) {
8632 0 : SWIG_croak("Usage: webObj_minscaledenom_set(self,minscaledenom);");
8633 : }
8634 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8635 0 : if (!SWIG_IsOK(res1)) {
8636 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_set" "', argument " "1"" of type '" "webObj *""'");
8637 : }
8638 0 : arg1 = (webObj *)(argp1);
8639 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8640 0 : if (!SWIG_IsOK(ecode2)) {
8641 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
8642 : }
8643 0 : arg2 = (double)(val2);
8644 0 : if (arg1) (arg1)->minscaledenom = arg2;
8645 0 : ST(argvi) = sv_newmortal();
8646 :
8647 :
8648 0 : XSRETURN(argvi);
8649 : fail:
8650 :
8651 :
8652 0 : SWIG_croak_null();
8653 : }
8654 : }
8655 :
8656 :
8657 0 : XS(_wrap_webObj_minscaledenom_get) {
8658 : {
8659 : webObj *arg1 = (webObj *) 0 ;
8660 0 : void *argp1 = 0 ;
8661 : int res1 = 0 ;
8662 : int argvi = 0;
8663 : double result;
8664 0 : dXSARGS;
8665 :
8666 0 : if ((items < 1) || (items > 1)) {
8667 0 : SWIG_croak("Usage: webObj_minscaledenom_get(self);");
8668 : }
8669 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8670 0 : if (!SWIG_IsOK(res1)) {
8671 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_get" "', argument " "1"" of type '" "webObj *""'");
8672 : }
8673 0 : arg1 = (webObj *)(argp1);
8674 0 : result = (double) ((arg1)->minscaledenom);
8675 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8676 :
8677 0 : XSRETURN(argvi);
8678 : fail:
8679 :
8680 0 : SWIG_croak_null();
8681 : }
8682 : }
8683 :
8684 :
8685 0 : XS(_wrap_webObj_maxscaledenom_set) {
8686 : {
8687 : webObj *arg1 = (webObj *) 0 ;
8688 : double arg2 ;
8689 0 : void *argp1 = 0 ;
8690 : int res1 = 0 ;
8691 : double val2 ;
8692 : int ecode2 = 0 ;
8693 : int argvi = 0;
8694 0 : dXSARGS;
8695 :
8696 0 : if ((items < 2) || (items > 2)) {
8697 0 : SWIG_croak("Usage: webObj_maxscaledenom_set(self,maxscaledenom);");
8698 : }
8699 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8700 0 : if (!SWIG_IsOK(res1)) {
8701 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_set" "', argument " "1"" of type '" "webObj *""'");
8702 : }
8703 0 : arg1 = (webObj *)(argp1);
8704 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8705 0 : if (!SWIG_IsOK(ecode2)) {
8706 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
8707 : }
8708 0 : arg2 = (double)(val2);
8709 0 : if (arg1) (arg1)->maxscaledenom = arg2;
8710 0 : ST(argvi) = sv_newmortal();
8711 :
8712 :
8713 0 : XSRETURN(argvi);
8714 : fail:
8715 :
8716 :
8717 0 : SWIG_croak_null();
8718 : }
8719 : }
8720 :
8721 :
8722 0 : XS(_wrap_webObj_maxscaledenom_get) {
8723 : {
8724 : webObj *arg1 = (webObj *) 0 ;
8725 0 : void *argp1 = 0 ;
8726 : int res1 = 0 ;
8727 : int argvi = 0;
8728 : double result;
8729 0 : dXSARGS;
8730 :
8731 0 : if ((items < 1) || (items > 1)) {
8732 0 : SWIG_croak("Usage: webObj_maxscaledenom_get(self);");
8733 : }
8734 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8735 0 : if (!SWIG_IsOK(res1)) {
8736 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_get" "', argument " "1"" of type '" "webObj *""'");
8737 : }
8738 0 : arg1 = (webObj *)(argp1);
8739 0 : result = (double) ((arg1)->maxscaledenom);
8740 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8741 :
8742 0 : XSRETURN(argvi);
8743 : fail:
8744 :
8745 0 : SWIG_croak_null();
8746 : }
8747 : }
8748 :
8749 :
8750 0 : XS(_wrap_webObj_mintemplate_set) {
8751 : {
8752 : webObj *arg1 = (webObj *) 0 ;
8753 : char *arg2 = (char *) 0 ;
8754 0 : void *argp1 = 0 ;
8755 : int res1 = 0 ;
8756 : int res2 ;
8757 0 : char *buf2 = 0 ;
8758 0 : int alloc2 = 0 ;
8759 : int argvi = 0;
8760 0 : dXSARGS;
8761 :
8762 0 : if ((items < 2) || (items > 2)) {
8763 0 : SWIG_croak("Usage: webObj_mintemplate_set(self,mintemplate);");
8764 : }
8765 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8766 0 : if (!SWIG_IsOK(res1)) {
8767 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_set" "', argument " "1"" of type '" "webObj *""'");
8768 : }
8769 0 : arg1 = (webObj *)(argp1);
8770 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8771 0 : if (!SWIG_IsOK(res2)) {
8772 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_mintemplate_set" "', argument " "2"" of type '" "char *""'");
8773 : }
8774 0 : arg2 = (char *)(buf2);
8775 : {
8776 0 : if (arg1->mintemplate) free((char*)arg1->mintemplate);
8777 0 : if (arg2) {
8778 0 : arg1->mintemplate = (char *) malloc(strlen(arg2)+1);
8779 : strcpy((char*)arg1->mintemplate,arg2);
8780 : } else {
8781 0 : arg1->mintemplate = 0;
8782 : }
8783 : }
8784 0 : ST(argvi) = sv_newmortal();
8785 :
8786 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8787 0 : XSRETURN(argvi);
8788 : fail:
8789 :
8790 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8791 0 : SWIG_croak_null();
8792 : }
8793 : }
8794 :
8795 :
8796 0 : XS(_wrap_webObj_mintemplate_get) {
8797 : {
8798 : webObj *arg1 = (webObj *) 0 ;
8799 0 : void *argp1 = 0 ;
8800 : int res1 = 0 ;
8801 : int argvi = 0;
8802 : char *result = 0 ;
8803 0 : dXSARGS;
8804 :
8805 0 : if ((items < 1) || (items > 1)) {
8806 0 : SWIG_croak("Usage: webObj_mintemplate_get(self);");
8807 : }
8808 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8809 0 : if (!SWIG_IsOK(res1)) {
8810 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_get" "', argument " "1"" of type '" "webObj *""'");
8811 : }
8812 0 : arg1 = (webObj *)(argp1);
8813 0 : result = (char *) ((arg1)->mintemplate);
8814 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8815 :
8816 0 : XSRETURN(argvi);
8817 : fail:
8818 :
8819 0 : SWIG_croak_null();
8820 : }
8821 : }
8822 :
8823 :
8824 0 : XS(_wrap_webObj_maxtemplate_set) {
8825 : {
8826 : webObj *arg1 = (webObj *) 0 ;
8827 : char *arg2 = (char *) 0 ;
8828 0 : void *argp1 = 0 ;
8829 : int res1 = 0 ;
8830 : int res2 ;
8831 0 : char *buf2 = 0 ;
8832 0 : int alloc2 = 0 ;
8833 : int argvi = 0;
8834 0 : dXSARGS;
8835 :
8836 0 : if ((items < 2) || (items > 2)) {
8837 0 : SWIG_croak("Usage: webObj_maxtemplate_set(self,maxtemplate);");
8838 : }
8839 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8840 0 : if (!SWIG_IsOK(res1)) {
8841 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_set" "', argument " "1"" of type '" "webObj *""'");
8842 : }
8843 0 : arg1 = (webObj *)(argp1);
8844 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8845 0 : if (!SWIG_IsOK(res2)) {
8846 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_maxtemplate_set" "', argument " "2"" of type '" "char *""'");
8847 : }
8848 0 : arg2 = (char *)(buf2);
8849 : {
8850 0 : if (arg1->maxtemplate) free((char*)arg1->maxtemplate);
8851 0 : if (arg2) {
8852 0 : arg1->maxtemplate = (char *) malloc(strlen(arg2)+1);
8853 : strcpy((char*)arg1->maxtemplate,arg2);
8854 : } else {
8855 0 : arg1->maxtemplate = 0;
8856 : }
8857 : }
8858 0 : ST(argvi) = sv_newmortal();
8859 :
8860 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8861 0 : XSRETURN(argvi);
8862 : fail:
8863 :
8864 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8865 0 : SWIG_croak_null();
8866 : }
8867 : }
8868 :
8869 :
8870 0 : XS(_wrap_webObj_maxtemplate_get) {
8871 : {
8872 : webObj *arg1 = (webObj *) 0 ;
8873 0 : void *argp1 = 0 ;
8874 : int res1 = 0 ;
8875 : int argvi = 0;
8876 : char *result = 0 ;
8877 0 : dXSARGS;
8878 :
8879 0 : if ((items < 1) || (items > 1)) {
8880 0 : SWIG_croak("Usage: webObj_maxtemplate_get(self);");
8881 : }
8882 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8883 0 : if (!SWIG_IsOK(res1)) {
8884 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_get" "', argument " "1"" of type '" "webObj *""'");
8885 : }
8886 0 : arg1 = (webObj *)(argp1);
8887 0 : result = (char *) ((arg1)->maxtemplate);
8888 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8889 :
8890 0 : XSRETURN(argvi);
8891 : fail:
8892 :
8893 0 : SWIG_croak_null();
8894 : }
8895 : }
8896 :
8897 :
8898 0 : XS(_wrap_webObj_queryformat_set) {
8899 : {
8900 : webObj *arg1 = (webObj *) 0 ;
8901 : char *arg2 = (char *) 0 ;
8902 0 : void *argp1 = 0 ;
8903 : int res1 = 0 ;
8904 : int res2 ;
8905 0 : char *buf2 = 0 ;
8906 0 : int alloc2 = 0 ;
8907 : int argvi = 0;
8908 0 : dXSARGS;
8909 :
8910 0 : if ((items < 2) || (items > 2)) {
8911 0 : SWIG_croak("Usage: webObj_queryformat_set(self,queryformat);");
8912 : }
8913 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8914 0 : if (!SWIG_IsOK(res1)) {
8915 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_set" "', argument " "1"" of type '" "webObj *""'");
8916 : }
8917 0 : arg1 = (webObj *)(argp1);
8918 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8919 0 : if (!SWIG_IsOK(res2)) {
8920 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_queryformat_set" "', argument " "2"" of type '" "char *""'");
8921 : }
8922 0 : arg2 = (char *)(buf2);
8923 : {
8924 0 : if (arg1->queryformat) free((char*)arg1->queryformat);
8925 0 : if (arg2) {
8926 0 : arg1->queryformat = (char *) malloc(strlen(arg2)+1);
8927 : strcpy((char*)arg1->queryformat,arg2);
8928 : } else {
8929 0 : arg1->queryformat = 0;
8930 : }
8931 : }
8932 0 : ST(argvi) = sv_newmortal();
8933 :
8934 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8935 0 : XSRETURN(argvi);
8936 : fail:
8937 :
8938 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8939 0 : SWIG_croak_null();
8940 : }
8941 : }
8942 :
8943 :
8944 0 : XS(_wrap_webObj_queryformat_get) {
8945 : {
8946 : webObj *arg1 = (webObj *) 0 ;
8947 0 : void *argp1 = 0 ;
8948 : int res1 = 0 ;
8949 : int argvi = 0;
8950 : char *result = 0 ;
8951 0 : dXSARGS;
8952 :
8953 0 : if ((items < 1) || (items > 1)) {
8954 0 : SWIG_croak("Usage: webObj_queryformat_get(self);");
8955 : }
8956 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8957 0 : if (!SWIG_IsOK(res1)) {
8958 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_get" "', argument " "1"" of type '" "webObj *""'");
8959 : }
8960 0 : arg1 = (webObj *)(argp1);
8961 0 : result = (char *) ((arg1)->queryformat);
8962 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8963 :
8964 0 : XSRETURN(argvi);
8965 : fail:
8966 :
8967 0 : SWIG_croak_null();
8968 : }
8969 : }
8970 :
8971 :
8972 0 : XS(_wrap_webObj_legendformat_set) {
8973 : {
8974 : webObj *arg1 = (webObj *) 0 ;
8975 : char *arg2 = (char *) 0 ;
8976 0 : void *argp1 = 0 ;
8977 : int res1 = 0 ;
8978 : int res2 ;
8979 0 : char *buf2 = 0 ;
8980 0 : int alloc2 = 0 ;
8981 : int argvi = 0;
8982 0 : dXSARGS;
8983 :
8984 0 : if ((items < 2) || (items > 2)) {
8985 0 : SWIG_croak("Usage: webObj_legendformat_set(self,legendformat);");
8986 : }
8987 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8988 0 : if (!SWIG_IsOK(res1)) {
8989 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_set" "', argument " "1"" of type '" "webObj *""'");
8990 : }
8991 0 : arg1 = (webObj *)(argp1);
8992 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8993 0 : if (!SWIG_IsOK(res2)) {
8994 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_legendformat_set" "', argument " "2"" of type '" "char *""'");
8995 : }
8996 0 : arg2 = (char *)(buf2);
8997 : {
8998 0 : if (arg1->legendformat) free((char*)arg1->legendformat);
8999 0 : if (arg2) {
9000 0 : arg1->legendformat = (char *) malloc(strlen(arg2)+1);
9001 : strcpy((char*)arg1->legendformat,arg2);
9002 : } else {
9003 0 : arg1->legendformat = 0;
9004 : }
9005 : }
9006 0 : ST(argvi) = sv_newmortal();
9007 :
9008 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9009 0 : XSRETURN(argvi);
9010 : fail:
9011 :
9012 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9013 0 : SWIG_croak_null();
9014 : }
9015 : }
9016 :
9017 :
9018 0 : XS(_wrap_webObj_legendformat_get) {
9019 : {
9020 : webObj *arg1 = (webObj *) 0 ;
9021 0 : void *argp1 = 0 ;
9022 : int res1 = 0 ;
9023 : int argvi = 0;
9024 : char *result = 0 ;
9025 0 : dXSARGS;
9026 :
9027 0 : if ((items < 1) || (items > 1)) {
9028 0 : SWIG_croak("Usage: webObj_legendformat_get(self);");
9029 : }
9030 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9031 0 : if (!SWIG_IsOK(res1)) {
9032 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_get" "', argument " "1"" of type '" "webObj *""'");
9033 : }
9034 0 : arg1 = (webObj *)(argp1);
9035 0 : result = (char *) ((arg1)->legendformat);
9036 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9037 :
9038 0 : XSRETURN(argvi);
9039 : fail:
9040 :
9041 0 : SWIG_croak_null();
9042 : }
9043 : }
9044 :
9045 :
9046 0 : XS(_wrap_webObj_browseformat_set) {
9047 : {
9048 : webObj *arg1 = (webObj *) 0 ;
9049 : char *arg2 = (char *) 0 ;
9050 0 : void *argp1 = 0 ;
9051 : int res1 = 0 ;
9052 : int res2 ;
9053 0 : char *buf2 = 0 ;
9054 0 : int alloc2 = 0 ;
9055 : int argvi = 0;
9056 0 : dXSARGS;
9057 :
9058 0 : if ((items < 2) || (items > 2)) {
9059 0 : SWIG_croak("Usage: webObj_browseformat_set(self,browseformat);");
9060 : }
9061 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9062 0 : if (!SWIG_IsOK(res1)) {
9063 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_set" "', argument " "1"" of type '" "webObj *""'");
9064 : }
9065 0 : arg1 = (webObj *)(argp1);
9066 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9067 0 : if (!SWIG_IsOK(res2)) {
9068 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_browseformat_set" "', argument " "2"" of type '" "char *""'");
9069 : }
9070 0 : arg2 = (char *)(buf2);
9071 : {
9072 0 : if (arg1->browseformat) free((char*)arg1->browseformat);
9073 0 : if (arg2) {
9074 0 : arg1->browseformat = (char *) malloc(strlen(arg2)+1);
9075 : strcpy((char*)arg1->browseformat,arg2);
9076 : } else {
9077 0 : arg1->browseformat = 0;
9078 : }
9079 : }
9080 0 : ST(argvi) = sv_newmortal();
9081 :
9082 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9083 0 : XSRETURN(argvi);
9084 : fail:
9085 :
9086 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9087 0 : SWIG_croak_null();
9088 : }
9089 : }
9090 :
9091 :
9092 0 : XS(_wrap_webObj_browseformat_get) {
9093 : {
9094 : webObj *arg1 = (webObj *) 0 ;
9095 0 : void *argp1 = 0 ;
9096 : int res1 = 0 ;
9097 : int argvi = 0;
9098 : char *result = 0 ;
9099 0 : dXSARGS;
9100 :
9101 0 : if ((items < 1) || (items > 1)) {
9102 0 : SWIG_croak("Usage: webObj_browseformat_get(self);");
9103 : }
9104 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9105 0 : if (!SWIG_IsOK(res1)) {
9106 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_get" "', argument " "1"" of type '" "webObj *""'");
9107 : }
9108 0 : arg1 = (webObj *)(argp1);
9109 0 : result = (char *) ((arg1)->browseformat);
9110 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9111 :
9112 0 : XSRETURN(argvi);
9113 : fail:
9114 :
9115 0 : SWIG_croak_null();
9116 : }
9117 : }
9118 :
9119 :
9120 0 : XS(_wrap_webObj_metadata_get) {
9121 : {
9122 : webObj *arg1 = (webObj *) 0 ;
9123 0 : void *argp1 = 0 ;
9124 : int res1 = 0 ;
9125 : int argvi = 0;
9126 : hashTableObj *result = 0 ;
9127 0 : dXSARGS;
9128 :
9129 0 : if ((items < 1) || (items > 1)) {
9130 0 : SWIG_croak("Usage: webObj_metadata_get(self);");
9131 : }
9132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9133 0 : if (!SWIG_IsOK(res1)) {
9134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_metadata_get" "', argument " "1"" of type '" "webObj *""'");
9135 : }
9136 0 : arg1 = (webObj *)(argp1);
9137 0 : result = (hashTableObj *)& ((arg1)->metadata);
9138 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
9139 :
9140 0 : XSRETURN(argvi);
9141 : fail:
9142 :
9143 0 : SWIG_croak_null();
9144 : }
9145 : }
9146 :
9147 :
9148 0 : XS(_wrap_webObj_validation_get) {
9149 : {
9150 : webObj *arg1 = (webObj *) 0 ;
9151 0 : void *argp1 = 0 ;
9152 : int res1 = 0 ;
9153 : int argvi = 0;
9154 : hashTableObj *result = 0 ;
9155 0 : dXSARGS;
9156 :
9157 0 : if ((items < 1) || (items > 1)) {
9158 0 : SWIG_croak("Usage: webObj_validation_get(self);");
9159 : }
9160 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9161 0 : if (!SWIG_IsOK(res1)) {
9162 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_validation_get" "', argument " "1"" of type '" "webObj *""'");
9163 : }
9164 0 : arg1 = (webObj *)(argp1);
9165 0 : result = (hashTableObj *)& ((arg1)->validation);
9166 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
9167 :
9168 0 : XSRETURN(argvi);
9169 : fail:
9170 :
9171 0 : SWIG_croak_null();
9172 : }
9173 : }
9174 :
9175 :
9176 0 : XS(_wrap_new_webObj) {
9177 : {
9178 : int argvi = 0;
9179 : webObj *result = 0 ;
9180 0 : dXSARGS;
9181 :
9182 0 : if ((items < 0) || (items > 0)) {
9183 0 : SWIG_croak("Usage: new_webObj();");
9184 : }
9185 : result = (webObj *)new_webObj();
9186 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9187 0 : XSRETURN(argvi);
9188 : fail:
9189 0 : SWIG_croak_null();
9190 : }
9191 : }
9192 :
9193 :
9194 0 : XS(_wrap_delete_webObj) {
9195 : {
9196 : webObj *arg1 = (webObj *) 0 ;
9197 0 : void *argp1 = 0 ;
9198 : int res1 = 0 ;
9199 : int argvi = 0;
9200 0 : dXSARGS;
9201 :
9202 0 : if ((items < 1) || (items > 1)) {
9203 0 : SWIG_croak("Usage: delete_webObj(self);");
9204 : }
9205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, SWIG_POINTER_DISOWN | 0 );
9206 0 : if (!SWIG_IsOK(res1)) {
9207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_webObj" "', argument " "1"" of type '" "webObj *""'");
9208 : }
9209 0 : arg1 = (webObj *)(argp1);
9210 0 : delete_webObj(arg1);
9211 0 : ST(argvi) = sv_newmortal();
9212 :
9213 0 : XSRETURN(argvi);
9214 : fail:
9215 :
9216 0 : SWIG_croak_null();
9217 : }
9218 : }
9219 :
9220 :
9221 0 : XS(_wrap_webObj_updateFromString) {
9222 : {
9223 : webObj *arg1 = (webObj *) 0 ;
9224 : char *arg2 = (char *) 0 ;
9225 0 : void *argp1 = 0 ;
9226 : int res1 = 0 ;
9227 : int res2 ;
9228 0 : char *buf2 = 0 ;
9229 0 : int alloc2 = 0 ;
9230 : int argvi = 0;
9231 : int result;
9232 0 : dXSARGS;
9233 :
9234 0 : if ((items < 2) || (items > 2)) {
9235 0 : SWIG_croak("Usage: webObj_updateFromString(self,snippet);");
9236 : }
9237 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9238 0 : if (!SWIG_IsOK(res1)) {
9239 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_updateFromString" "', argument " "1"" of type '" "webObj *""'");
9240 : }
9241 0 : arg1 = (webObj *)(argp1);
9242 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9243 0 : if (!SWIG_IsOK(res2)) {
9244 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_updateFromString" "', argument " "2"" of type '" "char *""'");
9245 : }
9246 0 : arg2 = (char *)(buf2);
9247 : result = (int)webObj_updateFromString(arg1,arg2);
9248 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9249 :
9250 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9251 0 : XSRETURN(argvi);
9252 : fail:
9253 :
9254 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9255 0 : SWIG_croak_null();
9256 : }
9257 : }
9258 :
9259 :
9260 0 : XS(_wrap_webObj_convertToString) {
9261 : {
9262 : webObj *arg1 = (webObj *) 0 ;
9263 0 : void *argp1 = 0 ;
9264 : int res1 = 0 ;
9265 : int argvi = 0;
9266 : char *result = 0 ;
9267 0 : dXSARGS;
9268 :
9269 0 : if ((items < 1) || (items > 1)) {
9270 0 : SWIG_croak("Usage: webObj_convertToString(self);");
9271 : }
9272 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9273 0 : if (!SWIG_IsOK(res1)) {
9274 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_convertToString" "', argument " "1"" of type '" "webObj *""'");
9275 : }
9276 0 : arg1 = (webObj *)(argp1);
9277 : result = (char *)webObj_convertToString(arg1);
9278 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9279 :
9280 0 : free((char*)result);
9281 0 : XSRETURN(argvi);
9282 : fail:
9283 :
9284 0 : SWIG_croak_null();
9285 : }
9286 : }
9287 :
9288 :
9289 0 : XS(_wrap_styleObj_refcount_get) {
9290 : {
9291 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9292 0 : void *argp1 = 0 ;
9293 : int res1 = 0 ;
9294 : int argvi = 0;
9295 : int result;
9296 0 : dXSARGS;
9297 :
9298 0 : if ((items < 1) || (items > 1)) {
9299 0 : SWIG_croak("Usage: styleObj_refcount_get(self);");
9300 : }
9301 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9302 0 : if (!SWIG_IsOK(res1)) {
9303 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_refcount_get" "', argument " "1"" of type '" "struct styleObj *""'");
9304 : }
9305 0 : arg1 = (struct styleObj *)(argp1);
9306 0 : result = (int) ((arg1)->refcount);
9307 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9308 :
9309 0 : XSRETURN(argvi);
9310 : fail:
9311 :
9312 0 : SWIG_croak_null();
9313 : }
9314 : }
9315 :
9316 :
9317 0 : XS(_wrap_styleObj_symbolname_get) {
9318 : {
9319 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9320 0 : void *argp1 = 0 ;
9321 : int res1 = 0 ;
9322 : int argvi = 0;
9323 : char *result = 0 ;
9324 0 : dXSARGS;
9325 :
9326 0 : if ((items < 1) || (items > 1)) {
9327 0 : SWIG_croak("Usage: styleObj_symbolname_get(self);");
9328 : }
9329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9330 0 : if (!SWIG_IsOK(res1)) {
9331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_get" "', argument " "1"" of type '" "struct styleObj *""'");
9332 : }
9333 0 : arg1 = (struct styleObj *)(argp1);
9334 0 : result = (char *) ((arg1)->symbolname);
9335 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9336 :
9337 0 : XSRETURN(argvi);
9338 : fail:
9339 :
9340 0 : SWIG_croak_null();
9341 : }
9342 : }
9343 :
9344 :
9345 0 : XS(_wrap_styleObj_autoangle_set) {
9346 : {
9347 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9348 : int arg2 ;
9349 0 : void *argp1 = 0 ;
9350 : int res1 = 0 ;
9351 : int val2 ;
9352 : int ecode2 = 0 ;
9353 : int argvi = 0;
9354 0 : dXSARGS;
9355 :
9356 0 : if ((items < 2) || (items > 2)) {
9357 0 : SWIG_croak("Usage: styleObj_autoangle_set(self,autoangle);");
9358 : }
9359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9360 0 : if (!SWIG_IsOK(res1)) {
9361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_set" "', argument " "1"" of type '" "struct styleObj *""'");
9362 : }
9363 0 : arg1 = (struct styleObj *)(argp1);
9364 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9365 0 : if (!SWIG_IsOK(ecode2)) {
9366 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_autoangle_set" "', argument " "2"" of type '" "int""'");
9367 : }
9368 0 : arg2 = (int)(val2);
9369 0 : if (arg1) (arg1)->autoangle = arg2;
9370 0 : ST(argvi) = sv_newmortal();
9371 :
9372 :
9373 0 : XSRETURN(argvi);
9374 : fail:
9375 :
9376 :
9377 0 : SWIG_croak_null();
9378 : }
9379 : }
9380 :
9381 :
9382 0 : XS(_wrap_styleObj_autoangle_get) {
9383 : {
9384 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9385 0 : void *argp1 = 0 ;
9386 : int res1 = 0 ;
9387 : int argvi = 0;
9388 : int result;
9389 0 : dXSARGS;
9390 :
9391 0 : if ((items < 1) || (items > 1)) {
9392 0 : SWIG_croak("Usage: styleObj_autoangle_get(self);");
9393 : }
9394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9395 0 : if (!SWIG_IsOK(res1)) {
9396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_get" "', argument " "1"" of type '" "struct styleObj *""'");
9397 : }
9398 0 : arg1 = (struct styleObj *)(argp1);
9399 0 : result = (int) ((arg1)->autoangle);
9400 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9401 :
9402 0 : XSRETURN(argvi);
9403 : fail:
9404 :
9405 0 : SWIG_croak_null();
9406 : }
9407 : }
9408 :
9409 :
9410 0 : XS(_wrap_styleObj_color_set) {
9411 : {
9412 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9413 : colorObj *arg2 = (colorObj *) 0 ;
9414 0 : void *argp1 = 0 ;
9415 : int res1 = 0 ;
9416 0 : void *argp2 = 0 ;
9417 : int res2 = 0 ;
9418 : int argvi = 0;
9419 0 : dXSARGS;
9420 :
9421 0 : if ((items < 2) || (items > 2)) {
9422 0 : SWIG_croak("Usage: styleObj_color_set(self,color);");
9423 : }
9424 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9425 0 : if (!SWIG_IsOK(res1)) {
9426 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_set" "', argument " "1"" of type '" "struct styleObj *""'");
9427 : }
9428 0 : arg1 = (struct styleObj *)(argp1);
9429 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9430 0 : if (!SWIG_IsOK(res2)) {
9431 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
9432 : }
9433 0 : arg2 = (colorObj *)(argp2);
9434 0 : if (arg1) (arg1)->color = *arg2;
9435 0 : ST(argvi) = sv_newmortal();
9436 :
9437 :
9438 0 : XSRETURN(argvi);
9439 : fail:
9440 :
9441 :
9442 0 : SWIG_croak_null();
9443 : }
9444 : }
9445 :
9446 :
9447 0 : XS(_wrap_styleObj_color_get) {
9448 : {
9449 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9450 0 : void *argp1 = 0 ;
9451 : int res1 = 0 ;
9452 : int argvi = 0;
9453 : colorObj *result = 0 ;
9454 0 : dXSARGS;
9455 :
9456 0 : if ((items < 1) || (items > 1)) {
9457 0 : SWIG_croak("Usage: styleObj_color_get(self);");
9458 : }
9459 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9460 0 : if (!SWIG_IsOK(res1)) {
9461 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_get" "', argument " "1"" of type '" "struct styleObj *""'");
9462 : }
9463 0 : arg1 = (struct styleObj *)(argp1);
9464 0 : result = (colorObj *)& ((arg1)->color);
9465 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9466 :
9467 0 : XSRETURN(argvi);
9468 : fail:
9469 :
9470 0 : SWIG_croak_null();
9471 : }
9472 : }
9473 :
9474 :
9475 0 : XS(_wrap_styleObj_backgroundcolor_set) {
9476 : {
9477 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9478 : colorObj *arg2 = (colorObj *) 0 ;
9479 0 : void *argp1 = 0 ;
9480 : int res1 = 0 ;
9481 0 : void *argp2 = 0 ;
9482 : int res2 = 0 ;
9483 : int argvi = 0;
9484 0 : dXSARGS;
9485 :
9486 0 : if ((items < 2) || (items > 2)) {
9487 0 : SWIG_croak("Usage: styleObj_backgroundcolor_set(self,backgroundcolor);");
9488 : }
9489 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9490 0 : if (!SWIG_IsOK(res1)) {
9491 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9492 : }
9493 0 : arg1 = (struct styleObj *)(argp1);
9494 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9495 0 : if (!SWIG_IsOK(res2)) {
9496 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'");
9497 : }
9498 0 : arg2 = (colorObj *)(argp2);
9499 0 : if (arg1) (arg1)->backgroundcolor = *arg2;
9500 0 : ST(argvi) = sv_newmortal();
9501 :
9502 :
9503 0 : XSRETURN(argvi);
9504 : fail:
9505 :
9506 :
9507 0 : SWIG_croak_null();
9508 : }
9509 : }
9510 :
9511 :
9512 0 : XS(_wrap_styleObj_backgroundcolor_get) {
9513 : {
9514 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9515 0 : void *argp1 = 0 ;
9516 : int res1 = 0 ;
9517 : int argvi = 0;
9518 : colorObj *result = 0 ;
9519 0 : dXSARGS;
9520 :
9521 0 : if ((items < 1) || (items > 1)) {
9522 0 : SWIG_croak("Usage: styleObj_backgroundcolor_get(self);");
9523 : }
9524 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9525 0 : if (!SWIG_IsOK(res1)) {
9526 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9527 : }
9528 0 : arg1 = (struct styleObj *)(argp1);
9529 0 : result = (colorObj *)& ((arg1)->backgroundcolor);
9530 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9531 :
9532 0 : XSRETURN(argvi);
9533 : fail:
9534 :
9535 0 : SWIG_croak_null();
9536 : }
9537 : }
9538 :
9539 :
9540 0 : XS(_wrap_styleObj_outlinecolor_set) {
9541 : {
9542 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9543 : colorObj *arg2 = (colorObj *) 0 ;
9544 0 : void *argp1 = 0 ;
9545 : int res1 = 0 ;
9546 0 : void *argp2 = 0 ;
9547 : int res2 = 0 ;
9548 : int argvi = 0;
9549 0 : dXSARGS;
9550 :
9551 0 : if ((items < 2) || (items > 2)) {
9552 0 : SWIG_croak("Usage: styleObj_outlinecolor_set(self,outlinecolor);");
9553 : }
9554 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9555 0 : if (!SWIG_IsOK(res1)) {
9556 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9557 : }
9558 0 : arg1 = (struct styleObj *)(argp1);
9559 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9560 0 : if (!SWIG_IsOK(res2)) {
9561 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
9562 : }
9563 0 : arg2 = (colorObj *)(argp2);
9564 0 : if (arg1) (arg1)->outlinecolor = *arg2;
9565 0 : ST(argvi) = sv_newmortal();
9566 :
9567 :
9568 0 : XSRETURN(argvi);
9569 : fail:
9570 :
9571 :
9572 0 : SWIG_croak_null();
9573 : }
9574 : }
9575 :
9576 :
9577 0 : XS(_wrap_styleObj_outlinecolor_get) {
9578 : {
9579 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9580 0 : void *argp1 = 0 ;
9581 : int res1 = 0 ;
9582 : int argvi = 0;
9583 : colorObj *result = 0 ;
9584 0 : dXSARGS;
9585 :
9586 0 : if ((items < 1) || (items > 1)) {
9587 0 : SWIG_croak("Usage: styleObj_outlinecolor_get(self);");
9588 : }
9589 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9590 0 : if (!SWIG_IsOK(res1)) {
9591 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9592 : }
9593 0 : arg1 = (struct styleObj *)(argp1);
9594 0 : result = (colorObj *)& ((arg1)->outlinecolor);
9595 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9596 :
9597 0 : XSRETURN(argvi);
9598 : fail:
9599 :
9600 0 : SWIG_croak_null();
9601 : }
9602 : }
9603 :
9604 :
9605 0 : XS(_wrap_styleObj_opacity_set) {
9606 : {
9607 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9608 : int arg2 ;
9609 0 : void *argp1 = 0 ;
9610 : int res1 = 0 ;
9611 : int val2 ;
9612 : int ecode2 = 0 ;
9613 : int argvi = 0;
9614 0 : dXSARGS;
9615 :
9616 0 : if ((items < 2) || (items > 2)) {
9617 0 : SWIG_croak("Usage: styleObj_opacity_set(self,opacity);");
9618 : }
9619 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9620 0 : if (!SWIG_IsOK(res1)) {
9621 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_set" "', argument " "1"" of type '" "struct styleObj *""'");
9622 : }
9623 0 : arg1 = (struct styleObj *)(argp1);
9624 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9625 0 : if (!SWIG_IsOK(ecode2)) {
9626 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_opacity_set" "', argument " "2"" of type '" "int""'");
9627 : }
9628 0 : arg2 = (int)(val2);
9629 0 : if (arg1) (arg1)->opacity = arg2;
9630 0 : ST(argvi) = sv_newmortal();
9631 :
9632 :
9633 0 : XSRETURN(argvi);
9634 : fail:
9635 :
9636 :
9637 0 : SWIG_croak_null();
9638 : }
9639 : }
9640 :
9641 :
9642 0 : XS(_wrap_styleObj_opacity_get) {
9643 : {
9644 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9645 0 : void *argp1 = 0 ;
9646 : int res1 = 0 ;
9647 : int argvi = 0;
9648 : int result;
9649 0 : dXSARGS;
9650 :
9651 0 : if ((items < 1) || (items > 1)) {
9652 0 : SWIG_croak("Usage: styleObj_opacity_get(self);");
9653 : }
9654 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9655 0 : if (!SWIG_IsOK(res1)) {
9656 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_get" "', argument " "1"" of type '" "struct styleObj *""'");
9657 : }
9658 0 : arg1 = (struct styleObj *)(argp1);
9659 0 : result = (int) ((arg1)->opacity);
9660 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9661 :
9662 0 : XSRETURN(argvi);
9663 : fail:
9664 :
9665 0 : SWIG_croak_null();
9666 : }
9667 : }
9668 :
9669 :
9670 0 : XS(_wrap_styleObj_mincolor_set) {
9671 : {
9672 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9673 : colorObj *arg2 = (colorObj *) 0 ;
9674 0 : void *argp1 = 0 ;
9675 : int res1 = 0 ;
9676 0 : void *argp2 = 0 ;
9677 : int res2 = 0 ;
9678 : int argvi = 0;
9679 0 : dXSARGS;
9680 :
9681 0 : if ((items < 2) || (items > 2)) {
9682 0 : SWIG_croak("Usage: styleObj_mincolor_set(self,mincolor);");
9683 : }
9684 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9685 0 : if (!SWIG_IsOK(res1)) {
9686 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9687 : }
9688 0 : arg1 = (struct styleObj *)(argp1);
9689 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9690 0 : if (!SWIG_IsOK(res2)) {
9691 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_mincolor_set" "', argument " "2"" of type '" "colorObj *""'");
9692 : }
9693 0 : arg2 = (colorObj *)(argp2);
9694 0 : if (arg1) (arg1)->mincolor = *arg2;
9695 0 : ST(argvi) = sv_newmortal();
9696 :
9697 :
9698 0 : XSRETURN(argvi);
9699 : fail:
9700 :
9701 :
9702 0 : SWIG_croak_null();
9703 : }
9704 : }
9705 :
9706 :
9707 0 : XS(_wrap_styleObj_mincolor_get) {
9708 : {
9709 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9710 0 : void *argp1 = 0 ;
9711 : int res1 = 0 ;
9712 : int argvi = 0;
9713 : colorObj *result = 0 ;
9714 0 : dXSARGS;
9715 :
9716 0 : if ((items < 1) || (items > 1)) {
9717 0 : SWIG_croak("Usage: styleObj_mincolor_get(self);");
9718 : }
9719 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9720 0 : if (!SWIG_IsOK(res1)) {
9721 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9722 : }
9723 0 : arg1 = (struct styleObj *)(argp1);
9724 0 : result = (colorObj *)& ((arg1)->mincolor);
9725 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9726 :
9727 0 : XSRETURN(argvi);
9728 : fail:
9729 :
9730 0 : SWIG_croak_null();
9731 : }
9732 : }
9733 :
9734 :
9735 0 : XS(_wrap_styleObj_maxcolor_set) {
9736 : {
9737 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9738 : colorObj *arg2 = (colorObj *) 0 ;
9739 0 : void *argp1 = 0 ;
9740 : int res1 = 0 ;
9741 0 : void *argp2 = 0 ;
9742 : int res2 = 0 ;
9743 : int argvi = 0;
9744 0 : dXSARGS;
9745 :
9746 0 : if ((items < 2) || (items > 2)) {
9747 0 : SWIG_croak("Usage: styleObj_maxcolor_set(self,maxcolor);");
9748 : }
9749 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9750 0 : if (!SWIG_IsOK(res1)) {
9751 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9752 : }
9753 0 : arg1 = (struct styleObj *)(argp1);
9754 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9755 0 : if (!SWIG_IsOK(res2)) {
9756 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_maxcolor_set" "', argument " "2"" of type '" "colorObj *""'");
9757 : }
9758 0 : arg2 = (colorObj *)(argp2);
9759 0 : if (arg1) (arg1)->maxcolor = *arg2;
9760 0 : ST(argvi) = sv_newmortal();
9761 :
9762 :
9763 0 : XSRETURN(argvi);
9764 : fail:
9765 :
9766 :
9767 0 : SWIG_croak_null();
9768 : }
9769 : }
9770 :
9771 :
9772 0 : XS(_wrap_styleObj_maxcolor_get) {
9773 : {
9774 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9775 0 : void *argp1 = 0 ;
9776 : int res1 = 0 ;
9777 : int argvi = 0;
9778 : colorObj *result = 0 ;
9779 0 : dXSARGS;
9780 :
9781 0 : if ((items < 1) || (items > 1)) {
9782 0 : SWIG_croak("Usage: styleObj_maxcolor_get(self);");
9783 : }
9784 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9785 0 : if (!SWIG_IsOK(res1)) {
9786 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9787 : }
9788 0 : arg1 = (struct styleObj *)(argp1);
9789 0 : result = (colorObj *)& ((arg1)->maxcolor);
9790 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9791 :
9792 0 : XSRETURN(argvi);
9793 : fail:
9794 :
9795 0 : SWIG_croak_null();
9796 : }
9797 : }
9798 :
9799 :
9800 0 : XS(_wrap_styleObj_minvalue_set) {
9801 : {
9802 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9803 : double arg2 ;
9804 0 : void *argp1 = 0 ;
9805 : int res1 = 0 ;
9806 : double val2 ;
9807 : int ecode2 = 0 ;
9808 : int argvi = 0;
9809 0 : dXSARGS;
9810 :
9811 0 : if ((items < 2) || (items > 2)) {
9812 0 : SWIG_croak("Usage: styleObj_minvalue_set(self,minvalue);");
9813 : }
9814 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9815 0 : if (!SWIG_IsOK(res1)) {
9816 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_set" "', argument " "1"" of type '" "struct styleObj *""'");
9817 : }
9818 0 : arg1 = (struct styleObj *)(argp1);
9819 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9820 0 : if (!SWIG_IsOK(ecode2)) {
9821 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minvalue_set" "', argument " "2"" of type '" "double""'");
9822 : }
9823 0 : arg2 = (double)(val2);
9824 0 : if (arg1) (arg1)->minvalue = arg2;
9825 0 : ST(argvi) = sv_newmortal();
9826 :
9827 :
9828 0 : XSRETURN(argvi);
9829 : fail:
9830 :
9831 :
9832 0 : SWIG_croak_null();
9833 : }
9834 : }
9835 :
9836 :
9837 0 : XS(_wrap_styleObj_minvalue_get) {
9838 : {
9839 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9840 0 : void *argp1 = 0 ;
9841 : int res1 = 0 ;
9842 : int argvi = 0;
9843 : double result;
9844 0 : dXSARGS;
9845 :
9846 0 : if ((items < 1) || (items > 1)) {
9847 0 : SWIG_croak("Usage: styleObj_minvalue_get(self);");
9848 : }
9849 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9850 0 : if (!SWIG_IsOK(res1)) {
9851 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_get" "', argument " "1"" of type '" "struct styleObj *""'");
9852 : }
9853 0 : arg1 = (struct styleObj *)(argp1);
9854 0 : result = (double) ((arg1)->minvalue);
9855 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9856 :
9857 0 : XSRETURN(argvi);
9858 : fail:
9859 :
9860 0 : SWIG_croak_null();
9861 : }
9862 : }
9863 :
9864 :
9865 0 : XS(_wrap_styleObj_maxvalue_set) {
9866 : {
9867 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9868 : double arg2 ;
9869 0 : void *argp1 = 0 ;
9870 : int res1 = 0 ;
9871 : double val2 ;
9872 : int ecode2 = 0 ;
9873 : int argvi = 0;
9874 0 : dXSARGS;
9875 :
9876 0 : if ((items < 2) || (items > 2)) {
9877 0 : SWIG_croak("Usage: styleObj_maxvalue_set(self,maxvalue);");
9878 : }
9879 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9880 0 : if (!SWIG_IsOK(res1)) {
9881 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_set" "', argument " "1"" of type '" "struct styleObj *""'");
9882 : }
9883 0 : arg1 = (struct styleObj *)(argp1);
9884 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9885 0 : if (!SWIG_IsOK(ecode2)) {
9886 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxvalue_set" "', argument " "2"" of type '" "double""'");
9887 : }
9888 0 : arg2 = (double)(val2);
9889 0 : if (arg1) (arg1)->maxvalue = arg2;
9890 0 : ST(argvi) = sv_newmortal();
9891 :
9892 :
9893 0 : XSRETURN(argvi);
9894 : fail:
9895 :
9896 :
9897 0 : SWIG_croak_null();
9898 : }
9899 : }
9900 :
9901 :
9902 0 : XS(_wrap_styleObj_maxvalue_get) {
9903 : {
9904 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9905 0 : void *argp1 = 0 ;
9906 : int res1 = 0 ;
9907 : int argvi = 0;
9908 : double result;
9909 0 : dXSARGS;
9910 :
9911 0 : if ((items < 1) || (items > 1)) {
9912 0 : SWIG_croak("Usage: styleObj_maxvalue_get(self);");
9913 : }
9914 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9915 0 : if (!SWIG_IsOK(res1)) {
9916 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_get" "', argument " "1"" of type '" "struct styleObj *""'");
9917 : }
9918 0 : arg1 = (struct styleObj *)(argp1);
9919 0 : result = (double) ((arg1)->maxvalue);
9920 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9921 :
9922 0 : XSRETURN(argvi);
9923 : fail:
9924 :
9925 0 : SWIG_croak_null();
9926 : }
9927 : }
9928 :
9929 :
9930 0 : XS(_wrap_styleObj_rangeitem_set) {
9931 : {
9932 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9933 : char *arg2 = (char *) 0 ;
9934 0 : void *argp1 = 0 ;
9935 : int res1 = 0 ;
9936 : int res2 ;
9937 0 : char *buf2 = 0 ;
9938 0 : int alloc2 = 0 ;
9939 : int argvi = 0;
9940 0 : dXSARGS;
9941 :
9942 0 : if ((items < 2) || (items > 2)) {
9943 0 : SWIG_croak("Usage: styleObj_rangeitem_set(self,rangeitem);");
9944 : }
9945 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9946 0 : if (!SWIG_IsOK(res1)) {
9947 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_set" "', argument " "1"" of type '" "struct styleObj *""'");
9948 : }
9949 0 : arg1 = (struct styleObj *)(argp1);
9950 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9951 0 : if (!SWIG_IsOK(res2)) {
9952 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_rangeitem_set" "', argument " "2"" of type '" "char *""'");
9953 : }
9954 0 : arg2 = (char *)(buf2);
9955 : {
9956 0 : if (arg1->rangeitem) free((char*)arg1->rangeitem);
9957 0 : if (arg2) {
9958 0 : arg1->rangeitem = (char *) malloc(strlen(arg2)+1);
9959 : strcpy((char*)arg1->rangeitem,arg2);
9960 : } else {
9961 0 : arg1->rangeitem = 0;
9962 : }
9963 : }
9964 0 : ST(argvi) = sv_newmortal();
9965 :
9966 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9967 0 : XSRETURN(argvi);
9968 : fail:
9969 :
9970 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9971 0 : SWIG_croak_null();
9972 : }
9973 : }
9974 :
9975 :
9976 0 : XS(_wrap_styleObj_rangeitem_get) {
9977 : {
9978 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9979 0 : void *argp1 = 0 ;
9980 : int res1 = 0 ;
9981 : int argvi = 0;
9982 : char *result = 0 ;
9983 0 : dXSARGS;
9984 :
9985 0 : if ((items < 1) || (items > 1)) {
9986 0 : SWIG_croak("Usage: styleObj_rangeitem_get(self);");
9987 : }
9988 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9989 0 : if (!SWIG_IsOK(res1)) {
9990 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_get" "', argument " "1"" of type '" "struct styleObj *""'");
9991 : }
9992 0 : arg1 = (struct styleObj *)(argp1);
9993 0 : result = (char *) ((arg1)->rangeitem);
9994 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9995 :
9996 0 : XSRETURN(argvi);
9997 : fail:
9998 :
9999 0 : SWIG_croak_null();
10000 : }
10001 : }
10002 :
10003 :
10004 0 : XS(_wrap_styleObj_rangeitemindex_set) {
10005 : {
10006 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10007 : int arg2 ;
10008 0 : void *argp1 = 0 ;
10009 : int res1 = 0 ;
10010 : int val2 ;
10011 : int ecode2 = 0 ;
10012 : int argvi = 0;
10013 0 : dXSARGS;
10014 :
10015 0 : if ((items < 2) || (items > 2)) {
10016 0 : SWIG_croak("Usage: styleObj_rangeitemindex_set(self,rangeitemindex);");
10017 : }
10018 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10019 0 : if (!SWIG_IsOK(res1)) {
10020 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_set" "', argument " "1"" of type '" "struct styleObj *""'");
10021 : }
10022 0 : arg1 = (struct styleObj *)(argp1);
10023 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10024 0 : if (!SWIG_IsOK(ecode2)) {
10025 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_rangeitemindex_set" "', argument " "2"" of type '" "int""'");
10026 : }
10027 0 : arg2 = (int)(val2);
10028 0 : if (arg1) (arg1)->rangeitemindex = arg2;
10029 0 : ST(argvi) = sv_newmortal();
10030 :
10031 :
10032 0 : XSRETURN(argvi);
10033 : fail:
10034 :
10035 :
10036 0 : SWIG_croak_null();
10037 : }
10038 : }
10039 :
10040 :
10041 0 : XS(_wrap_styleObj_rangeitemindex_get) {
10042 : {
10043 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10044 0 : void *argp1 = 0 ;
10045 : int res1 = 0 ;
10046 : int argvi = 0;
10047 : int result;
10048 0 : dXSARGS;
10049 :
10050 0 : if ((items < 1) || (items > 1)) {
10051 0 : SWIG_croak("Usage: styleObj_rangeitemindex_get(self);");
10052 : }
10053 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10054 0 : if (!SWIG_IsOK(res1)) {
10055 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_get" "', argument " "1"" of type '" "struct styleObj *""'");
10056 : }
10057 0 : arg1 = (struct styleObj *)(argp1);
10058 0 : result = (int) ((arg1)->rangeitemindex);
10059 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10060 :
10061 0 : XSRETURN(argvi);
10062 : fail:
10063 :
10064 0 : SWIG_croak_null();
10065 : }
10066 : }
10067 :
10068 :
10069 0 : XS(_wrap_styleObj_symbol_set) {
10070 : {
10071 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10072 : int arg2 ;
10073 0 : void *argp1 = 0 ;
10074 : int res1 = 0 ;
10075 : int val2 ;
10076 : int ecode2 = 0 ;
10077 : int argvi = 0;
10078 0 : dXSARGS;
10079 :
10080 0 : if ((items < 2) || (items > 2)) {
10081 0 : SWIG_croak("Usage: styleObj_symbol_set(self,symbol);");
10082 : }
10083 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10084 0 : if (!SWIG_IsOK(res1)) {
10085 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_set" "', argument " "1"" of type '" "struct styleObj *""'");
10086 : }
10087 0 : arg1 = (struct styleObj *)(argp1);
10088 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10089 0 : if (!SWIG_IsOK(ecode2)) {
10090 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_symbol_set" "', argument " "2"" of type '" "int""'");
10091 : }
10092 0 : arg2 = (int)(val2);
10093 0 : if (arg1) (arg1)->symbol = arg2;
10094 0 : ST(argvi) = sv_newmortal();
10095 :
10096 :
10097 0 : XSRETURN(argvi);
10098 : fail:
10099 :
10100 :
10101 0 : SWIG_croak_null();
10102 : }
10103 : }
10104 :
10105 :
10106 0 : XS(_wrap_styleObj_symbol_get) {
10107 : {
10108 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10109 0 : void *argp1 = 0 ;
10110 : int res1 = 0 ;
10111 : int argvi = 0;
10112 : int result;
10113 0 : dXSARGS;
10114 :
10115 0 : if ((items < 1) || (items > 1)) {
10116 0 : SWIG_croak("Usage: styleObj_symbol_get(self);");
10117 : }
10118 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10119 0 : if (!SWIG_IsOK(res1)) {
10120 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_get" "', argument " "1"" of type '" "struct styleObj *""'");
10121 : }
10122 0 : arg1 = (struct styleObj *)(argp1);
10123 0 : result = (int) ((arg1)->symbol);
10124 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10125 :
10126 0 : XSRETURN(argvi);
10127 : fail:
10128 :
10129 0 : SWIG_croak_null();
10130 : }
10131 : }
10132 :
10133 :
10134 0 : XS(_wrap_styleObj_size_set) {
10135 : {
10136 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10137 : double arg2 ;
10138 0 : void *argp1 = 0 ;
10139 : int res1 = 0 ;
10140 : double val2 ;
10141 : int ecode2 = 0 ;
10142 : int argvi = 0;
10143 0 : dXSARGS;
10144 :
10145 0 : if ((items < 2) || (items > 2)) {
10146 0 : SWIG_croak("Usage: styleObj_size_set(self,size);");
10147 : }
10148 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10149 0 : if (!SWIG_IsOK(res1)) {
10150 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_set" "', argument " "1"" of type '" "struct styleObj *""'");
10151 : }
10152 0 : arg1 = (struct styleObj *)(argp1);
10153 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10154 0 : if (!SWIG_IsOK(ecode2)) {
10155 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_size_set" "', argument " "2"" of type '" "double""'");
10156 : }
10157 0 : arg2 = (double)(val2);
10158 0 : if (arg1) (arg1)->size = arg2;
10159 0 : ST(argvi) = sv_newmortal();
10160 :
10161 :
10162 0 : XSRETURN(argvi);
10163 : fail:
10164 :
10165 :
10166 0 : SWIG_croak_null();
10167 : }
10168 : }
10169 :
10170 :
10171 0 : XS(_wrap_styleObj_size_get) {
10172 : {
10173 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10174 0 : void *argp1 = 0 ;
10175 : int res1 = 0 ;
10176 : int argvi = 0;
10177 : double result;
10178 0 : dXSARGS;
10179 :
10180 0 : if ((items < 1) || (items > 1)) {
10181 0 : SWIG_croak("Usage: styleObj_size_get(self);");
10182 : }
10183 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10184 0 : if (!SWIG_IsOK(res1)) {
10185 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_get" "', argument " "1"" of type '" "struct styleObj *""'");
10186 : }
10187 0 : arg1 = (struct styleObj *)(argp1);
10188 0 : result = (double) ((arg1)->size);
10189 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10190 :
10191 0 : XSRETURN(argvi);
10192 : fail:
10193 :
10194 0 : SWIG_croak_null();
10195 : }
10196 : }
10197 :
10198 :
10199 0 : XS(_wrap_styleObj_minsize_set) {
10200 : {
10201 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10202 : double arg2 ;
10203 0 : void *argp1 = 0 ;
10204 : int res1 = 0 ;
10205 : double val2 ;
10206 : int ecode2 = 0 ;
10207 : int argvi = 0;
10208 0 : dXSARGS;
10209 :
10210 0 : if ((items < 2) || (items > 2)) {
10211 0 : SWIG_croak("Usage: styleObj_minsize_set(self,minsize);");
10212 : }
10213 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10214 0 : if (!SWIG_IsOK(res1)) {
10215 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10216 : }
10217 0 : arg1 = (struct styleObj *)(argp1);
10218 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10219 0 : if (!SWIG_IsOK(ecode2)) {
10220 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minsize_set" "', argument " "2"" of type '" "double""'");
10221 : }
10222 0 : arg2 = (double)(val2);
10223 0 : if (arg1) (arg1)->minsize = arg2;
10224 0 : ST(argvi) = sv_newmortal();
10225 :
10226 :
10227 0 : XSRETURN(argvi);
10228 : fail:
10229 :
10230 :
10231 0 : SWIG_croak_null();
10232 : }
10233 : }
10234 :
10235 :
10236 0 : XS(_wrap_styleObj_minsize_get) {
10237 : {
10238 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10239 0 : void *argp1 = 0 ;
10240 : int res1 = 0 ;
10241 : int argvi = 0;
10242 : double result;
10243 0 : dXSARGS;
10244 :
10245 0 : if ((items < 1) || (items > 1)) {
10246 0 : SWIG_croak("Usage: styleObj_minsize_get(self);");
10247 : }
10248 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10249 0 : if (!SWIG_IsOK(res1)) {
10250 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10251 : }
10252 0 : arg1 = (struct styleObj *)(argp1);
10253 0 : result = (double) ((arg1)->minsize);
10254 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10255 :
10256 0 : XSRETURN(argvi);
10257 : fail:
10258 :
10259 0 : SWIG_croak_null();
10260 : }
10261 : }
10262 :
10263 :
10264 0 : XS(_wrap_styleObj_maxsize_set) {
10265 : {
10266 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10267 : double arg2 ;
10268 0 : void *argp1 = 0 ;
10269 : int res1 = 0 ;
10270 : double val2 ;
10271 : int ecode2 = 0 ;
10272 : int argvi = 0;
10273 0 : dXSARGS;
10274 :
10275 0 : if ((items < 2) || (items > 2)) {
10276 0 : SWIG_croak("Usage: styleObj_maxsize_set(self,maxsize);");
10277 : }
10278 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10279 0 : if (!SWIG_IsOK(res1)) {
10280 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10281 : }
10282 0 : arg1 = (struct styleObj *)(argp1);
10283 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10284 0 : if (!SWIG_IsOK(ecode2)) {
10285 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxsize_set" "', argument " "2"" of type '" "double""'");
10286 : }
10287 0 : arg2 = (double)(val2);
10288 0 : if (arg1) (arg1)->maxsize = arg2;
10289 0 : ST(argvi) = sv_newmortal();
10290 :
10291 :
10292 0 : XSRETURN(argvi);
10293 : fail:
10294 :
10295 :
10296 0 : SWIG_croak_null();
10297 : }
10298 : }
10299 :
10300 :
10301 0 : XS(_wrap_styleObj_maxsize_get) {
10302 : {
10303 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10304 0 : void *argp1 = 0 ;
10305 : int res1 = 0 ;
10306 : int argvi = 0;
10307 : double result;
10308 0 : dXSARGS;
10309 :
10310 0 : if ((items < 1) || (items > 1)) {
10311 0 : SWIG_croak("Usage: styleObj_maxsize_get(self);");
10312 : }
10313 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10314 0 : if (!SWIG_IsOK(res1)) {
10315 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10316 : }
10317 0 : arg1 = (struct styleObj *)(argp1);
10318 0 : result = (double) ((arg1)->maxsize);
10319 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10320 :
10321 0 : XSRETURN(argvi);
10322 : fail:
10323 :
10324 0 : SWIG_croak_null();
10325 : }
10326 : }
10327 :
10328 :
10329 0 : XS(_wrap_styleObj_patternlength_set) {
10330 : {
10331 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10332 : int arg2 ;
10333 0 : void *argp1 = 0 ;
10334 : int res1 = 0 ;
10335 : int val2 ;
10336 : int ecode2 = 0 ;
10337 : int argvi = 0;
10338 0 : dXSARGS;
10339 :
10340 0 : if ((items < 2) || (items > 2)) {
10341 0 : SWIG_croak("Usage: styleObj_patternlength_set(self,patternlength);");
10342 : }
10343 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10344 0 : if (!SWIG_IsOK(res1)) {
10345 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_set" "', argument " "1"" of type '" "struct styleObj *""'");
10346 : }
10347 0 : arg1 = (struct styleObj *)(argp1);
10348 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10349 0 : if (!SWIG_IsOK(ecode2)) {
10350 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_patternlength_set" "', argument " "2"" of type '" "int""'");
10351 : }
10352 0 : arg2 = (int)(val2);
10353 0 : if (arg1) (arg1)->patternlength = arg2;
10354 0 : ST(argvi) = sv_newmortal();
10355 :
10356 :
10357 0 : XSRETURN(argvi);
10358 : fail:
10359 :
10360 :
10361 0 : SWIG_croak_null();
10362 : }
10363 : }
10364 :
10365 :
10366 0 : XS(_wrap_styleObj_patternlength_get) {
10367 : {
10368 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10369 0 : void *argp1 = 0 ;
10370 : int res1 = 0 ;
10371 : int argvi = 0;
10372 : int result;
10373 0 : dXSARGS;
10374 :
10375 0 : if ((items < 1) || (items > 1)) {
10376 0 : SWIG_croak("Usage: styleObj_patternlength_get(self);");
10377 : }
10378 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10379 0 : if (!SWIG_IsOK(res1)) {
10380 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_get" "', argument " "1"" of type '" "struct styleObj *""'");
10381 : }
10382 0 : arg1 = (struct styleObj *)(argp1);
10383 0 : result = (int) ((arg1)->patternlength);
10384 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10385 :
10386 0 : XSRETURN(argvi);
10387 : fail:
10388 :
10389 0 : SWIG_croak_null();
10390 : }
10391 : }
10392 :
10393 :
10394 0 : XS(_wrap_styleObj_pattern_set) {
10395 : {
10396 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10397 : double *arg2 ;
10398 0 : void *argp1 = 0 ;
10399 : int res1 = 0 ;
10400 0 : void *argp2 = 0 ;
10401 : int res2 = 0 ;
10402 : int argvi = 0;
10403 0 : dXSARGS;
10404 :
10405 0 : if ((items < 2) || (items > 2)) {
10406 0 : SWIG_croak("Usage: styleObj_pattern_set(self,pattern);");
10407 : }
10408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10409 0 : if (!SWIG_IsOK(res1)) {
10410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_set" "', argument " "1"" of type '" "struct styleObj *""'");
10411 : }
10412 0 : arg1 = (struct styleObj *)(argp1);
10413 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
10414 0 : if (!SWIG_IsOK(res2)) {
10415 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_pattern_set" "', argument " "2"" of type '" "double [MS_MAXPATTERNLENGTH]""'");
10416 : }
10417 0 : arg2 = (double *)(argp2);
10418 : {
10419 0 : if (arg2) {
10420 : size_t ii = 0;
10421 0 : for (; ii < (size_t)MS_MAXPATTERNLENGTH; ++ii) *(double *)&arg1->pattern[ii] = *((double *)arg2 + ii);
10422 : } else {
10423 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""pattern""' of type '""double [MS_MAXPATTERNLENGTH]""'");
10424 : }
10425 : }
10426 0 : ST(argvi) = sv_newmortal();
10427 :
10428 :
10429 0 : XSRETURN(argvi);
10430 : fail:
10431 :
10432 :
10433 0 : SWIG_croak_null();
10434 : }
10435 : }
10436 :
10437 :
10438 0 : XS(_wrap_styleObj_pattern_get) {
10439 : {
10440 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10441 0 : void *argp1 = 0 ;
10442 : int res1 = 0 ;
10443 : int argvi = 0;
10444 : double *result = 0 ;
10445 0 : dXSARGS;
10446 :
10447 0 : if ((items < 1) || (items > 1)) {
10448 0 : SWIG_croak("Usage: styleObj_pattern_get(self);");
10449 : }
10450 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10451 0 : if (!SWIG_IsOK(res1)) {
10452 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_get" "', argument " "1"" of type '" "struct styleObj *""'");
10453 : }
10454 0 : arg1 = (struct styleObj *)(argp1);
10455 0 : result = (double *)(double *) ((arg1)->pattern);
10456 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10457 :
10458 0 : XSRETURN(argvi);
10459 : fail:
10460 :
10461 0 : SWIG_croak_null();
10462 : }
10463 : }
10464 :
10465 :
10466 0 : XS(_wrap_styleObj_gap_set) {
10467 : {
10468 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10469 : double arg2 ;
10470 0 : void *argp1 = 0 ;
10471 : int res1 = 0 ;
10472 : double val2 ;
10473 : int ecode2 = 0 ;
10474 : int argvi = 0;
10475 0 : dXSARGS;
10476 :
10477 0 : if ((items < 2) || (items > 2)) {
10478 0 : SWIG_croak("Usage: styleObj_gap_set(self,gap);");
10479 : }
10480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10481 0 : if (!SWIG_IsOK(res1)) {
10482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10483 : }
10484 0 : arg1 = (struct styleObj *)(argp1);
10485 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10486 0 : if (!SWIG_IsOK(ecode2)) {
10487 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_gap_set" "', argument " "2"" of type '" "double""'");
10488 : }
10489 0 : arg2 = (double)(val2);
10490 0 : if (arg1) (arg1)->gap = arg2;
10491 0 : ST(argvi) = sv_newmortal();
10492 :
10493 :
10494 0 : XSRETURN(argvi);
10495 : fail:
10496 :
10497 :
10498 0 : SWIG_croak_null();
10499 : }
10500 : }
10501 :
10502 :
10503 0 : XS(_wrap_styleObj_gap_get) {
10504 : {
10505 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10506 0 : void *argp1 = 0 ;
10507 : int res1 = 0 ;
10508 : int argvi = 0;
10509 : double result;
10510 0 : dXSARGS;
10511 :
10512 0 : if ((items < 1) || (items > 1)) {
10513 0 : SWIG_croak("Usage: styleObj_gap_get(self);");
10514 : }
10515 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10516 0 : if (!SWIG_IsOK(res1)) {
10517 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10518 : }
10519 0 : arg1 = (struct styleObj *)(argp1);
10520 0 : result = (double) ((arg1)->gap);
10521 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10522 :
10523 0 : XSRETURN(argvi);
10524 : fail:
10525 :
10526 0 : SWIG_croak_null();
10527 : }
10528 : }
10529 :
10530 :
10531 0 : XS(_wrap_styleObj_initialgap_set) {
10532 : {
10533 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10534 : double arg2 ;
10535 0 : void *argp1 = 0 ;
10536 : int res1 = 0 ;
10537 : double val2 ;
10538 : int ecode2 = 0 ;
10539 : int argvi = 0;
10540 0 : dXSARGS;
10541 :
10542 0 : if ((items < 2) || (items > 2)) {
10543 0 : SWIG_croak("Usage: styleObj_initialgap_set(self,initialgap);");
10544 : }
10545 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10546 0 : if (!SWIG_IsOK(res1)) {
10547 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10548 : }
10549 0 : arg1 = (struct styleObj *)(argp1);
10550 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10551 0 : if (!SWIG_IsOK(ecode2)) {
10552 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_initialgap_set" "', argument " "2"" of type '" "double""'");
10553 : }
10554 0 : arg2 = (double)(val2);
10555 0 : if (arg1) (arg1)->initialgap = arg2;
10556 0 : ST(argvi) = sv_newmortal();
10557 :
10558 :
10559 0 : XSRETURN(argvi);
10560 : fail:
10561 :
10562 :
10563 0 : SWIG_croak_null();
10564 : }
10565 : }
10566 :
10567 :
10568 0 : XS(_wrap_styleObj_initialgap_get) {
10569 : {
10570 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10571 0 : void *argp1 = 0 ;
10572 : int res1 = 0 ;
10573 : int argvi = 0;
10574 : double result;
10575 0 : dXSARGS;
10576 :
10577 0 : if ((items < 1) || (items > 1)) {
10578 0 : SWIG_croak("Usage: styleObj_initialgap_get(self);");
10579 : }
10580 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10581 0 : if (!SWIG_IsOK(res1)) {
10582 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10583 : }
10584 0 : arg1 = (struct styleObj *)(argp1);
10585 0 : result = (double) ((arg1)->initialgap);
10586 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10587 :
10588 0 : XSRETURN(argvi);
10589 : fail:
10590 :
10591 0 : SWIG_croak_null();
10592 : }
10593 : }
10594 :
10595 :
10596 0 : XS(_wrap_styleObj_position_set) {
10597 : {
10598 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10599 : int arg2 ;
10600 0 : void *argp1 = 0 ;
10601 : int res1 = 0 ;
10602 : int val2 ;
10603 : int ecode2 = 0 ;
10604 : int argvi = 0;
10605 0 : dXSARGS;
10606 :
10607 0 : if ((items < 2) || (items > 2)) {
10608 0 : SWIG_croak("Usage: styleObj_position_set(self,position);");
10609 : }
10610 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10611 0 : if (!SWIG_IsOK(res1)) {
10612 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_set" "', argument " "1"" of type '" "struct styleObj *""'");
10613 : }
10614 0 : arg1 = (struct styleObj *)(argp1);
10615 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10616 0 : if (!SWIG_IsOK(ecode2)) {
10617 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_position_set" "', argument " "2"" of type '" "int""'");
10618 : }
10619 0 : arg2 = (int)(val2);
10620 0 : if (arg1) (arg1)->position = arg2;
10621 0 : ST(argvi) = sv_newmortal();
10622 :
10623 :
10624 0 : XSRETURN(argvi);
10625 : fail:
10626 :
10627 :
10628 0 : SWIG_croak_null();
10629 : }
10630 : }
10631 :
10632 :
10633 0 : XS(_wrap_styleObj_position_get) {
10634 : {
10635 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10636 0 : void *argp1 = 0 ;
10637 : int res1 = 0 ;
10638 : int argvi = 0;
10639 : int result;
10640 0 : dXSARGS;
10641 :
10642 0 : if ((items < 1) || (items > 1)) {
10643 0 : SWIG_croak("Usage: styleObj_position_get(self);");
10644 : }
10645 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10646 0 : if (!SWIG_IsOK(res1)) {
10647 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_get" "', argument " "1"" of type '" "struct styleObj *""'");
10648 : }
10649 0 : arg1 = (struct styleObj *)(argp1);
10650 0 : result = (int) ((arg1)->position);
10651 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10652 :
10653 0 : XSRETURN(argvi);
10654 : fail:
10655 :
10656 0 : SWIG_croak_null();
10657 : }
10658 : }
10659 :
10660 :
10661 0 : XS(_wrap_styleObj_linecap_set) {
10662 : {
10663 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10664 : int arg2 ;
10665 0 : void *argp1 = 0 ;
10666 : int res1 = 0 ;
10667 : int val2 ;
10668 : int ecode2 = 0 ;
10669 : int argvi = 0;
10670 0 : dXSARGS;
10671 :
10672 0 : if ((items < 2) || (items > 2)) {
10673 0 : SWIG_croak("Usage: styleObj_linecap_set(self,linecap);");
10674 : }
10675 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10676 0 : if (!SWIG_IsOK(res1)) {
10677 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10678 : }
10679 0 : arg1 = (struct styleObj *)(argp1);
10680 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10681 0 : if (!SWIG_IsOK(ecode2)) {
10682 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linecap_set" "', argument " "2"" of type '" "int""'");
10683 : }
10684 0 : arg2 = (int)(val2);
10685 0 : if (arg1) (arg1)->linecap = arg2;
10686 0 : ST(argvi) = sv_newmortal();
10687 :
10688 :
10689 0 : XSRETURN(argvi);
10690 : fail:
10691 :
10692 :
10693 0 : SWIG_croak_null();
10694 : }
10695 : }
10696 :
10697 :
10698 0 : XS(_wrap_styleObj_linecap_get) {
10699 : {
10700 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10701 0 : void *argp1 = 0 ;
10702 : int res1 = 0 ;
10703 : int argvi = 0;
10704 : int result;
10705 0 : dXSARGS;
10706 :
10707 0 : if ((items < 1) || (items > 1)) {
10708 0 : SWIG_croak("Usage: styleObj_linecap_get(self);");
10709 : }
10710 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10711 0 : if (!SWIG_IsOK(res1)) {
10712 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10713 : }
10714 0 : arg1 = (struct styleObj *)(argp1);
10715 0 : result = (int) ((arg1)->linecap);
10716 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10717 :
10718 0 : XSRETURN(argvi);
10719 : fail:
10720 :
10721 0 : SWIG_croak_null();
10722 : }
10723 : }
10724 :
10725 :
10726 0 : XS(_wrap_styleObj_linejoin_set) {
10727 : {
10728 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10729 : int arg2 ;
10730 0 : void *argp1 = 0 ;
10731 : int res1 = 0 ;
10732 : int val2 ;
10733 : int ecode2 = 0 ;
10734 : int argvi = 0;
10735 0 : dXSARGS;
10736 :
10737 0 : if ((items < 2) || (items > 2)) {
10738 0 : SWIG_croak("Usage: styleObj_linejoin_set(self,linejoin);");
10739 : }
10740 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10741 0 : if (!SWIG_IsOK(res1)) {
10742 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_set" "', argument " "1"" of type '" "struct styleObj *""'");
10743 : }
10744 0 : arg1 = (struct styleObj *)(argp1);
10745 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10746 0 : if (!SWIG_IsOK(ecode2)) {
10747 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoin_set" "', argument " "2"" of type '" "int""'");
10748 : }
10749 0 : arg2 = (int)(val2);
10750 0 : if (arg1) (arg1)->linejoin = arg2;
10751 0 : ST(argvi) = sv_newmortal();
10752 :
10753 :
10754 0 : XSRETURN(argvi);
10755 : fail:
10756 :
10757 :
10758 0 : SWIG_croak_null();
10759 : }
10760 : }
10761 :
10762 :
10763 0 : XS(_wrap_styleObj_linejoin_get) {
10764 : {
10765 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10766 0 : void *argp1 = 0 ;
10767 : int res1 = 0 ;
10768 : int argvi = 0;
10769 : int result;
10770 0 : dXSARGS;
10771 :
10772 0 : if ((items < 1) || (items > 1)) {
10773 0 : SWIG_croak("Usage: styleObj_linejoin_get(self);");
10774 : }
10775 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10776 0 : if (!SWIG_IsOK(res1)) {
10777 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_get" "', argument " "1"" of type '" "struct styleObj *""'");
10778 : }
10779 0 : arg1 = (struct styleObj *)(argp1);
10780 0 : result = (int) ((arg1)->linejoin);
10781 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10782 :
10783 0 : XSRETURN(argvi);
10784 : fail:
10785 :
10786 0 : SWIG_croak_null();
10787 : }
10788 : }
10789 :
10790 :
10791 0 : XS(_wrap_styleObj_linejoinmaxsize_set) {
10792 : {
10793 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10794 : double arg2 ;
10795 0 : void *argp1 = 0 ;
10796 : int res1 = 0 ;
10797 : double val2 ;
10798 : int ecode2 = 0 ;
10799 : int argvi = 0;
10800 0 : dXSARGS;
10801 :
10802 0 : if ((items < 2) || (items > 2)) {
10803 0 : SWIG_croak("Usage: styleObj_linejoinmaxsize_set(self,linejoinmaxsize);");
10804 : }
10805 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10806 0 : if (!SWIG_IsOK(res1)) {
10807 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10808 : }
10809 0 : arg1 = (struct styleObj *)(argp1);
10810 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10811 0 : if (!SWIG_IsOK(ecode2)) {
10812 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "2"" of type '" "double""'");
10813 : }
10814 0 : arg2 = (double)(val2);
10815 0 : if (arg1) (arg1)->linejoinmaxsize = arg2;
10816 0 : ST(argvi) = sv_newmortal();
10817 :
10818 :
10819 0 : XSRETURN(argvi);
10820 : fail:
10821 :
10822 :
10823 0 : SWIG_croak_null();
10824 : }
10825 : }
10826 :
10827 :
10828 0 : XS(_wrap_styleObj_linejoinmaxsize_get) {
10829 : {
10830 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10831 0 : void *argp1 = 0 ;
10832 : int res1 = 0 ;
10833 : int argvi = 0;
10834 : double result;
10835 0 : dXSARGS;
10836 :
10837 0 : if ((items < 1) || (items > 1)) {
10838 0 : SWIG_croak("Usage: styleObj_linejoinmaxsize_get(self);");
10839 : }
10840 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10841 0 : if (!SWIG_IsOK(res1)) {
10842 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10843 : }
10844 0 : arg1 = (struct styleObj *)(argp1);
10845 0 : result = (double) ((arg1)->linejoinmaxsize);
10846 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10847 :
10848 0 : XSRETURN(argvi);
10849 : fail:
10850 :
10851 0 : SWIG_croak_null();
10852 : }
10853 : }
10854 :
10855 :
10856 0 : XS(_wrap_styleObj_width_set) {
10857 : {
10858 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10859 : double arg2 ;
10860 0 : void *argp1 = 0 ;
10861 : int res1 = 0 ;
10862 : double val2 ;
10863 : int ecode2 = 0 ;
10864 : int argvi = 0;
10865 0 : dXSARGS;
10866 :
10867 0 : if ((items < 2) || (items > 2)) {
10868 0 : SWIG_croak("Usage: styleObj_width_set(self,width);");
10869 : }
10870 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10871 0 : if (!SWIG_IsOK(res1)) {
10872 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_set" "', argument " "1"" of type '" "struct styleObj *""'");
10873 : }
10874 0 : arg1 = (struct styleObj *)(argp1);
10875 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10876 0 : if (!SWIG_IsOK(ecode2)) {
10877 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_width_set" "', argument " "2"" of type '" "double""'");
10878 : }
10879 0 : arg2 = (double)(val2);
10880 0 : if (arg1) (arg1)->width = arg2;
10881 0 : ST(argvi) = sv_newmortal();
10882 :
10883 :
10884 0 : XSRETURN(argvi);
10885 : fail:
10886 :
10887 :
10888 0 : SWIG_croak_null();
10889 : }
10890 : }
10891 :
10892 :
10893 0 : XS(_wrap_styleObj_width_get) {
10894 : {
10895 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10896 0 : void *argp1 = 0 ;
10897 : int res1 = 0 ;
10898 : int argvi = 0;
10899 : double result;
10900 0 : dXSARGS;
10901 :
10902 0 : if ((items < 1) || (items > 1)) {
10903 0 : SWIG_croak("Usage: styleObj_width_get(self);");
10904 : }
10905 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10906 0 : if (!SWIG_IsOK(res1)) {
10907 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_get" "', argument " "1"" of type '" "struct styleObj *""'");
10908 : }
10909 0 : arg1 = (struct styleObj *)(argp1);
10910 0 : result = (double) ((arg1)->width);
10911 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10912 :
10913 0 : XSRETURN(argvi);
10914 : fail:
10915 :
10916 0 : SWIG_croak_null();
10917 : }
10918 : }
10919 :
10920 :
10921 0 : XS(_wrap_styleObj_outlinewidth_set) {
10922 : {
10923 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10924 : double arg2 ;
10925 0 : void *argp1 = 0 ;
10926 : int res1 = 0 ;
10927 : double val2 ;
10928 : int ecode2 = 0 ;
10929 : int argvi = 0;
10930 0 : dXSARGS;
10931 :
10932 0 : if ((items < 2) || (items > 2)) {
10933 0 : SWIG_croak("Usage: styleObj_outlinewidth_set(self,outlinewidth);");
10934 : }
10935 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10936 0 : if (!SWIG_IsOK(res1)) {
10937 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
10938 : }
10939 0 : arg1 = (struct styleObj *)(argp1);
10940 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10941 0 : if (!SWIG_IsOK(ecode2)) {
10942 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_outlinewidth_set" "', argument " "2"" of type '" "double""'");
10943 : }
10944 0 : arg2 = (double)(val2);
10945 0 : if (arg1) (arg1)->outlinewidth = arg2;
10946 0 : ST(argvi) = sv_newmortal();
10947 :
10948 :
10949 0 : XSRETURN(argvi);
10950 : fail:
10951 :
10952 :
10953 0 : SWIG_croak_null();
10954 : }
10955 : }
10956 :
10957 :
10958 0 : XS(_wrap_styleObj_outlinewidth_get) {
10959 : {
10960 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10961 0 : void *argp1 = 0 ;
10962 : int res1 = 0 ;
10963 : int argvi = 0;
10964 : double result;
10965 0 : dXSARGS;
10966 :
10967 0 : if ((items < 1) || (items > 1)) {
10968 0 : SWIG_croak("Usage: styleObj_outlinewidth_get(self);");
10969 : }
10970 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10971 0 : if (!SWIG_IsOK(res1)) {
10972 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
10973 : }
10974 0 : arg1 = (struct styleObj *)(argp1);
10975 0 : result = (double) ((arg1)->outlinewidth);
10976 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10977 :
10978 0 : XSRETURN(argvi);
10979 : fail:
10980 :
10981 0 : SWIG_croak_null();
10982 : }
10983 : }
10984 :
10985 :
10986 0 : XS(_wrap_styleObj_minwidth_set) {
10987 : {
10988 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10989 : double arg2 ;
10990 0 : void *argp1 = 0 ;
10991 : int res1 = 0 ;
10992 : double val2 ;
10993 : int ecode2 = 0 ;
10994 : int argvi = 0;
10995 0 : dXSARGS;
10996 :
10997 0 : if ((items < 2) || (items > 2)) {
10998 0 : SWIG_croak("Usage: styleObj_minwidth_set(self,minwidth);");
10999 : }
11000 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11001 0 : if (!SWIG_IsOK(res1)) {
11002 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
11003 : }
11004 0 : arg1 = (struct styleObj *)(argp1);
11005 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11006 0 : if (!SWIG_IsOK(ecode2)) {
11007 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minwidth_set" "', argument " "2"" of type '" "double""'");
11008 : }
11009 0 : arg2 = (double)(val2);
11010 0 : if (arg1) (arg1)->minwidth = arg2;
11011 0 : ST(argvi) = sv_newmortal();
11012 :
11013 :
11014 0 : XSRETURN(argvi);
11015 : fail:
11016 :
11017 :
11018 0 : SWIG_croak_null();
11019 : }
11020 : }
11021 :
11022 :
11023 0 : XS(_wrap_styleObj_minwidth_get) {
11024 : {
11025 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11026 0 : void *argp1 = 0 ;
11027 : int res1 = 0 ;
11028 : int argvi = 0;
11029 : double result;
11030 0 : dXSARGS;
11031 :
11032 0 : if ((items < 1) || (items > 1)) {
11033 0 : SWIG_croak("Usage: styleObj_minwidth_get(self);");
11034 : }
11035 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11036 0 : if (!SWIG_IsOK(res1)) {
11037 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11038 : }
11039 0 : arg1 = (struct styleObj *)(argp1);
11040 0 : result = (double) ((arg1)->minwidth);
11041 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11042 :
11043 0 : XSRETURN(argvi);
11044 : fail:
11045 :
11046 0 : SWIG_croak_null();
11047 : }
11048 : }
11049 :
11050 :
11051 0 : XS(_wrap_styleObj_maxwidth_set) {
11052 : {
11053 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11054 : double arg2 ;
11055 0 : void *argp1 = 0 ;
11056 : int res1 = 0 ;
11057 : double val2 ;
11058 : int ecode2 = 0 ;
11059 : int argvi = 0;
11060 0 : dXSARGS;
11061 :
11062 0 : if ((items < 2) || (items > 2)) {
11063 0 : SWIG_croak("Usage: styleObj_maxwidth_set(self,maxwidth);");
11064 : }
11065 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11066 0 : if (!SWIG_IsOK(res1)) {
11067 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
11068 : }
11069 0 : arg1 = (struct styleObj *)(argp1);
11070 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11071 0 : if (!SWIG_IsOK(ecode2)) {
11072 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxwidth_set" "', argument " "2"" of type '" "double""'");
11073 : }
11074 0 : arg2 = (double)(val2);
11075 0 : if (arg1) (arg1)->maxwidth = arg2;
11076 0 : ST(argvi) = sv_newmortal();
11077 :
11078 :
11079 0 : XSRETURN(argvi);
11080 : fail:
11081 :
11082 :
11083 0 : SWIG_croak_null();
11084 : }
11085 : }
11086 :
11087 :
11088 0 : XS(_wrap_styleObj_maxwidth_get) {
11089 : {
11090 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11091 0 : void *argp1 = 0 ;
11092 : int res1 = 0 ;
11093 : int argvi = 0;
11094 : double result;
11095 0 : dXSARGS;
11096 :
11097 0 : if ((items < 1) || (items > 1)) {
11098 0 : SWIG_croak("Usage: styleObj_maxwidth_get(self);");
11099 : }
11100 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11101 0 : if (!SWIG_IsOK(res1)) {
11102 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11103 : }
11104 0 : arg1 = (struct styleObj *)(argp1);
11105 0 : result = (double) ((arg1)->maxwidth);
11106 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11107 :
11108 0 : XSRETURN(argvi);
11109 : fail:
11110 :
11111 0 : SWIG_croak_null();
11112 : }
11113 : }
11114 :
11115 :
11116 0 : XS(_wrap_styleObj_offsetx_set) {
11117 : {
11118 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11119 : double arg2 ;
11120 0 : void *argp1 = 0 ;
11121 : int res1 = 0 ;
11122 : double val2 ;
11123 : int ecode2 = 0 ;
11124 : int argvi = 0;
11125 0 : dXSARGS;
11126 :
11127 0 : if ((items < 2) || (items > 2)) {
11128 0 : SWIG_croak("Usage: styleObj_offsetx_set(self,offsetx);");
11129 : }
11130 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11131 0 : if (!SWIG_IsOK(res1)) {
11132 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_set" "', argument " "1"" of type '" "struct styleObj *""'");
11133 : }
11134 0 : arg1 = (struct styleObj *)(argp1);
11135 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11136 0 : if (!SWIG_IsOK(ecode2)) {
11137 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsetx_set" "', argument " "2"" of type '" "double""'");
11138 : }
11139 0 : arg2 = (double)(val2);
11140 0 : if (arg1) (arg1)->offsetx = arg2;
11141 0 : ST(argvi) = sv_newmortal();
11142 :
11143 :
11144 0 : XSRETURN(argvi);
11145 : fail:
11146 :
11147 :
11148 0 : SWIG_croak_null();
11149 : }
11150 : }
11151 :
11152 :
11153 0 : XS(_wrap_styleObj_offsetx_get) {
11154 : {
11155 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11156 0 : void *argp1 = 0 ;
11157 : int res1 = 0 ;
11158 : int argvi = 0;
11159 : double result;
11160 0 : dXSARGS;
11161 :
11162 0 : if ((items < 1) || (items > 1)) {
11163 0 : SWIG_croak("Usage: styleObj_offsetx_get(self);");
11164 : }
11165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11166 0 : if (!SWIG_IsOK(res1)) {
11167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_get" "', argument " "1"" of type '" "struct styleObj *""'");
11168 : }
11169 0 : arg1 = (struct styleObj *)(argp1);
11170 0 : result = (double) ((arg1)->offsetx);
11171 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11172 :
11173 0 : XSRETURN(argvi);
11174 : fail:
11175 :
11176 0 : SWIG_croak_null();
11177 : }
11178 : }
11179 :
11180 :
11181 0 : XS(_wrap_styleObj_offsety_set) {
11182 : {
11183 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11184 : double arg2 ;
11185 0 : void *argp1 = 0 ;
11186 : int res1 = 0 ;
11187 : double val2 ;
11188 : int ecode2 = 0 ;
11189 : int argvi = 0;
11190 0 : dXSARGS;
11191 :
11192 0 : if ((items < 2) || (items > 2)) {
11193 0 : SWIG_croak("Usage: styleObj_offsety_set(self,offsety);");
11194 : }
11195 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11196 0 : if (!SWIG_IsOK(res1)) {
11197 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_set" "', argument " "1"" of type '" "struct styleObj *""'");
11198 : }
11199 0 : arg1 = (struct styleObj *)(argp1);
11200 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11201 0 : if (!SWIG_IsOK(ecode2)) {
11202 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsety_set" "', argument " "2"" of type '" "double""'");
11203 : }
11204 0 : arg2 = (double)(val2);
11205 0 : if (arg1) (arg1)->offsety = arg2;
11206 0 : ST(argvi) = sv_newmortal();
11207 :
11208 :
11209 0 : XSRETURN(argvi);
11210 : fail:
11211 :
11212 :
11213 0 : SWIG_croak_null();
11214 : }
11215 : }
11216 :
11217 :
11218 0 : XS(_wrap_styleObj_offsety_get) {
11219 : {
11220 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11221 0 : void *argp1 = 0 ;
11222 : int res1 = 0 ;
11223 : int argvi = 0;
11224 : double result;
11225 0 : dXSARGS;
11226 :
11227 0 : if ((items < 1) || (items > 1)) {
11228 0 : SWIG_croak("Usage: styleObj_offsety_get(self);");
11229 : }
11230 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11231 0 : if (!SWIG_IsOK(res1)) {
11232 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_get" "', argument " "1"" of type '" "struct styleObj *""'");
11233 : }
11234 0 : arg1 = (struct styleObj *)(argp1);
11235 0 : result = (double) ((arg1)->offsety);
11236 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11237 :
11238 0 : XSRETURN(argvi);
11239 : fail:
11240 :
11241 0 : SWIG_croak_null();
11242 : }
11243 : }
11244 :
11245 :
11246 0 : XS(_wrap_styleObj_polaroffsetpixel_set) {
11247 : {
11248 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11249 : double arg2 ;
11250 0 : void *argp1 = 0 ;
11251 : int res1 = 0 ;
11252 : double val2 ;
11253 : int ecode2 = 0 ;
11254 : int argvi = 0;
11255 0 : dXSARGS;
11256 :
11257 0 : if ((items < 2) || (items > 2)) {
11258 0 : SWIG_croak("Usage: styleObj_polaroffsetpixel_set(self,polaroffsetpixel);");
11259 : }
11260 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11261 0 : if (!SWIG_IsOK(res1)) {
11262 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "1"" of type '" "struct styleObj *""'");
11263 : }
11264 0 : arg1 = (struct styleObj *)(argp1);
11265 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11266 0 : if (!SWIG_IsOK(ecode2)) {
11267 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "2"" of type '" "double""'");
11268 : }
11269 0 : arg2 = (double)(val2);
11270 0 : if (arg1) (arg1)->polaroffsetpixel = arg2;
11271 0 : ST(argvi) = sv_newmortal();
11272 :
11273 :
11274 0 : XSRETURN(argvi);
11275 : fail:
11276 :
11277 :
11278 0 : SWIG_croak_null();
11279 : }
11280 : }
11281 :
11282 :
11283 0 : XS(_wrap_styleObj_polaroffsetpixel_get) {
11284 : {
11285 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11286 0 : void *argp1 = 0 ;
11287 : int res1 = 0 ;
11288 : int argvi = 0;
11289 : double result;
11290 0 : dXSARGS;
11291 :
11292 0 : if ((items < 1) || (items > 1)) {
11293 0 : SWIG_croak("Usage: styleObj_polaroffsetpixel_get(self);");
11294 : }
11295 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11296 0 : if (!SWIG_IsOK(res1)) {
11297 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_get" "', argument " "1"" of type '" "struct styleObj *""'");
11298 : }
11299 0 : arg1 = (struct styleObj *)(argp1);
11300 0 : result = (double) ((arg1)->polaroffsetpixel);
11301 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11302 :
11303 0 : XSRETURN(argvi);
11304 : fail:
11305 :
11306 0 : SWIG_croak_null();
11307 : }
11308 : }
11309 :
11310 :
11311 0 : XS(_wrap_styleObj_polaroffsetangle_set) {
11312 : {
11313 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11314 : double arg2 ;
11315 0 : void *argp1 = 0 ;
11316 : int res1 = 0 ;
11317 : double val2 ;
11318 : int ecode2 = 0 ;
11319 : int argvi = 0;
11320 0 : dXSARGS;
11321 :
11322 0 : if ((items < 2) || (items > 2)) {
11323 0 : SWIG_croak("Usage: styleObj_polaroffsetangle_set(self,polaroffsetangle);");
11324 : }
11325 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11326 0 : if (!SWIG_IsOK(res1)) {
11327 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_set" "', argument " "1"" of type '" "struct styleObj *""'");
11328 : }
11329 0 : arg1 = (struct styleObj *)(argp1);
11330 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11331 0 : if (!SWIG_IsOK(ecode2)) {
11332 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetangle_set" "', argument " "2"" of type '" "double""'");
11333 : }
11334 0 : arg2 = (double)(val2);
11335 0 : if (arg1) (arg1)->polaroffsetangle = arg2;
11336 0 : ST(argvi) = sv_newmortal();
11337 :
11338 :
11339 0 : XSRETURN(argvi);
11340 : fail:
11341 :
11342 :
11343 0 : SWIG_croak_null();
11344 : }
11345 : }
11346 :
11347 :
11348 0 : XS(_wrap_styleObj_polaroffsetangle_get) {
11349 : {
11350 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11351 0 : void *argp1 = 0 ;
11352 : int res1 = 0 ;
11353 : int argvi = 0;
11354 : double result;
11355 0 : dXSARGS;
11356 :
11357 0 : if ((items < 1) || (items > 1)) {
11358 0 : SWIG_croak("Usage: styleObj_polaroffsetangle_get(self);");
11359 : }
11360 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11361 0 : if (!SWIG_IsOK(res1)) {
11362 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_get" "', argument " "1"" of type '" "struct styleObj *""'");
11363 : }
11364 0 : arg1 = (struct styleObj *)(argp1);
11365 0 : result = (double) ((arg1)->polaroffsetangle);
11366 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11367 :
11368 0 : XSRETURN(argvi);
11369 : fail:
11370 :
11371 0 : SWIG_croak_null();
11372 : }
11373 : }
11374 :
11375 :
11376 0 : XS(_wrap_styleObj_angle_set) {
11377 : {
11378 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11379 : double arg2 ;
11380 0 : void *argp1 = 0 ;
11381 : int res1 = 0 ;
11382 : double val2 ;
11383 : int ecode2 = 0 ;
11384 : int argvi = 0;
11385 0 : dXSARGS;
11386 :
11387 0 : if ((items < 2) || (items > 2)) {
11388 0 : SWIG_croak("Usage: styleObj_angle_set(self,angle);");
11389 : }
11390 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11391 0 : if (!SWIG_IsOK(res1)) {
11392 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_set" "', argument " "1"" of type '" "struct styleObj *""'");
11393 : }
11394 0 : arg1 = (struct styleObj *)(argp1);
11395 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11396 0 : if (!SWIG_IsOK(ecode2)) {
11397 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_angle_set" "', argument " "2"" of type '" "double""'");
11398 : }
11399 0 : arg2 = (double)(val2);
11400 0 : if (arg1) (arg1)->angle = arg2;
11401 0 : ST(argvi) = sv_newmortal();
11402 :
11403 :
11404 0 : XSRETURN(argvi);
11405 : fail:
11406 :
11407 :
11408 0 : SWIG_croak_null();
11409 : }
11410 : }
11411 :
11412 :
11413 0 : XS(_wrap_styleObj_angle_get) {
11414 : {
11415 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11416 0 : void *argp1 = 0 ;
11417 : int res1 = 0 ;
11418 : int argvi = 0;
11419 : double result;
11420 0 : dXSARGS;
11421 :
11422 0 : if ((items < 1) || (items > 1)) {
11423 0 : SWIG_croak("Usage: styleObj_angle_get(self);");
11424 : }
11425 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11426 0 : if (!SWIG_IsOK(res1)) {
11427 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_get" "', argument " "1"" of type '" "struct styleObj *""'");
11428 : }
11429 0 : arg1 = (struct styleObj *)(argp1);
11430 0 : result = (double) ((arg1)->angle);
11431 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11432 :
11433 0 : XSRETURN(argvi);
11434 : fail:
11435 :
11436 0 : SWIG_croak_null();
11437 : }
11438 : }
11439 :
11440 :
11441 0 : XS(_wrap_styleObj_minscaledenom_set) {
11442 : {
11443 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11444 : double arg2 ;
11445 0 : void *argp1 = 0 ;
11446 : int res1 = 0 ;
11447 : double val2 ;
11448 : int ecode2 = 0 ;
11449 : int argvi = 0;
11450 0 : dXSARGS;
11451 :
11452 0 : if ((items < 2) || (items > 2)) {
11453 0 : SWIG_croak("Usage: styleObj_minscaledenom_set(self,minscaledenom);");
11454 : }
11455 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11456 0 : if (!SWIG_IsOK(res1)) {
11457 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'");
11458 : }
11459 0 : arg1 = (struct styleObj *)(argp1);
11460 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11461 0 : if (!SWIG_IsOK(ecode2)) {
11462 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
11463 : }
11464 0 : arg2 = (double)(val2);
11465 0 : if (arg1) (arg1)->minscaledenom = arg2;
11466 0 : ST(argvi) = sv_newmortal();
11467 :
11468 :
11469 0 : XSRETURN(argvi);
11470 : fail:
11471 :
11472 :
11473 0 : SWIG_croak_null();
11474 : }
11475 : }
11476 :
11477 :
11478 0 : XS(_wrap_styleObj_minscaledenom_get) {
11479 : {
11480 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11481 0 : void *argp1 = 0 ;
11482 : int res1 = 0 ;
11483 : int argvi = 0;
11484 : double result;
11485 0 : dXSARGS;
11486 :
11487 0 : if ((items < 1) || (items > 1)) {
11488 0 : SWIG_croak("Usage: styleObj_minscaledenom_get(self);");
11489 : }
11490 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11491 0 : if (!SWIG_IsOK(res1)) {
11492 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'");
11493 : }
11494 0 : arg1 = (struct styleObj *)(argp1);
11495 0 : result = (double) ((arg1)->minscaledenom);
11496 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11497 :
11498 0 : XSRETURN(argvi);
11499 : fail:
11500 :
11501 0 : SWIG_croak_null();
11502 : }
11503 : }
11504 :
11505 :
11506 0 : XS(_wrap_styleObj_maxscaledenom_set) {
11507 : {
11508 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11509 : double arg2 ;
11510 0 : void *argp1 = 0 ;
11511 : int res1 = 0 ;
11512 : double val2 ;
11513 : int ecode2 = 0 ;
11514 : int argvi = 0;
11515 0 : dXSARGS;
11516 :
11517 0 : if ((items < 2) || (items > 2)) {
11518 0 : SWIG_croak("Usage: styleObj_maxscaledenom_set(self,maxscaledenom);");
11519 : }
11520 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11521 0 : if (!SWIG_IsOK(res1)) {
11522 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'");
11523 : }
11524 0 : arg1 = (struct styleObj *)(argp1);
11525 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11526 0 : if (!SWIG_IsOK(ecode2)) {
11527 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
11528 : }
11529 0 : arg2 = (double)(val2);
11530 0 : if (arg1) (arg1)->maxscaledenom = arg2;
11531 0 : ST(argvi) = sv_newmortal();
11532 :
11533 :
11534 0 : XSRETURN(argvi);
11535 : fail:
11536 :
11537 :
11538 0 : SWIG_croak_null();
11539 : }
11540 : }
11541 :
11542 :
11543 0 : XS(_wrap_styleObj_maxscaledenom_get) {
11544 : {
11545 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11546 0 : void *argp1 = 0 ;
11547 : int res1 = 0 ;
11548 : int argvi = 0;
11549 : double result;
11550 0 : dXSARGS;
11551 :
11552 0 : if ((items < 1) || (items > 1)) {
11553 0 : SWIG_croak("Usage: styleObj_maxscaledenom_get(self);");
11554 : }
11555 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11556 0 : if (!SWIG_IsOK(res1)) {
11557 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'");
11558 : }
11559 0 : arg1 = (struct styleObj *)(argp1);
11560 0 : result = (double) ((arg1)->maxscaledenom);
11561 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11562 :
11563 0 : XSRETURN(argvi);
11564 : fail:
11565 :
11566 0 : SWIG_croak_null();
11567 : }
11568 : }
11569 :
11570 :
11571 0 : XS(_wrap_styleObj_sizeunits_set) {
11572 : {
11573 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11574 : int arg2 ;
11575 0 : void *argp1 = 0 ;
11576 : int res1 = 0 ;
11577 : int val2 ;
11578 : int ecode2 = 0 ;
11579 : int argvi = 0;
11580 0 : dXSARGS;
11581 :
11582 0 : if ((items < 2) || (items > 2)) {
11583 0 : SWIG_croak("Usage: styleObj_sizeunits_set(self,sizeunits);");
11584 : }
11585 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11586 0 : if (!SWIG_IsOK(res1)) {
11587 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_sizeunits_set" "', argument " "1"" of type '" "struct styleObj *""'");
11588 : }
11589 0 : arg1 = (struct styleObj *)(argp1);
11590 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11591 0 : if (!SWIG_IsOK(ecode2)) {
11592 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
11593 : }
11594 0 : arg2 = (int)(val2);
11595 0 : if (arg1) (arg1)->sizeunits = arg2;
11596 0 : ST(argvi) = sv_newmortal();
11597 :
11598 :
11599 0 : XSRETURN(argvi);
11600 : fail:
11601 :
11602 :
11603 0 : SWIG_croak_null();
11604 : }
11605 : }
11606 :
11607 :
11608 0 : XS(_wrap_styleObj_sizeunits_get) {
11609 : {
11610 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11611 0 : void *argp1 = 0 ;
11612 : int res1 = 0 ;
11613 : int argvi = 0;
11614 : int result;
11615 0 : dXSARGS;
11616 :
11617 0 : if ((items < 1) || (items > 1)) {
11618 0 : SWIG_croak("Usage: styleObj_sizeunits_get(self);");
11619 : }
11620 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11621 0 : if (!SWIG_IsOK(res1)) {
11622 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_sizeunits_get" "', argument " "1"" of type '" "struct styleObj *""'");
11623 : }
11624 0 : arg1 = (struct styleObj *)(argp1);
11625 0 : result = (int) ((arg1)->sizeunits);
11626 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11627 :
11628 0 : XSRETURN(argvi);
11629 : fail:
11630 :
11631 0 : SWIG_croak_null();
11632 : }
11633 : }
11634 :
11635 :
11636 0 : XS(_wrap_new_styleObj) {
11637 : {
11638 : classObj *arg1 = (classObj *) NULL ;
11639 0 : void *argp1 = 0 ;
11640 : int res1 = 0 ;
11641 : int argvi = 0;
11642 : struct styleObj *result = 0 ;
11643 0 : dXSARGS;
11644 :
11645 0 : if ((items < 0) || (items > 1)) {
11646 0 : SWIG_croak("Usage: new_styleObj(parent_class);");
11647 : }
11648 0 : if (items > 0) {
11649 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
11650 0 : if (!SWIG_IsOK(res1)) {
11651 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_styleObj" "', argument " "1"" of type '" "classObj *""'");
11652 : }
11653 0 : arg1 = (classObj *)(argp1);
11654 : }
11655 0 : result = (struct styleObj *)new_styleObj(arg1);
11656 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11657 :
11658 0 : XSRETURN(argvi);
11659 : fail:
11660 :
11661 0 : SWIG_croak_null();
11662 : }
11663 : }
11664 :
11665 :
11666 0 : XS(_wrap_delete_styleObj) {
11667 : {
11668 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11669 0 : void *argp1 = 0 ;
11670 : int res1 = 0 ;
11671 : int argvi = 0;
11672 0 : dXSARGS;
11673 :
11674 0 : if ((items < 1) || (items > 1)) {
11675 0 : SWIG_croak("Usage: delete_styleObj(self);");
11676 : }
11677 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, SWIG_POINTER_DISOWN | 0 );
11678 0 : if (!SWIG_IsOK(res1)) {
11679 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_styleObj" "', argument " "1"" of type '" "struct styleObj *""'");
11680 : }
11681 0 : arg1 = (struct styleObj *)(argp1);
11682 0 : delete_styleObj(arg1);
11683 0 : ST(argvi) = sv_newmortal();
11684 :
11685 0 : XSRETURN(argvi);
11686 : fail:
11687 :
11688 0 : SWIG_croak_null();
11689 : }
11690 : }
11691 :
11692 :
11693 0 : XS(_wrap_styleObj_updateFromString) {
11694 : {
11695 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11696 : char *arg2 = (char *) 0 ;
11697 0 : void *argp1 = 0 ;
11698 : int res1 = 0 ;
11699 : int res2 ;
11700 0 : char *buf2 = 0 ;
11701 0 : int alloc2 = 0 ;
11702 : int argvi = 0;
11703 : int result;
11704 0 : dXSARGS;
11705 :
11706 0 : if ((items < 2) || (items > 2)) {
11707 0 : SWIG_croak("Usage: styleObj_updateFromString(self,snippet);");
11708 : }
11709 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11710 0 : if (!SWIG_IsOK(res1)) {
11711 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_updateFromString" "', argument " "1"" of type '" "struct styleObj *""'");
11712 : }
11713 0 : arg1 = (struct styleObj *)(argp1);
11714 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
11715 0 : if (!SWIG_IsOK(res2)) {
11716 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_updateFromString" "', argument " "2"" of type '" "char *""'");
11717 : }
11718 0 : arg2 = (char *)(buf2);
11719 : result = (int)styleObj_updateFromString(arg1,arg2);
11720 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11721 :
11722 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11723 0 : XSRETURN(argvi);
11724 : fail:
11725 :
11726 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11727 0 : SWIG_croak_null();
11728 : }
11729 : }
11730 :
11731 :
11732 0 : XS(_wrap_styleObj_convertToString) {
11733 : {
11734 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11735 0 : void *argp1 = 0 ;
11736 : int res1 = 0 ;
11737 : int argvi = 0;
11738 : char *result = 0 ;
11739 0 : dXSARGS;
11740 :
11741 0 : if ((items < 1) || (items > 1)) {
11742 0 : SWIG_croak("Usage: styleObj_convertToString(self);");
11743 : }
11744 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11745 0 : if (!SWIG_IsOK(res1)) {
11746 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_convertToString" "', argument " "1"" of type '" "struct styleObj *""'");
11747 : }
11748 0 : arg1 = (struct styleObj *)(argp1);
11749 : result = (char *)styleObj_convertToString(arg1);
11750 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11751 :
11752 0 : free((char*)result);
11753 0 : XSRETURN(argvi);
11754 : fail:
11755 :
11756 0 : SWIG_croak_null();
11757 : }
11758 : }
11759 :
11760 :
11761 0 : XS(_wrap_styleObj_clone) {
11762 : {
11763 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11764 0 : void *argp1 = 0 ;
11765 : int res1 = 0 ;
11766 : int argvi = 0;
11767 : styleObj *result = 0 ;
11768 0 : dXSARGS;
11769 :
11770 0 : if ((items < 1) || (items > 1)) {
11771 0 : SWIG_croak("Usage: styleObj_clone(self);");
11772 : }
11773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11774 0 : if (!SWIG_IsOK(res1)) {
11775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_clone" "', argument " "1"" of type '" "struct styleObj *""'");
11776 : }
11777 0 : arg1 = (struct styleObj *)(argp1);
11778 0 : result = (styleObj *)styleObj_clone(arg1);
11779 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11780 :
11781 0 : XSRETURN(argvi);
11782 : fail:
11783 :
11784 0 : SWIG_croak_null();
11785 : }
11786 : }
11787 :
11788 :
11789 0 : XS(_wrap_styleObj_setSymbolByName) {
11790 : {
11791 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11792 : mapObj *arg2 = (mapObj *) 0 ;
11793 : char *arg3 = (char *) 0 ;
11794 0 : void *argp1 = 0 ;
11795 : int res1 = 0 ;
11796 0 : void *argp2 = 0 ;
11797 : int res2 = 0 ;
11798 : int res3 ;
11799 0 : char *buf3 = 0 ;
11800 0 : int alloc3 = 0 ;
11801 : int argvi = 0;
11802 : int result;
11803 0 : dXSARGS;
11804 :
11805 0 : if ((items < 3) || (items > 3)) {
11806 0 : SWIG_croak("Usage: styleObj_setSymbolByName(self,map,symbolname);");
11807 : }
11808 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11809 0 : if (!SWIG_IsOK(res1)) {
11810 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setSymbolByName" "', argument " "1"" of type '" "struct styleObj *""'");
11811 : }
11812 0 : arg1 = (struct styleObj *)(argp1);
11813 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
11814 0 : if (!SWIG_IsOK(res2)) {
11815 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setSymbolByName" "', argument " "2"" of type '" "mapObj *""'");
11816 : }
11817 0 : arg2 = (mapObj *)(argp2);
11818 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11819 0 : if (!SWIG_IsOK(res3)) {
11820 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setSymbolByName" "', argument " "3"" of type '" "char *""'");
11821 : }
11822 0 : arg3 = (char *)(buf3);
11823 0 : result = (int)styleObj_setSymbolByName(arg1,arg2,arg3);
11824 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11825 :
11826 :
11827 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11828 0 : XSRETURN(argvi);
11829 : fail:
11830 :
11831 :
11832 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11833 0 : SWIG_croak_null();
11834 : }
11835 : }
11836 :
11837 :
11838 0 : XS(_wrap_styleObj_removeBinding) {
11839 : {
11840 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11841 : int arg2 ;
11842 0 : void *argp1 = 0 ;
11843 : int res1 = 0 ;
11844 : int val2 ;
11845 : int ecode2 = 0 ;
11846 : int argvi = 0;
11847 : int result;
11848 0 : dXSARGS;
11849 :
11850 0 : if ((items < 2) || (items > 2)) {
11851 0 : SWIG_croak("Usage: styleObj_removeBinding(self,binding);");
11852 : }
11853 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11854 0 : if (!SWIG_IsOK(res1)) {
11855 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_removeBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11856 : }
11857 0 : arg1 = (struct styleObj *)(argp1);
11858 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11859 0 : if (!SWIG_IsOK(ecode2)) {
11860 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_removeBinding" "', argument " "2"" of type '" "int""'");
11861 : }
11862 0 : arg2 = (int)(val2);
11863 0 : result = (int)styleObj_removeBinding(arg1,arg2);
11864 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11865 :
11866 :
11867 0 : XSRETURN(argvi);
11868 : fail:
11869 :
11870 :
11871 0 : SWIG_croak_null();
11872 : }
11873 : }
11874 :
11875 :
11876 0 : XS(_wrap_styleObj_setBinding) {
11877 : {
11878 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11879 : int arg2 ;
11880 : char *arg3 = (char *) 0 ;
11881 0 : void *argp1 = 0 ;
11882 : int res1 = 0 ;
11883 : int val2 ;
11884 : int ecode2 = 0 ;
11885 : int res3 ;
11886 0 : char *buf3 = 0 ;
11887 0 : int alloc3 = 0 ;
11888 : int argvi = 0;
11889 : int result;
11890 0 : dXSARGS;
11891 :
11892 0 : if ((items < 3) || (items > 3)) {
11893 0 : SWIG_croak("Usage: styleObj_setBinding(self,binding,item);");
11894 : }
11895 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11896 0 : if (!SWIG_IsOK(res1)) {
11897 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11898 : }
11899 0 : arg1 = (struct styleObj *)(argp1);
11900 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11901 0 : if (!SWIG_IsOK(ecode2)) {
11902 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_setBinding" "', argument " "2"" of type '" "int""'");
11903 : }
11904 0 : arg2 = (int)(val2);
11905 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11906 0 : if (!SWIG_IsOK(res3)) {
11907 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setBinding" "', argument " "3"" of type '" "char *""'");
11908 : }
11909 0 : arg3 = (char *)(buf3);
11910 0 : result = (int)styleObj_setBinding(arg1,arg2,arg3);
11911 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11912 :
11913 :
11914 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11915 0 : XSRETURN(argvi);
11916 : fail:
11917 :
11918 :
11919 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11920 0 : SWIG_croak_null();
11921 : }
11922 : }
11923 :
11924 :
11925 0 : XS(_wrap_styleObj_getBinding) {
11926 : {
11927 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11928 : int arg2 ;
11929 0 : void *argp1 = 0 ;
11930 : int res1 = 0 ;
11931 : int val2 ;
11932 : int ecode2 = 0 ;
11933 : int argvi = 0;
11934 : char *result = 0 ;
11935 0 : dXSARGS;
11936 :
11937 0 : if ((items < 2) || (items > 2)) {
11938 0 : SWIG_croak("Usage: styleObj_getBinding(self,binding);");
11939 : }
11940 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11941 0 : if (!SWIG_IsOK(res1)) {
11942 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11943 : }
11944 0 : arg1 = (struct styleObj *)(argp1);
11945 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11946 0 : if (!SWIG_IsOK(ecode2)) {
11947 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_getBinding" "', argument " "2"" of type '" "int""'");
11948 : }
11949 0 : arg2 = (int)(val2);
11950 : result = (char *)styleObj_getBinding(arg1,arg2);
11951 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11952 :
11953 :
11954 0 : XSRETURN(argvi);
11955 : fail:
11956 :
11957 :
11958 0 : SWIG_croak_null();
11959 : }
11960 : }
11961 :
11962 :
11963 0 : XS(_wrap_styleObj_getGeomTransform) {
11964 : {
11965 0 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11966 0 : void *argp1 = 0 ;
11967 : int res1 = 0 ;
11968 : int argvi = 0;
11969 : char *result = 0 ;
11970 0 : dXSARGS;
11971 :
11972 0 : if ((items < 1) || (items > 1)) {
11973 0 : SWIG_croak("Usage: styleObj_getGeomTransform(self);");
11974 : }
11975 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11976 0 : if (!SWIG_IsOK(res1)) {
11977 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'");
11978 : }
11979 0 : arg1 = (struct styleObj *)(argp1);
11980 : result = (char *)styleObj_getGeomTransform(arg1);
11981 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11982 :
11983 0 : XSRETURN(argvi);
11984 : fail:
11985 :
11986 0 : SWIG_croak_null();
11987 : }
11988 : }
11989 :
11990 :
11991 0 : XS(_wrap_styleObj_setGeomTransform) {
11992 : {
11993 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11994 : char *arg2 = (char *) 0 ;
11995 0 : void *argp1 = 0 ;
11996 : int res1 = 0 ;
11997 : int res2 ;
11998 0 : char *buf2 = 0 ;
11999 0 : int alloc2 = 0 ;
12000 : int argvi = 0;
12001 0 : dXSARGS;
12002 :
12003 0 : if ((items < 2) || (items > 2)) {
12004 0 : SWIG_croak("Usage: styleObj_setGeomTransform(self,transform);");
12005 : }
12006 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
12007 0 : if (!SWIG_IsOK(res1)) {
12008 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'");
12009 : }
12010 0 : arg1 = (struct styleObj *)(argp1);
12011 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12012 0 : if (!SWIG_IsOK(res2)) {
12013 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
12014 : }
12015 0 : arg2 = (char *)(buf2);
12016 : styleObj_setGeomTransform(arg1,arg2);
12017 0 : ST(argvi) = sv_newmortal();
12018 :
12019 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12020 0 : XSRETURN(argvi);
12021 : fail:
12022 :
12023 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12024 0 : SWIG_croak_null();
12025 : }
12026 : }
12027 :
12028 :
12029 0 : XS(_wrap_labelLeaderObj_maxdistance_set) {
12030 : {
12031 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12032 : int arg2 ;
12033 0 : void *argp1 = 0 ;
12034 : int res1 = 0 ;
12035 : int val2 ;
12036 : int ecode2 = 0 ;
12037 : int argvi = 0;
12038 0 : dXSARGS;
12039 :
12040 0 : if ((items < 2) || (items > 2)) {
12041 0 : SWIG_croak("Usage: labelLeaderObj_maxdistance_set(self,maxdistance);");
12042 : }
12043 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12044 0 : if (!SWIG_IsOK(res1)) {
12045 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "1"" of type '" "labelLeaderObj *""'");
12046 : }
12047 0 : arg1 = (labelLeaderObj *)(argp1);
12048 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12049 0 : if (!SWIG_IsOK(ecode2)) {
12050 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "2"" of type '" "int""'");
12051 : }
12052 0 : arg2 = (int)(val2);
12053 0 : if (arg1) (arg1)->maxdistance = arg2;
12054 0 : ST(argvi) = sv_newmortal();
12055 :
12056 :
12057 0 : XSRETURN(argvi);
12058 : fail:
12059 :
12060 :
12061 0 : SWIG_croak_null();
12062 : }
12063 : }
12064 :
12065 :
12066 0 : XS(_wrap_labelLeaderObj_maxdistance_get) {
12067 : {
12068 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12069 0 : void *argp1 = 0 ;
12070 : int res1 = 0 ;
12071 : int argvi = 0;
12072 : int result;
12073 0 : dXSARGS;
12074 :
12075 0 : if ((items < 1) || (items > 1)) {
12076 0 : SWIG_croak("Usage: labelLeaderObj_maxdistance_get(self);");
12077 : }
12078 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12079 0 : if (!SWIG_IsOK(res1)) {
12080 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12081 : }
12082 0 : arg1 = (labelLeaderObj *)(argp1);
12083 0 : result = (int) ((arg1)->maxdistance);
12084 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12085 :
12086 0 : XSRETURN(argvi);
12087 : fail:
12088 :
12089 0 : SWIG_croak_null();
12090 : }
12091 : }
12092 :
12093 :
12094 0 : XS(_wrap_labelLeaderObj_gridstep_set) {
12095 : {
12096 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12097 : int arg2 ;
12098 0 : void *argp1 = 0 ;
12099 : int res1 = 0 ;
12100 : int val2 ;
12101 : int ecode2 = 0 ;
12102 : int argvi = 0;
12103 0 : dXSARGS;
12104 :
12105 0 : if ((items < 2) || (items > 2)) {
12106 0 : SWIG_croak("Usage: labelLeaderObj_gridstep_set(self,gridstep);");
12107 : }
12108 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12109 0 : if (!SWIG_IsOK(res1)) {
12110 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_set" "', argument " "1"" of type '" "labelLeaderObj *""'");
12111 : }
12112 0 : arg1 = (labelLeaderObj *)(argp1);
12113 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12114 0 : if (!SWIG_IsOK(ecode2)) {
12115 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_gridstep_set" "', argument " "2"" of type '" "int""'");
12116 : }
12117 0 : arg2 = (int)(val2);
12118 0 : if (arg1) (arg1)->gridstep = arg2;
12119 0 : ST(argvi) = sv_newmortal();
12120 :
12121 :
12122 0 : XSRETURN(argvi);
12123 : fail:
12124 :
12125 :
12126 0 : SWIG_croak_null();
12127 : }
12128 : }
12129 :
12130 :
12131 0 : XS(_wrap_labelLeaderObj_gridstep_get) {
12132 : {
12133 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12134 0 : void *argp1 = 0 ;
12135 : int res1 = 0 ;
12136 : int argvi = 0;
12137 : int result;
12138 0 : dXSARGS;
12139 :
12140 0 : if ((items < 1) || (items > 1)) {
12141 0 : SWIG_croak("Usage: labelLeaderObj_gridstep_get(self);");
12142 : }
12143 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12144 0 : if (!SWIG_IsOK(res1)) {
12145 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12146 : }
12147 0 : arg1 = (labelLeaderObj *)(argp1);
12148 0 : result = (int) ((arg1)->gridstep);
12149 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12150 :
12151 0 : XSRETURN(argvi);
12152 : fail:
12153 :
12154 0 : SWIG_croak_null();
12155 : }
12156 : }
12157 :
12158 :
12159 0 : XS(_wrap_labelLeaderObj_numstyles_get) {
12160 : {
12161 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12162 0 : void *argp1 = 0 ;
12163 : int res1 = 0 ;
12164 : int argvi = 0;
12165 : int result;
12166 0 : dXSARGS;
12167 :
12168 0 : if ((items < 1) || (items > 1)) {
12169 0 : SWIG_croak("Usage: labelLeaderObj_numstyles_get(self);");
12170 : }
12171 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12172 0 : if (!SWIG_IsOK(res1)) {
12173 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_numstyles_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12174 : }
12175 0 : arg1 = (labelLeaderObj *)(argp1);
12176 0 : result = (int) ((arg1)->numstyles);
12177 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12178 :
12179 0 : XSRETURN(argvi);
12180 : fail:
12181 :
12182 0 : SWIG_croak_null();
12183 : }
12184 : }
12185 :
12186 :
12187 0 : XS(_wrap_new_labelLeaderObj) {
12188 : {
12189 : int argvi = 0;
12190 : labelLeaderObj *result = 0 ;
12191 0 : dXSARGS;
12192 :
12193 0 : if ((items < 0) || (items > 0)) {
12194 0 : SWIG_croak("Usage: new_labelLeaderObj();");
12195 : }
12196 0 : result = (labelLeaderObj *)calloc(1, sizeof(labelLeaderObj));
12197 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
12198 0 : XSRETURN(argvi);
12199 : fail:
12200 0 : SWIG_croak_null();
12201 : }
12202 : }
12203 :
12204 :
12205 0 : XS(_wrap_delete_labelLeaderObj) {
12206 : {
12207 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12208 0 : void *argp1 = 0 ;
12209 : int res1 = 0 ;
12210 : int argvi = 0;
12211 0 : dXSARGS;
12212 :
12213 0 : if ((items < 1) || (items > 1)) {
12214 0 : SWIG_croak("Usage: delete_labelLeaderObj(self);");
12215 : }
12216 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
12217 0 : if (!SWIG_IsOK(res1)) {
12218 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelLeaderObj" "', argument " "1"" of type '" "labelLeaderObj *""'");
12219 : }
12220 0 : arg1 = (labelLeaderObj *)(argp1);
12221 0 : free((char *) arg1);
12222 0 : ST(argvi) = sv_newmortal();
12223 :
12224 0 : XSRETURN(argvi);
12225 : fail:
12226 :
12227 0 : SWIG_croak_null();
12228 : }
12229 : }
12230 :
12231 :
12232 0 : XS(_wrap_labelObj_refcount_get) {
12233 : {
12234 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12235 0 : void *argp1 = 0 ;
12236 : int res1 = 0 ;
12237 : int argvi = 0;
12238 : int result;
12239 0 : dXSARGS;
12240 :
12241 0 : if ((items < 1) || (items > 1)) {
12242 0 : SWIG_croak("Usage: labelObj_refcount_get(self);");
12243 : }
12244 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12245 0 : if (!SWIG_IsOK(res1)) {
12246 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_refcount_get" "', argument " "1"" of type '" "struct labelObj *""'");
12247 : }
12248 0 : arg1 = (struct labelObj *)(argp1);
12249 0 : result = (int) ((arg1)->refcount);
12250 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12251 :
12252 0 : XSRETURN(argvi);
12253 : fail:
12254 :
12255 0 : SWIG_croak_null();
12256 : }
12257 : }
12258 :
12259 :
12260 0 : XS(_wrap_labelObj_font_set) {
12261 : {
12262 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12263 : char *arg2 = (char *) 0 ;
12264 0 : void *argp1 = 0 ;
12265 : int res1 = 0 ;
12266 : int res2 ;
12267 0 : char *buf2 = 0 ;
12268 0 : int alloc2 = 0 ;
12269 : int argvi = 0;
12270 0 : dXSARGS;
12271 :
12272 0 : if ((items < 2) || (items > 2)) {
12273 0 : SWIG_croak("Usage: labelObj_font_set(self,font);");
12274 : }
12275 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12276 0 : if (!SWIG_IsOK(res1)) {
12277 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_set" "', argument " "1"" of type '" "struct labelObj *""'");
12278 : }
12279 0 : arg1 = (struct labelObj *)(argp1);
12280 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12281 0 : if (!SWIG_IsOK(res2)) {
12282 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_font_set" "', argument " "2"" of type '" "char *""'");
12283 : }
12284 0 : arg2 = (char *)(buf2);
12285 : {
12286 0 : if (arg1->font) free((char*)arg1->font);
12287 0 : if (arg2) {
12288 0 : arg1->font = (char *) malloc(strlen(arg2)+1);
12289 : strcpy((char*)arg1->font,arg2);
12290 : } else {
12291 0 : arg1->font = 0;
12292 : }
12293 : }
12294 0 : ST(argvi) = sv_newmortal();
12295 :
12296 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12297 0 : XSRETURN(argvi);
12298 : fail:
12299 :
12300 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12301 0 : SWIG_croak_null();
12302 : }
12303 : }
12304 :
12305 :
12306 0 : XS(_wrap_labelObj_font_get) {
12307 : {
12308 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12309 0 : void *argp1 = 0 ;
12310 : int res1 = 0 ;
12311 : int argvi = 0;
12312 : char *result = 0 ;
12313 0 : dXSARGS;
12314 :
12315 0 : if ((items < 1) || (items > 1)) {
12316 0 : SWIG_croak("Usage: labelObj_font_get(self);");
12317 : }
12318 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12319 0 : if (!SWIG_IsOK(res1)) {
12320 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_get" "', argument " "1"" of type '" "struct labelObj *""'");
12321 : }
12322 0 : arg1 = (struct labelObj *)(argp1);
12323 0 : result = (char *) ((arg1)->font);
12324 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
12325 :
12326 0 : XSRETURN(argvi);
12327 : fail:
12328 :
12329 0 : SWIG_croak_null();
12330 : }
12331 : }
12332 :
12333 :
12334 0 : XS(_wrap_labelObj_color_set) {
12335 : {
12336 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12337 : colorObj *arg2 = (colorObj *) 0 ;
12338 0 : void *argp1 = 0 ;
12339 : int res1 = 0 ;
12340 0 : void *argp2 = 0 ;
12341 : int res2 = 0 ;
12342 : int argvi = 0;
12343 0 : dXSARGS;
12344 :
12345 0 : if ((items < 2) || (items > 2)) {
12346 0 : SWIG_croak("Usage: labelObj_color_set(self,color);");
12347 : }
12348 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12349 0 : if (!SWIG_IsOK(res1)) {
12350 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_set" "', argument " "1"" of type '" "struct labelObj *""'");
12351 : }
12352 0 : arg1 = (struct labelObj *)(argp1);
12353 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12354 0 : if (!SWIG_IsOK(res2)) {
12355 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
12356 : }
12357 0 : arg2 = (colorObj *)(argp2);
12358 0 : if (arg1) (arg1)->color = *arg2;
12359 0 : ST(argvi) = sv_newmortal();
12360 :
12361 :
12362 0 : XSRETURN(argvi);
12363 : fail:
12364 :
12365 :
12366 0 : SWIG_croak_null();
12367 : }
12368 : }
12369 :
12370 :
12371 0 : XS(_wrap_labelObj_color_get) {
12372 : {
12373 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12374 0 : void *argp1 = 0 ;
12375 : int res1 = 0 ;
12376 : int argvi = 0;
12377 : colorObj *result = 0 ;
12378 0 : dXSARGS;
12379 :
12380 0 : if ((items < 1) || (items > 1)) {
12381 0 : SWIG_croak("Usage: labelObj_color_get(self);");
12382 : }
12383 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12384 0 : if (!SWIG_IsOK(res1)) {
12385 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_get" "', argument " "1"" of type '" "struct labelObj *""'");
12386 : }
12387 0 : arg1 = (struct labelObj *)(argp1);
12388 0 : result = (colorObj *)& ((arg1)->color);
12389 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12390 :
12391 0 : XSRETURN(argvi);
12392 : fail:
12393 :
12394 0 : SWIG_croak_null();
12395 : }
12396 : }
12397 :
12398 :
12399 0 : XS(_wrap_labelObj_outlinecolor_set) {
12400 : {
12401 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12402 : colorObj *arg2 = (colorObj *) 0 ;
12403 0 : void *argp1 = 0 ;
12404 : int res1 = 0 ;
12405 0 : void *argp2 = 0 ;
12406 : int res2 = 0 ;
12407 : int argvi = 0;
12408 0 : dXSARGS;
12409 :
12410 0 : if ((items < 2) || (items > 2)) {
12411 0 : SWIG_croak("Usage: labelObj_outlinecolor_set(self,outlinecolor);");
12412 : }
12413 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12414 0 : if (!SWIG_IsOK(res1)) {
12415 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_set" "', argument " "1"" of type '" "struct labelObj *""'");
12416 : }
12417 0 : arg1 = (struct labelObj *)(argp1);
12418 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12419 0 : if (!SWIG_IsOK(res2)) {
12420 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
12421 : }
12422 0 : arg2 = (colorObj *)(argp2);
12423 0 : if (arg1) (arg1)->outlinecolor = *arg2;
12424 0 : ST(argvi) = sv_newmortal();
12425 :
12426 :
12427 0 : XSRETURN(argvi);
12428 : fail:
12429 :
12430 :
12431 0 : SWIG_croak_null();
12432 : }
12433 : }
12434 :
12435 :
12436 0 : XS(_wrap_labelObj_outlinecolor_get) {
12437 : {
12438 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12439 0 : void *argp1 = 0 ;
12440 : int res1 = 0 ;
12441 : int argvi = 0;
12442 : colorObj *result = 0 ;
12443 0 : dXSARGS;
12444 :
12445 0 : if ((items < 1) || (items > 1)) {
12446 0 : SWIG_croak("Usage: labelObj_outlinecolor_get(self);");
12447 : }
12448 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12449 0 : if (!SWIG_IsOK(res1)) {
12450 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_get" "', argument " "1"" of type '" "struct labelObj *""'");
12451 : }
12452 0 : arg1 = (struct labelObj *)(argp1);
12453 0 : result = (colorObj *)& ((arg1)->outlinecolor);
12454 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12455 :
12456 0 : XSRETURN(argvi);
12457 : fail:
12458 :
12459 0 : SWIG_croak_null();
12460 : }
12461 : }
12462 :
12463 :
12464 0 : XS(_wrap_labelObj_outlinewidth_set) {
12465 : {
12466 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12467 : int arg2 ;
12468 0 : void *argp1 = 0 ;
12469 : int res1 = 0 ;
12470 : int val2 ;
12471 : int ecode2 = 0 ;
12472 : int argvi = 0;
12473 0 : dXSARGS;
12474 :
12475 0 : if ((items < 2) || (items > 2)) {
12476 0 : SWIG_croak("Usage: labelObj_outlinewidth_set(self,outlinewidth);");
12477 : }
12478 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12479 0 : if (!SWIG_IsOK(res1)) {
12480 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_set" "', argument " "1"" of type '" "struct labelObj *""'");
12481 : }
12482 0 : arg1 = (struct labelObj *)(argp1);
12483 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12484 0 : if (!SWIG_IsOK(ecode2)) {
12485 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_outlinewidth_set" "', argument " "2"" of type '" "int""'");
12486 : }
12487 0 : arg2 = (int)(val2);
12488 0 : if (arg1) (arg1)->outlinewidth = arg2;
12489 0 : ST(argvi) = sv_newmortal();
12490 :
12491 :
12492 0 : XSRETURN(argvi);
12493 : fail:
12494 :
12495 :
12496 0 : SWIG_croak_null();
12497 : }
12498 : }
12499 :
12500 :
12501 0 : XS(_wrap_labelObj_outlinewidth_get) {
12502 : {
12503 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12504 0 : void *argp1 = 0 ;
12505 : int res1 = 0 ;
12506 : int argvi = 0;
12507 : int result;
12508 0 : dXSARGS;
12509 :
12510 0 : if ((items < 1) || (items > 1)) {
12511 0 : SWIG_croak("Usage: labelObj_outlinewidth_get(self);");
12512 : }
12513 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12514 0 : if (!SWIG_IsOK(res1)) {
12515 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_get" "', argument " "1"" of type '" "struct labelObj *""'");
12516 : }
12517 0 : arg1 = (struct labelObj *)(argp1);
12518 0 : result = (int) ((arg1)->outlinewidth);
12519 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12520 :
12521 0 : XSRETURN(argvi);
12522 : fail:
12523 :
12524 0 : SWIG_croak_null();
12525 : }
12526 : }
12527 :
12528 :
12529 0 : XS(_wrap_labelObj_shadowcolor_set) {
12530 : {
12531 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12532 : colorObj *arg2 = (colorObj *) 0 ;
12533 0 : void *argp1 = 0 ;
12534 : int res1 = 0 ;
12535 0 : void *argp2 = 0 ;
12536 : int res2 = 0 ;
12537 : int argvi = 0;
12538 0 : dXSARGS;
12539 :
12540 0 : if ((items < 2) || (items > 2)) {
12541 0 : SWIG_croak("Usage: labelObj_shadowcolor_set(self,shadowcolor);");
12542 : }
12543 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12544 0 : if (!SWIG_IsOK(res1)) {
12545 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_set" "', argument " "1"" of type '" "struct labelObj *""'");
12546 : }
12547 0 : arg1 = (struct labelObj *)(argp1);
12548 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12549 0 : if (!SWIG_IsOK(res2)) {
12550 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_shadowcolor_set" "', argument " "2"" of type '" "colorObj *""'");
12551 : }
12552 0 : arg2 = (colorObj *)(argp2);
12553 0 : if (arg1) (arg1)->shadowcolor = *arg2;
12554 0 : ST(argvi) = sv_newmortal();
12555 :
12556 :
12557 0 : XSRETURN(argvi);
12558 : fail:
12559 :
12560 :
12561 0 : SWIG_croak_null();
12562 : }
12563 : }
12564 :
12565 :
12566 0 : XS(_wrap_labelObj_shadowcolor_get) {
12567 : {
12568 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12569 0 : void *argp1 = 0 ;
12570 : int res1 = 0 ;
12571 : int argvi = 0;
12572 : colorObj *result = 0 ;
12573 0 : dXSARGS;
12574 :
12575 0 : if ((items < 1) || (items > 1)) {
12576 0 : SWIG_croak("Usage: labelObj_shadowcolor_get(self);");
12577 : }
12578 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12579 0 : if (!SWIG_IsOK(res1)) {
12580 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_get" "', argument " "1"" of type '" "struct labelObj *""'");
12581 : }
12582 0 : arg1 = (struct labelObj *)(argp1);
12583 0 : result = (colorObj *)& ((arg1)->shadowcolor);
12584 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12585 :
12586 0 : XSRETURN(argvi);
12587 : fail:
12588 :
12589 0 : SWIG_croak_null();
12590 : }
12591 : }
12592 :
12593 :
12594 0 : XS(_wrap_labelObj_shadowsizex_set) {
12595 : {
12596 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12597 : int arg2 ;
12598 0 : void *argp1 = 0 ;
12599 : int res1 = 0 ;
12600 : int val2 ;
12601 : int ecode2 = 0 ;
12602 : int argvi = 0;
12603 0 : dXSARGS;
12604 :
12605 0 : if ((items < 2) || (items > 2)) {
12606 0 : SWIG_croak("Usage: labelObj_shadowsizex_set(self,shadowsizex);");
12607 : }
12608 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12609 0 : if (!SWIG_IsOK(res1)) {
12610 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_set" "', argument " "1"" of type '" "struct labelObj *""'");
12611 : }
12612 0 : arg1 = (struct labelObj *)(argp1);
12613 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12614 0 : if (!SWIG_IsOK(ecode2)) {
12615 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizex_set" "', argument " "2"" of type '" "int""'");
12616 : }
12617 0 : arg2 = (int)(val2);
12618 0 : if (arg1) (arg1)->shadowsizex = arg2;
12619 0 : ST(argvi) = sv_newmortal();
12620 :
12621 :
12622 0 : XSRETURN(argvi);
12623 : fail:
12624 :
12625 :
12626 0 : SWIG_croak_null();
12627 : }
12628 : }
12629 :
12630 :
12631 0 : XS(_wrap_labelObj_shadowsizex_get) {
12632 : {
12633 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12634 0 : void *argp1 = 0 ;
12635 : int res1 = 0 ;
12636 : int argvi = 0;
12637 : int result;
12638 0 : dXSARGS;
12639 :
12640 0 : if ((items < 1) || (items > 1)) {
12641 0 : SWIG_croak("Usage: labelObj_shadowsizex_get(self);");
12642 : }
12643 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12644 0 : if (!SWIG_IsOK(res1)) {
12645 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_get" "', argument " "1"" of type '" "struct labelObj *""'");
12646 : }
12647 0 : arg1 = (struct labelObj *)(argp1);
12648 0 : result = (int) ((arg1)->shadowsizex);
12649 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12650 :
12651 0 : XSRETURN(argvi);
12652 : fail:
12653 :
12654 0 : SWIG_croak_null();
12655 : }
12656 : }
12657 :
12658 :
12659 0 : XS(_wrap_labelObj_shadowsizey_set) {
12660 : {
12661 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12662 : int arg2 ;
12663 0 : void *argp1 = 0 ;
12664 : int res1 = 0 ;
12665 : int val2 ;
12666 : int ecode2 = 0 ;
12667 : int argvi = 0;
12668 0 : dXSARGS;
12669 :
12670 0 : if ((items < 2) || (items > 2)) {
12671 0 : SWIG_croak("Usage: labelObj_shadowsizey_set(self,shadowsizey);");
12672 : }
12673 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12674 0 : if (!SWIG_IsOK(res1)) {
12675 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_set" "', argument " "1"" of type '" "struct labelObj *""'");
12676 : }
12677 0 : arg1 = (struct labelObj *)(argp1);
12678 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12679 0 : if (!SWIG_IsOK(ecode2)) {
12680 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizey_set" "', argument " "2"" of type '" "int""'");
12681 : }
12682 0 : arg2 = (int)(val2);
12683 0 : if (arg1) (arg1)->shadowsizey = arg2;
12684 0 : ST(argvi) = sv_newmortal();
12685 :
12686 :
12687 0 : XSRETURN(argvi);
12688 : fail:
12689 :
12690 :
12691 0 : SWIG_croak_null();
12692 : }
12693 : }
12694 :
12695 :
12696 0 : XS(_wrap_labelObj_shadowsizey_get) {
12697 : {
12698 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12699 0 : void *argp1 = 0 ;
12700 : int res1 = 0 ;
12701 : int argvi = 0;
12702 : int result;
12703 0 : dXSARGS;
12704 :
12705 0 : if ((items < 1) || (items > 1)) {
12706 0 : SWIG_croak("Usage: labelObj_shadowsizey_get(self);");
12707 : }
12708 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12709 0 : if (!SWIG_IsOK(res1)) {
12710 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_get" "', argument " "1"" of type '" "struct labelObj *""'");
12711 : }
12712 0 : arg1 = (struct labelObj *)(argp1);
12713 0 : result = (int) ((arg1)->shadowsizey);
12714 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12715 :
12716 0 : XSRETURN(argvi);
12717 : fail:
12718 :
12719 0 : SWIG_croak_null();
12720 : }
12721 : }
12722 :
12723 :
12724 0 : XS(_wrap_labelObj_size_set) {
12725 : {
12726 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12727 : int arg2 ;
12728 0 : void *argp1 = 0 ;
12729 : int res1 = 0 ;
12730 : int val2 ;
12731 : int ecode2 = 0 ;
12732 : int argvi = 0;
12733 0 : dXSARGS;
12734 :
12735 0 : if ((items < 2) || (items > 2)) {
12736 0 : SWIG_croak("Usage: labelObj_size_set(self,size);");
12737 : }
12738 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12739 0 : if (!SWIG_IsOK(res1)) {
12740 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_set" "', argument " "1"" of type '" "struct labelObj *""'");
12741 : }
12742 0 : arg1 = (struct labelObj *)(argp1);
12743 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12744 0 : if (!SWIG_IsOK(ecode2)) {
12745 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_size_set" "', argument " "2"" of type '" "int""'");
12746 : }
12747 0 : arg2 = (int)(val2);
12748 0 : if (arg1) (arg1)->size = arg2;
12749 0 : ST(argvi) = sv_newmortal();
12750 :
12751 :
12752 0 : XSRETURN(argvi);
12753 : fail:
12754 :
12755 :
12756 0 : SWIG_croak_null();
12757 : }
12758 : }
12759 :
12760 :
12761 0 : XS(_wrap_labelObj_size_get) {
12762 : {
12763 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12764 0 : void *argp1 = 0 ;
12765 : int res1 = 0 ;
12766 : int argvi = 0;
12767 : int result;
12768 0 : dXSARGS;
12769 :
12770 0 : if ((items < 1) || (items > 1)) {
12771 0 : SWIG_croak("Usage: labelObj_size_get(self);");
12772 : }
12773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12774 0 : if (!SWIG_IsOK(res1)) {
12775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_get" "', argument " "1"" of type '" "struct labelObj *""'");
12776 : }
12777 0 : arg1 = (struct labelObj *)(argp1);
12778 0 : result = (int) ((arg1)->size);
12779 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12780 :
12781 0 : XSRETURN(argvi);
12782 : fail:
12783 :
12784 0 : SWIG_croak_null();
12785 : }
12786 : }
12787 :
12788 :
12789 0 : XS(_wrap_labelObj_minsize_set) {
12790 : {
12791 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12792 : int arg2 ;
12793 0 : void *argp1 = 0 ;
12794 : int res1 = 0 ;
12795 : int val2 ;
12796 : int ecode2 = 0 ;
12797 : int argvi = 0;
12798 0 : dXSARGS;
12799 :
12800 0 : if ((items < 2) || (items > 2)) {
12801 0 : SWIG_croak("Usage: labelObj_minsize_set(self,minsize);");
12802 : }
12803 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12804 0 : if (!SWIG_IsOK(res1)) {
12805 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_set" "', argument " "1"" of type '" "struct labelObj *""'");
12806 : }
12807 0 : arg1 = (struct labelObj *)(argp1);
12808 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12809 0 : if (!SWIG_IsOK(ecode2)) {
12810 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minsize_set" "', argument " "2"" of type '" "int""'");
12811 : }
12812 0 : arg2 = (int)(val2);
12813 0 : if (arg1) (arg1)->minsize = arg2;
12814 0 : ST(argvi) = sv_newmortal();
12815 :
12816 :
12817 0 : XSRETURN(argvi);
12818 : fail:
12819 :
12820 :
12821 0 : SWIG_croak_null();
12822 : }
12823 : }
12824 :
12825 :
12826 0 : XS(_wrap_labelObj_minsize_get) {
12827 : {
12828 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12829 0 : void *argp1 = 0 ;
12830 : int res1 = 0 ;
12831 : int argvi = 0;
12832 : int result;
12833 0 : dXSARGS;
12834 :
12835 0 : if ((items < 1) || (items > 1)) {
12836 0 : SWIG_croak("Usage: labelObj_minsize_get(self);");
12837 : }
12838 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12839 0 : if (!SWIG_IsOK(res1)) {
12840 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_get" "', argument " "1"" of type '" "struct labelObj *""'");
12841 : }
12842 0 : arg1 = (struct labelObj *)(argp1);
12843 0 : result = (int) ((arg1)->minsize);
12844 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12845 :
12846 0 : XSRETURN(argvi);
12847 : fail:
12848 :
12849 0 : SWIG_croak_null();
12850 : }
12851 : }
12852 :
12853 :
12854 0 : XS(_wrap_labelObj_maxsize_set) {
12855 : {
12856 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12857 : int arg2 ;
12858 0 : void *argp1 = 0 ;
12859 : int res1 = 0 ;
12860 : int val2 ;
12861 : int ecode2 = 0 ;
12862 : int argvi = 0;
12863 0 : dXSARGS;
12864 :
12865 0 : if ((items < 2) || (items > 2)) {
12866 0 : SWIG_croak("Usage: labelObj_maxsize_set(self,maxsize);");
12867 : }
12868 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12869 0 : if (!SWIG_IsOK(res1)) {
12870 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_set" "', argument " "1"" of type '" "struct labelObj *""'");
12871 : }
12872 0 : arg1 = (struct labelObj *)(argp1);
12873 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12874 0 : if (!SWIG_IsOK(ecode2)) {
12875 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxsize_set" "', argument " "2"" of type '" "int""'");
12876 : }
12877 0 : arg2 = (int)(val2);
12878 0 : if (arg1) (arg1)->maxsize = arg2;
12879 0 : ST(argvi) = sv_newmortal();
12880 :
12881 :
12882 0 : XSRETURN(argvi);
12883 : fail:
12884 :
12885 :
12886 0 : SWIG_croak_null();
12887 : }
12888 : }
12889 :
12890 :
12891 0 : XS(_wrap_labelObj_maxsize_get) {
12892 : {
12893 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12894 0 : void *argp1 = 0 ;
12895 : int res1 = 0 ;
12896 : int argvi = 0;
12897 : int result;
12898 0 : dXSARGS;
12899 :
12900 0 : if ((items < 1) || (items > 1)) {
12901 0 : SWIG_croak("Usage: labelObj_maxsize_get(self);");
12902 : }
12903 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12904 0 : if (!SWIG_IsOK(res1)) {
12905 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_get" "', argument " "1"" of type '" "struct labelObj *""'");
12906 : }
12907 0 : arg1 = (struct labelObj *)(argp1);
12908 0 : result = (int) ((arg1)->maxsize);
12909 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12910 :
12911 0 : XSRETURN(argvi);
12912 : fail:
12913 :
12914 0 : SWIG_croak_null();
12915 : }
12916 : }
12917 :
12918 :
12919 0 : XS(_wrap_labelObj_position_set) {
12920 : {
12921 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12922 : int arg2 ;
12923 0 : void *argp1 = 0 ;
12924 : int res1 = 0 ;
12925 : int val2 ;
12926 : int ecode2 = 0 ;
12927 : int argvi = 0;
12928 0 : dXSARGS;
12929 :
12930 0 : if ((items < 2) || (items > 2)) {
12931 0 : SWIG_croak("Usage: labelObj_position_set(self,position);");
12932 : }
12933 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12934 0 : if (!SWIG_IsOK(res1)) {
12935 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_set" "', argument " "1"" of type '" "struct labelObj *""'");
12936 : }
12937 0 : arg1 = (struct labelObj *)(argp1);
12938 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12939 0 : if (!SWIG_IsOK(ecode2)) {
12940 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_position_set" "', argument " "2"" of type '" "int""'");
12941 : }
12942 0 : arg2 = (int)(val2);
12943 0 : if (arg1) (arg1)->position = arg2;
12944 0 : ST(argvi) = sv_newmortal();
12945 :
12946 :
12947 0 : XSRETURN(argvi);
12948 : fail:
12949 :
12950 :
12951 0 : SWIG_croak_null();
12952 : }
12953 : }
12954 :
12955 :
12956 0 : XS(_wrap_labelObj_position_get) {
12957 : {
12958 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12959 0 : void *argp1 = 0 ;
12960 : int res1 = 0 ;
12961 : int argvi = 0;
12962 : int result;
12963 0 : dXSARGS;
12964 :
12965 0 : if ((items < 1) || (items > 1)) {
12966 0 : SWIG_croak("Usage: labelObj_position_get(self);");
12967 : }
12968 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12969 0 : if (!SWIG_IsOK(res1)) {
12970 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_get" "', argument " "1"" of type '" "struct labelObj *""'");
12971 : }
12972 0 : arg1 = (struct labelObj *)(argp1);
12973 0 : result = (int) ((arg1)->position);
12974 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12975 :
12976 0 : XSRETURN(argvi);
12977 : fail:
12978 :
12979 0 : SWIG_croak_null();
12980 : }
12981 : }
12982 :
12983 :
12984 0 : XS(_wrap_labelObj_offsetx_set) {
12985 : {
12986 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12987 : int arg2 ;
12988 0 : void *argp1 = 0 ;
12989 : int res1 = 0 ;
12990 : int val2 ;
12991 : int ecode2 = 0 ;
12992 : int argvi = 0;
12993 0 : dXSARGS;
12994 :
12995 0 : if ((items < 2) || (items > 2)) {
12996 0 : SWIG_croak("Usage: labelObj_offsetx_set(self,offsetx);");
12997 : }
12998 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12999 0 : if (!SWIG_IsOK(res1)) {
13000 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_set" "', argument " "1"" of type '" "struct labelObj *""'");
13001 : }
13002 0 : arg1 = (struct labelObj *)(argp1);
13003 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13004 0 : if (!SWIG_IsOK(ecode2)) {
13005 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsetx_set" "', argument " "2"" of type '" "int""'");
13006 : }
13007 0 : arg2 = (int)(val2);
13008 0 : if (arg1) (arg1)->offsetx = arg2;
13009 0 : ST(argvi) = sv_newmortal();
13010 :
13011 :
13012 0 : XSRETURN(argvi);
13013 : fail:
13014 :
13015 :
13016 0 : SWIG_croak_null();
13017 : }
13018 : }
13019 :
13020 :
13021 0 : XS(_wrap_labelObj_offsetx_get) {
13022 : {
13023 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13024 0 : void *argp1 = 0 ;
13025 : int res1 = 0 ;
13026 : int argvi = 0;
13027 : int result;
13028 0 : dXSARGS;
13029 :
13030 0 : if ((items < 1) || (items > 1)) {
13031 0 : SWIG_croak("Usage: labelObj_offsetx_get(self);");
13032 : }
13033 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13034 0 : if (!SWIG_IsOK(res1)) {
13035 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_get" "', argument " "1"" of type '" "struct labelObj *""'");
13036 : }
13037 0 : arg1 = (struct labelObj *)(argp1);
13038 0 : result = (int) ((arg1)->offsetx);
13039 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13040 :
13041 0 : XSRETURN(argvi);
13042 : fail:
13043 :
13044 0 : SWIG_croak_null();
13045 : }
13046 : }
13047 :
13048 :
13049 0 : XS(_wrap_labelObj_offsety_set) {
13050 : {
13051 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13052 : int arg2 ;
13053 0 : void *argp1 = 0 ;
13054 : int res1 = 0 ;
13055 : int val2 ;
13056 : int ecode2 = 0 ;
13057 : int argvi = 0;
13058 0 : dXSARGS;
13059 :
13060 0 : if ((items < 2) || (items > 2)) {
13061 0 : SWIG_croak("Usage: labelObj_offsety_set(self,offsety);");
13062 : }
13063 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13064 0 : if (!SWIG_IsOK(res1)) {
13065 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_set" "', argument " "1"" of type '" "struct labelObj *""'");
13066 : }
13067 0 : arg1 = (struct labelObj *)(argp1);
13068 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13069 0 : if (!SWIG_IsOK(ecode2)) {
13070 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsety_set" "', argument " "2"" of type '" "int""'");
13071 : }
13072 0 : arg2 = (int)(val2);
13073 0 : if (arg1) (arg1)->offsety = arg2;
13074 0 : ST(argvi) = sv_newmortal();
13075 :
13076 :
13077 0 : XSRETURN(argvi);
13078 : fail:
13079 :
13080 :
13081 0 : SWIG_croak_null();
13082 : }
13083 : }
13084 :
13085 :
13086 0 : XS(_wrap_labelObj_offsety_get) {
13087 : {
13088 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13089 0 : void *argp1 = 0 ;
13090 : int res1 = 0 ;
13091 : int argvi = 0;
13092 : int result;
13093 0 : dXSARGS;
13094 :
13095 0 : if ((items < 1) || (items > 1)) {
13096 0 : SWIG_croak("Usage: labelObj_offsety_get(self);");
13097 : }
13098 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13099 0 : if (!SWIG_IsOK(res1)) {
13100 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_get" "', argument " "1"" of type '" "struct labelObj *""'");
13101 : }
13102 0 : arg1 = (struct labelObj *)(argp1);
13103 0 : result = (int) ((arg1)->offsety);
13104 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13105 :
13106 0 : XSRETURN(argvi);
13107 : fail:
13108 :
13109 0 : SWIG_croak_null();
13110 : }
13111 : }
13112 :
13113 :
13114 0 : XS(_wrap_labelObj_angle_set) {
13115 : {
13116 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13117 : double arg2 ;
13118 0 : void *argp1 = 0 ;
13119 : int res1 = 0 ;
13120 : double val2 ;
13121 : int ecode2 = 0 ;
13122 : int argvi = 0;
13123 0 : dXSARGS;
13124 :
13125 0 : if ((items < 2) || (items > 2)) {
13126 0 : SWIG_croak("Usage: labelObj_angle_set(self,angle);");
13127 : }
13128 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13129 0 : if (!SWIG_IsOK(res1)) {
13130 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_set" "', argument " "1"" of type '" "struct labelObj *""'");
13131 : }
13132 0 : arg1 = (struct labelObj *)(argp1);
13133 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13134 0 : if (!SWIG_IsOK(ecode2)) {
13135 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_angle_set" "', argument " "2"" of type '" "double""'");
13136 : }
13137 0 : arg2 = (double)(val2);
13138 0 : if (arg1) (arg1)->angle = arg2;
13139 0 : ST(argvi) = sv_newmortal();
13140 :
13141 :
13142 0 : XSRETURN(argvi);
13143 : fail:
13144 :
13145 :
13146 0 : SWIG_croak_null();
13147 : }
13148 : }
13149 :
13150 :
13151 0 : XS(_wrap_labelObj_angle_get) {
13152 : {
13153 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13154 0 : void *argp1 = 0 ;
13155 : int res1 = 0 ;
13156 : int argvi = 0;
13157 : double result;
13158 0 : dXSARGS;
13159 :
13160 0 : if ((items < 1) || (items > 1)) {
13161 0 : SWIG_croak("Usage: labelObj_angle_get(self);");
13162 : }
13163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13164 0 : if (!SWIG_IsOK(res1)) {
13165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_get" "', argument " "1"" of type '" "struct labelObj *""'");
13166 : }
13167 0 : arg1 = (struct labelObj *)(argp1);
13168 0 : result = (double) ((arg1)->angle);
13169 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13170 :
13171 0 : XSRETURN(argvi);
13172 : fail:
13173 :
13174 0 : SWIG_croak_null();
13175 : }
13176 : }
13177 :
13178 :
13179 0 : XS(_wrap_labelObj_anglemode_set) {
13180 : {
13181 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13182 : enum MS_POSITIONS_ENUM arg2 ;
13183 0 : void *argp1 = 0 ;
13184 : int res1 = 0 ;
13185 : int val2 ;
13186 : int ecode2 = 0 ;
13187 : int argvi = 0;
13188 0 : dXSARGS;
13189 :
13190 0 : if ((items < 2) || (items > 2)) {
13191 0 : SWIG_croak("Usage: labelObj_anglemode_set(self,anglemode);");
13192 : }
13193 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13194 0 : if (!SWIG_IsOK(res1)) {
13195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_set" "', argument " "1"" of type '" "struct labelObj *""'");
13196 : }
13197 0 : arg1 = (struct labelObj *)(argp1);
13198 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13199 0 : if (!SWIG_IsOK(ecode2)) {
13200 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_anglemode_set" "', argument " "2"" of type '" "enum MS_POSITIONS_ENUM""'");
13201 : }
13202 0 : arg2 = (enum MS_POSITIONS_ENUM)(val2);
13203 0 : if (arg1) (arg1)->anglemode = arg2;
13204 0 : ST(argvi) = sv_newmortal();
13205 :
13206 :
13207 0 : XSRETURN(argvi);
13208 : fail:
13209 :
13210 :
13211 0 : SWIG_croak_null();
13212 : }
13213 : }
13214 :
13215 :
13216 0 : XS(_wrap_labelObj_anglemode_get) {
13217 : {
13218 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13219 0 : void *argp1 = 0 ;
13220 : int res1 = 0 ;
13221 : int argvi = 0;
13222 : enum MS_POSITIONS_ENUM result;
13223 0 : dXSARGS;
13224 :
13225 0 : if ((items < 1) || (items > 1)) {
13226 0 : SWIG_croak("Usage: labelObj_anglemode_get(self);");
13227 : }
13228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13229 0 : if (!SWIG_IsOK(res1)) {
13230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_get" "', argument " "1"" of type '" "struct labelObj *""'");
13231 : }
13232 0 : arg1 = (struct labelObj *)(argp1);
13233 0 : result = (enum MS_POSITIONS_ENUM) ((arg1)->anglemode);
13234 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13235 :
13236 0 : XSRETURN(argvi);
13237 : fail:
13238 :
13239 0 : SWIG_croak_null();
13240 : }
13241 : }
13242 :
13243 :
13244 0 : XS(_wrap_labelObj_buffer_set) {
13245 : {
13246 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13247 : int arg2 ;
13248 0 : void *argp1 = 0 ;
13249 : int res1 = 0 ;
13250 : int val2 ;
13251 : int ecode2 = 0 ;
13252 : int argvi = 0;
13253 0 : dXSARGS;
13254 :
13255 0 : if ((items < 2) || (items > 2)) {
13256 0 : SWIG_croak("Usage: labelObj_buffer_set(self,buffer);");
13257 : }
13258 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13259 0 : if (!SWIG_IsOK(res1)) {
13260 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_set" "', argument " "1"" of type '" "struct labelObj *""'");
13261 : }
13262 0 : arg1 = (struct labelObj *)(argp1);
13263 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13264 0 : if (!SWIG_IsOK(ecode2)) {
13265 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_buffer_set" "', argument " "2"" of type '" "int""'");
13266 : }
13267 0 : arg2 = (int)(val2);
13268 0 : if (arg1) (arg1)->buffer = arg2;
13269 0 : ST(argvi) = sv_newmortal();
13270 :
13271 :
13272 0 : XSRETURN(argvi);
13273 : fail:
13274 :
13275 :
13276 0 : SWIG_croak_null();
13277 : }
13278 : }
13279 :
13280 :
13281 0 : XS(_wrap_labelObj_buffer_get) {
13282 : {
13283 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13284 0 : void *argp1 = 0 ;
13285 : int res1 = 0 ;
13286 : int argvi = 0;
13287 : int result;
13288 0 : dXSARGS;
13289 :
13290 0 : if ((items < 1) || (items > 1)) {
13291 0 : SWIG_croak("Usage: labelObj_buffer_get(self);");
13292 : }
13293 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13294 0 : if (!SWIG_IsOK(res1)) {
13295 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_get" "', argument " "1"" of type '" "struct labelObj *""'");
13296 : }
13297 0 : arg1 = (struct labelObj *)(argp1);
13298 0 : result = (int) ((arg1)->buffer);
13299 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13300 :
13301 0 : XSRETURN(argvi);
13302 : fail:
13303 :
13304 0 : SWIG_croak_null();
13305 : }
13306 : }
13307 :
13308 :
13309 0 : XS(_wrap_labelObj_align_set) {
13310 : {
13311 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13312 : int arg2 ;
13313 0 : void *argp1 = 0 ;
13314 : int res1 = 0 ;
13315 : int val2 ;
13316 : int ecode2 = 0 ;
13317 : int argvi = 0;
13318 0 : dXSARGS;
13319 :
13320 0 : if ((items < 2) || (items > 2)) {
13321 0 : SWIG_croak("Usage: labelObj_align_set(self,align);");
13322 : }
13323 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13324 0 : if (!SWIG_IsOK(res1)) {
13325 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_set" "', argument " "1"" of type '" "struct labelObj *""'");
13326 : }
13327 0 : arg1 = (struct labelObj *)(argp1);
13328 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13329 0 : if (!SWIG_IsOK(ecode2)) {
13330 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_align_set" "', argument " "2"" of type '" "int""'");
13331 : }
13332 0 : arg2 = (int)(val2);
13333 0 : if (arg1) (arg1)->align = arg2;
13334 0 : ST(argvi) = sv_newmortal();
13335 :
13336 :
13337 0 : XSRETURN(argvi);
13338 : fail:
13339 :
13340 :
13341 0 : SWIG_croak_null();
13342 : }
13343 : }
13344 :
13345 :
13346 0 : XS(_wrap_labelObj_align_get) {
13347 : {
13348 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13349 0 : void *argp1 = 0 ;
13350 : int res1 = 0 ;
13351 : int argvi = 0;
13352 : int result;
13353 0 : dXSARGS;
13354 :
13355 0 : if ((items < 1) || (items > 1)) {
13356 0 : SWIG_croak("Usage: labelObj_align_get(self);");
13357 : }
13358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13359 0 : if (!SWIG_IsOK(res1)) {
13360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_get" "', argument " "1"" of type '" "struct labelObj *""'");
13361 : }
13362 0 : arg1 = (struct labelObj *)(argp1);
13363 0 : result = (int) ((arg1)->align);
13364 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13365 :
13366 0 : XSRETURN(argvi);
13367 : fail:
13368 :
13369 0 : SWIG_croak_null();
13370 : }
13371 : }
13372 :
13373 :
13374 0 : XS(_wrap_labelObj_wrap_set) {
13375 : {
13376 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13377 : char arg2 ;
13378 0 : void *argp1 = 0 ;
13379 : int res1 = 0 ;
13380 : char val2 ;
13381 : int ecode2 = 0 ;
13382 : int argvi = 0;
13383 0 : dXSARGS;
13384 :
13385 0 : if ((items < 2) || (items > 2)) {
13386 0 : SWIG_croak("Usage: labelObj_wrap_set(self,wrap);");
13387 : }
13388 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13389 0 : if (!SWIG_IsOK(res1)) {
13390 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_set" "', argument " "1"" of type '" "struct labelObj *""'");
13391 : }
13392 0 : arg1 = (struct labelObj *)(argp1);
13393 0 : ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13394 0 : if (!SWIG_IsOK(ecode2)) {
13395 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_wrap_set" "', argument " "2"" of type '" "char""'");
13396 : }
13397 0 : arg2 = (char)(val2);
13398 0 : if (arg1) (arg1)->wrap = arg2;
13399 0 : ST(argvi) = sv_newmortal();
13400 :
13401 :
13402 0 : XSRETURN(argvi);
13403 : fail:
13404 :
13405 :
13406 0 : SWIG_croak_null();
13407 : }
13408 : }
13409 :
13410 :
13411 0 : XS(_wrap_labelObj_wrap_get) {
13412 : {
13413 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13414 0 : void *argp1 = 0 ;
13415 : int res1 = 0 ;
13416 : int argvi = 0;
13417 : char result;
13418 0 : dXSARGS;
13419 :
13420 0 : if ((items < 1) || (items > 1)) {
13421 0 : SWIG_croak("Usage: labelObj_wrap_get(self);");
13422 : }
13423 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13424 0 : if (!SWIG_IsOK(res1)) {
13425 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_get" "', argument " "1"" of type '" "struct labelObj *""'");
13426 : }
13427 0 : arg1 = (struct labelObj *)(argp1);
13428 0 : result = (char) ((arg1)->wrap);
13429 0 : ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
13430 :
13431 0 : XSRETURN(argvi);
13432 : fail:
13433 :
13434 0 : SWIG_croak_null();
13435 : }
13436 : }
13437 :
13438 :
13439 0 : XS(_wrap_labelObj_maxlength_set) {
13440 : {
13441 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13442 : int arg2 ;
13443 0 : void *argp1 = 0 ;
13444 : int res1 = 0 ;
13445 : int val2 ;
13446 : int ecode2 = 0 ;
13447 : int argvi = 0;
13448 0 : dXSARGS;
13449 :
13450 0 : if ((items < 2) || (items > 2)) {
13451 0 : SWIG_croak("Usage: labelObj_maxlength_set(self,maxlength);");
13452 : }
13453 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13454 0 : if (!SWIG_IsOK(res1)) {
13455 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_set" "', argument " "1"" of type '" "struct labelObj *""'");
13456 : }
13457 0 : arg1 = (struct labelObj *)(argp1);
13458 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13459 0 : if (!SWIG_IsOK(ecode2)) {
13460 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxlength_set" "', argument " "2"" of type '" "int""'");
13461 : }
13462 0 : arg2 = (int)(val2);
13463 0 : if (arg1) (arg1)->maxlength = arg2;
13464 0 : ST(argvi) = sv_newmortal();
13465 :
13466 :
13467 0 : XSRETURN(argvi);
13468 : fail:
13469 :
13470 :
13471 0 : SWIG_croak_null();
13472 : }
13473 : }
13474 :
13475 :
13476 0 : XS(_wrap_labelObj_maxlength_get) {
13477 : {
13478 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13479 0 : void *argp1 = 0 ;
13480 : int res1 = 0 ;
13481 : int argvi = 0;
13482 : int result;
13483 0 : dXSARGS;
13484 :
13485 0 : if ((items < 1) || (items > 1)) {
13486 0 : SWIG_croak("Usage: labelObj_maxlength_get(self);");
13487 : }
13488 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13489 0 : if (!SWIG_IsOK(res1)) {
13490 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_get" "', argument " "1"" of type '" "struct labelObj *""'");
13491 : }
13492 0 : arg1 = (struct labelObj *)(argp1);
13493 0 : result = (int) ((arg1)->maxlength);
13494 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13495 :
13496 0 : XSRETURN(argvi);
13497 : fail:
13498 :
13499 0 : SWIG_croak_null();
13500 : }
13501 : }
13502 :
13503 :
13504 0 : XS(_wrap_labelObj_minlength_set) {
13505 : {
13506 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13507 : int arg2 ;
13508 0 : void *argp1 = 0 ;
13509 : int res1 = 0 ;
13510 : int val2 ;
13511 : int ecode2 = 0 ;
13512 : int argvi = 0;
13513 0 : dXSARGS;
13514 :
13515 0 : if ((items < 2) || (items > 2)) {
13516 0 : SWIG_croak("Usage: labelObj_minlength_set(self,minlength);");
13517 : }
13518 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13519 0 : if (!SWIG_IsOK(res1)) {
13520 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_set" "', argument " "1"" of type '" "struct labelObj *""'");
13521 : }
13522 0 : arg1 = (struct labelObj *)(argp1);
13523 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13524 0 : if (!SWIG_IsOK(ecode2)) {
13525 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minlength_set" "', argument " "2"" of type '" "int""'");
13526 : }
13527 0 : arg2 = (int)(val2);
13528 0 : if (arg1) (arg1)->minlength = arg2;
13529 0 : ST(argvi) = sv_newmortal();
13530 :
13531 :
13532 0 : XSRETURN(argvi);
13533 : fail:
13534 :
13535 :
13536 0 : SWIG_croak_null();
13537 : }
13538 : }
13539 :
13540 :
13541 0 : XS(_wrap_labelObj_minlength_get) {
13542 : {
13543 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13544 0 : void *argp1 = 0 ;
13545 : int res1 = 0 ;
13546 : int argvi = 0;
13547 : int result;
13548 0 : dXSARGS;
13549 :
13550 0 : if ((items < 1) || (items > 1)) {
13551 0 : SWIG_croak("Usage: labelObj_minlength_get(self);");
13552 : }
13553 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13554 0 : if (!SWIG_IsOK(res1)) {
13555 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_get" "', argument " "1"" of type '" "struct labelObj *""'");
13556 : }
13557 0 : arg1 = (struct labelObj *)(argp1);
13558 0 : result = (int) ((arg1)->minlength);
13559 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13560 :
13561 0 : XSRETURN(argvi);
13562 : fail:
13563 :
13564 0 : SWIG_croak_null();
13565 : }
13566 : }
13567 :
13568 :
13569 0 : XS(_wrap_labelObj_space_size_10_set) {
13570 : {
13571 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13572 : double arg2 ;
13573 0 : void *argp1 = 0 ;
13574 : int res1 = 0 ;
13575 : double val2 ;
13576 : int ecode2 = 0 ;
13577 : int argvi = 0;
13578 0 : dXSARGS;
13579 :
13580 0 : if ((items < 2) || (items > 2)) {
13581 0 : SWIG_croak("Usage: labelObj_space_size_10_set(self,space_size_10);");
13582 : }
13583 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13584 0 : if (!SWIG_IsOK(res1)) {
13585 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_set" "', argument " "1"" of type '" "struct labelObj *""'");
13586 : }
13587 0 : arg1 = (struct labelObj *)(argp1);
13588 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13589 0 : if (!SWIG_IsOK(ecode2)) {
13590 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_space_size_10_set" "', argument " "2"" of type '" "double""'");
13591 : }
13592 0 : arg2 = (double)(val2);
13593 0 : if (arg1) (arg1)->space_size_10 = arg2;
13594 0 : ST(argvi) = sv_newmortal();
13595 :
13596 :
13597 0 : XSRETURN(argvi);
13598 : fail:
13599 :
13600 :
13601 0 : SWIG_croak_null();
13602 : }
13603 : }
13604 :
13605 :
13606 0 : XS(_wrap_labelObj_space_size_10_get) {
13607 : {
13608 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13609 0 : void *argp1 = 0 ;
13610 : int res1 = 0 ;
13611 : int argvi = 0;
13612 : double result;
13613 0 : dXSARGS;
13614 :
13615 0 : if ((items < 1) || (items > 1)) {
13616 0 : SWIG_croak("Usage: labelObj_space_size_10_get(self);");
13617 : }
13618 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13619 0 : if (!SWIG_IsOK(res1)) {
13620 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_get" "', argument " "1"" of type '" "struct labelObj *""'");
13621 : }
13622 0 : arg1 = (struct labelObj *)(argp1);
13623 0 : result = (double) ((arg1)->space_size_10);
13624 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13625 :
13626 0 : XSRETURN(argvi);
13627 : fail:
13628 :
13629 0 : SWIG_croak_null();
13630 : }
13631 : }
13632 :
13633 :
13634 0 : XS(_wrap_labelObj_minfeaturesize_set) {
13635 : {
13636 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13637 : int arg2 ;
13638 0 : void *argp1 = 0 ;
13639 : int res1 = 0 ;
13640 : int val2 ;
13641 : int ecode2 = 0 ;
13642 : int argvi = 0;
13643 0 : dXSARGS;
13644 :
13645 0 : if ((items < 2) || (items > 2)) {
13646 0 : SWIG_croak("Usage: labelObj_minfeaturesize_set(self,minfeaturesize);");
13647 : }
13648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13649 0 : if (!SWIG_IsOK(res1)) {
13650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'");
13651 : }
13652 0 : arg1 = (struct labelObj *)(argp1);
13653 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13654 0 : if (!SWIG_IsOK(ecode2)) {
13655 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
13656 : }
13657 0 : arg2 = (int)(val2);
13658 0 : if (arg1) (arg1)->minfeaturesize = arg2;
13659 0 : ST(argvi) = sv_newmortal();
13660 :
13661 :
13662 0 : XSRETURN(argvi);
13663 : fail:
13664 :
13665 :
13666 0 : SWIG_croak_null();
13667 : }
13668 : }
13669 :
13670 :
13671 0 : XS(_wrap_labelObj_minfeaturesize_get) {
13672 : {
13673 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13674 0 : void *argp1 = 0 ;
13675 : int res1 = 0 ;
13676 : int argvi = 0;
13677 : int result;
13678 0 : dXSARGS;
13679 :
13680 0 : if ((items < 1) || (items > 1)) {
13681 0 : SWIG_croak("Usage: labelObj_minfeaturesize_get(self);");
13682 : }
13683 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13684 0 : if (!SWIG_IsOK(res1)) {
13685 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'");
13686 : }
13687 0 : arg1 = (struct labelObj *)(argp1);
13688 0 : result = (int) ((arg1)->minfeaturesize);
13689 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13690 :
13691 0 : XSRETURN(argvi);
13692 : fail:
13693 :
13694 0 : SWIG_croak_null();
13695 : }
13696 : }
13697 :
13698 :
13699 0 : XS(_wrap_labelObj_autominfeaturesize_set) {
13700 : {
13701 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13702 : int arg2 ;
13703 0 : void *argp1 = 0 ;
13704 : int res1 = 0 ;
13705 : int val2 ;
13706 : int ecode2 = 0 ;
13707 : int argvi = 0;
13708 0 : dXSARGS;
13709 :
13710 0 : if ((items < 2) || (items > 2)) {
13711 0 : SWIG_croak("Usage: labelObj_autominfeaturesize_set(self,autominfeaturesize);");
13712 : }
13713 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13714 0 : if (!SWIG_IsOK(res1)) {
13715 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'");
13716 : }
13717 0 : arg1 = (struct labelObj *)(argp1);
13718 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13719 0 : if (!SWIG_IsOK(ecode2)) {
13720 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_autominfeaturesize_set" "', argument " "2"" of type '" "int""'");
13721 : }
13722 0 : arg2 = (int)(val2);
13723 0 : if (arg1) (arg1)->autominfeaturesize = arg2;
13724 0 : ST(argvi) = sv_newmortal();
13725 :
13726 :
13727 0 : XSRETURN(argvi);
13728 : fail:
13729 :
13730 :
13731 0 : SWIG_croak_null();
13732 : }
13733 : }
13734 :
13735 :
13736 0 : XS(_wrap_labelObj_autominfeaturesize_get) {
13737 : {
13738 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13739 0 : void *argp1 = 0 ;
13740 : int res1 = 0 ;
13741 : int argvi = 0;
13742 : int result;
13743 0 : dXSARGS;
13744 :
13745 0 : if ((items < 1) || (items > 1)) {
13746 0 : SWIG_croak("Usage: labelObj_autominfeaturesize_get(self);");
13747 : }
13748 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13749 0 : if (!SWIG_IsOK(res1)) {
13750 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'");
13751 : }
13752 0 : arg1 = (struct labelObj *)(argp1);
13753 0 : result = (int) ((arg1)->autominfeaturesize);
13754 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13755 :
13756 0 : XSRETURN(argvi);
13757 : fail:
13758 :
13759 0 : SWIG_croak_null();
13760 : }
13761 : }
13762 :
13763 :
13764 0 : XS(_wrap_labelObj_minscaledenom_set) {
13765 : {
13766 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13767 : double arg2 ;
13768 0 : void *argp1 = 0 ;
13769 : int res1 = 0 ;
13770 : double val2 ;
13771 : int ecode2 = 0 ;
13772 : int argvi = 0;
13773 0 : dXSARGS;
13774 :
13775 0 : if ((items < 2) || (items > 2)) {
13776 0 : SWIG_croak("Usage: labelObj_minscaledenom_set(self,minscaledenom);");
13777 : }
13778 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13779 0 : if (!SWIG_IsOK(res1)) {
13780 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'");
13781 : }
13782 0 : arg1 = (struct labelObj *)(argp1);
13783 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13784 0 : if (!SWIG_IsOK(ecode2)) {
13785 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
13786 : }
13787 0 : arg2 = (double)(val2);
13788 0 : if (arg1) (arg1)->minscaledenom = arg2;
13789 0 : ST(argvi) = sv_newmortal();
13790 :
13791 :
13792 0 : XSRETURN(argvi);
13793 : fail:
13794 :
13795 :
13796 0 : SWIG_croak_null();
13797 : }
13798 : }
13799 :
13800 :
13801 0 : XS(_wrap_labelObj_minscaledenom_get) {
13802 : {
13803 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13804 0 : void *argp1 = 0 ;
13805 : int res1 = 0 ;
13806 : int argvi = 0;
13807 : double result;
13808 0 : dXSARGS;
13809 :
13810 0 : if ((items < 1) || (items > 1)) {
13811 0 : SWIG_croak("Usage: labelObj_minscaledenom_get(self);");
13812 : }
13813 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13814 0 : if (!SWIG_IsOK(res1)) {
13815 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'");
13816 : }
13817 0 : arg1 = (struct labelObj *)(argp1);
13818 0 : result = (double) ((arg1)->minscaledenom);
13819 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13820 :
13821 0 : XSRETURN(argvi);
13822 : fail:
13823 :
13824 0 : SWIG_croak_null();
13825 : }
13826 : }
13827 :
13828 :
13829 0 : XS(_wrap_labelObj_maxscaledenom_set) {
13830 : {
13831 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13832 : double arg2 ;
13833 0 : void *argp1 = 0 ;
13834 : int res1 = 0 ;
13835 : double val2 ;
13836 : int ecode2 = 0 ;
13837 : int argvi = 0;
13838 0 : dXSARGS;
13839 :
13840 0 : if ((items < 2) || (items > 2)) {
13841 0 : SWIG_croak("Usage: labelObj_maxscaledenom_set(self,maxscaledenom);");
13842 : }
13843 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13844 0 : if (!SWIG_IsOK(res1)) {
13845 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'");
13846 : }
13847 0 : arg1 = (struct labelObj *)(argp1);
13848 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13849 0 : if (!SWIG_IsOK(ecode2)) {
13850 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
13851 : }
13852 0 : arg2 = (double)(val2);
13853 0 : if (arg1) (arg1)->maxscaledenom = arg2;
13854 0 : ST(argvi) = sv_newmortal();
13855 :
13856 :
13857 0 : XSRETURN(argvi);
13858 : fail:
13859 :
13860 :
13861 0 : SWIG_croak_null();
13862 : }
13863 : }
13864 :
13865 :
13866 0 : XS(_wrap_labelObj_maxscaledenom_get) {
13867 : {
13868 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13869 0 : void *argp1 = 0 ;
13870 : int res1 = 0 ;
13871 : int argvi = 0;
13872 : double result;
13873 0 : dXSARGS;
13874 :
13875 0 : if ((items < 1) || (items > 1)) {
13876 0 : SWIG_croak("Usage: labelObj_maxscaledenom_get(self);");
13877 : }
13878 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13879 0 : if (!SWIG_IsOK(res1)) {
13880 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'");
13881 : }
13882 0 : arg1 = (struct labelObj *)(argp1);
13883 0 : result = (double) ((arg1)->maxscaledenom);
13884 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13885 :
13886 0 : XSRETURN(argvi);
13887 : fail:
13888 :
13889 0 : SWIG_croak_null();
13890 : }
13891 : }
13892 :
13893 :
13894 0 : XS(_wrap_labelObj_mindistance_set) {
13895 : {
13896 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13897 : int arg2 ;
13898 0 : void *argp1 = 0 ;
13899 : int res1 = 0 ;
13900 : int val2 ;
13901 : int ecode2 = 0 ;
13902 : int argvi = 0;
13903 0 : dXSARGS;
13904 :
13905 0 : if ((items < 2) || (items > 2)) {
13906 0 : SWIG_croak("Usage: labelObj_mindistance_set(self,mindistance);");
13907 : }
13908 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13909 0 : if (!SWIG_IsOK(res1)) {
13910 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_set" "', argument " "1"" of type '" "struct labelObj *""'");
13911 : }
13912 0 : arg1 = (struct labelObj *)(argp1);
13913 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13914 0 : if (!SWIG_IsOK(ecode2)) {
13915 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_mindistance_set" "', argument " "2"" of type '" "int""'");
13916 : }
13917 0 : arg2 = (int)(val2);
13918 0 : if (arg1) (arg1)->mindistance = arg2;
13919 0 : ST(argvi) = sv_newmortal();
13920 :
13921 :
13922 0 : XSRETURN(argvi);
13923 : fail:
13924 :
13925 :
13926 0 : SWIG_croak_null();
13927 : }
13928 : }
13929 :
13930 :
13931 0 : XS(_wrap_labelObj_mindistance_get) {
13932 : {
13933 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13934 0 : void *argp1 = 0 ;
13935 : int res1 = 0 ;
13936 : int argvi = 0;
13937 : int result;
13938 0 : dXSARGS;
13939 :
13940 0 : if ((items < 1) || (items > 1)) {
13941 0 : SWIG_croak("Usage: labelObj_mindistance_get(self);");
13942 : }
13943 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13944 0 : if (!SWIG_IsOK(res1)) {
13945 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_get" "', argument " "1"" of type '" "struct labelObj *""'");
13946 : }
13947 0 : arg1 = (struct labelObj *)(argp1);
13948 0 : result = (int) ((arg1)->mindistance);
13949 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13950 :
13951 0 : XSRETURN(argvi);
13952 : fail:
13953 :
13954 0 : SWIG_croak_null();
13955 : }
13956 : }
13957 :
13958 :
13959 0 : XS(_wrap_labelObj_repeatdistance_set) {
13960 : {
13961 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13962 : int arg2 ;
13963 0 : void *argp1 = 0 ;
13964 : int res1 = 0 ;
13965 : int val2 ;
13966 : int ecode2 = 0 ;
13967 : int argvi = 0;
13968 0 : dXSARGS;
13969 :
13970 0 : if ((items < 2) || (items > 2)) {
13971 0 : SWIG_croak("Usage: labelObj_repeatdistance_set(self,repeatdistance);");
13972 : }
13973 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13974 0 : if (!SWIG_IsOK(res1)) {
13975 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_set" "', argument " "1"" of type '" "struct labelObj *""'");
13976 : }
13977 0 : arg1 = (struct labelObj *)(argp1);
13978 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13979 0 : if (!SWIG_IsOK(ecode2)) {
13980 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_repeatdistance_set" "', argument " "2"" of type '" "int""'");
13981 : }
13982 0 : arg2 = (int)(val2);
13983 0 : if (arg1) (arg1)->repeatdistance = arg2;
13984 0 : ST(argvi) = sv_newmortal();
13985 :
13986 :
13987 0 : XSRETURN(argvi);
13988 : fail:
13989 :
13990 :
13991 0 : SWIG_croak_null();
13992 : }
13993 : }
13994 :
13995 :
13996 0 : XS(_wrap_labelObj_repeatdistance_get) {
13997 : {
13998 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13999 0 : void *argp1 = 0 ;
14000 : int res1 = 0 ;
14001 : int argvi = 0;
14002 : int result;
14003 0 : dXSARGS;
14004 :
14005 0 : if ((items < 1) || (items > 1)) {
14006 0 : SWIG_croak("Usage: labelObj_repeatdistance_get(self);");
14007 : }
14008 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14009 0 : if (!SWIG_IsOK(res1)) {
14010 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_get" "', argument " "1"" of type '" "struct labelObj *""'");
14011 : }
14012 0 : arg1 = (struct labelObj *)(argp1);
14013 0 : result = (int) ((arg1)->repeatdistance);
14014 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14015 :
14016 0 : XSRETURN(argvi);
14017 : fail:
14018 :
14019 0 : SWIG_croak_null();
14020 : }
14021 : }
14022 :
14023 :
14024 0 : XS(_wrap_labelObj_maxoverlapangle_set) {
14025 : {
14026 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14027 : double arg2 ;
14028 0 : void *argp1 = 0 ;
14029 : int res1 = 0 ;
14030 : double val2 ;
14031 : int ecode2 = 0 ;
14032 : int argvi = 0;
14033 0 : dXSARGS;
14034 :
14035 0 : if ((items < 2) || (items > 2)) {
14036 0 : SWIG_croak("Usage: labelObj_maxoverlapangle_set(self,maxoverlapangle);");
14037 : }
14038 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14039 0 : if (!SWIG_IsOK(res1)) {
14040 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_set" "', argument " "1"" of type '" "struct labelObj *""'");
14041 : }
14042 0 : arg1 = (struct labelObj *)(argp1);
14043 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14044 0 : if (!SWIG_IsOK(ecode2)) {
14045 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxoverlapangle_set" "', argument " "2"" of type '" "double""'");
14046 : }
14047 0 : arg2 = (double)(val2);
14048 0 : if (arg1) (arg1)->maxoverlapangle = arg2;
14049 0 : ST(argvi) = sv_newmortal();
14050 :
14051 :
14052 0 : XSRETURN(argvi);
14053 : fail:
14054 :
14055 :
14056 0 : SWIG_croak_null();
14057 : }
14058 : }
14059 :
14060 :
14061 0 : XS(_wrap_labelObj_maxoverlapangle_get) {
14062 : {
14063 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14064 0 : void *argp1 = 0 ;
14065 : int res1 = 0 ;
14066 : int argvi = 0;
14067 : double result;
14068 0 : dXSARGS;
14069 :
14070 0 : if ((items < 1) || (items > 1)) {
14071 0 : SWIG_croak("Usage: labelObj_maxoverlapangle_get(self);");
14072 : }
14073 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14074 0 : if (!SWIG_IsOK(res1)) {
14075 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_get" "', argument " "1"" of type '" "struct labelObj *""'");
14076 : }
14077 0 : arg1 = (struct labelObj *)(argp1);
14078 0 : result = (double) ((arg1)->maxoverlapangle);
14079 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
14080 :
14081 0 : XSRETURN(argvi);
14082 : fail:
14083 :
14084 0 : SWIG_croak_null();
14085 : }
14086 : }
14087 :
14088 :
14089 0 : XS(_wrap_labelObj_partials_set) {
14090 : {
14091 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14092 : int arg2 ;
14093 0 : void *argp1 = 0 ;
14094 : int res1 = 0 ;
14095 : int val2 ;
14096 : int ecode2 = 0 ;
14097 : int argvi = 0;
14098 0 : dXSARGS;
14099 :
14100 0 : if ((items < 2) || (items > 2)) {
14101 0 : SWIG_croak("Usage: labelObj_partials_set(self,partials);");
14102 : }
14103 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14104 0 : if (!SWIG_IsOK(res1)) {
14105 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_set" "', argument " "1"" of type '" "struct labelObj *""'");
14106 : }
14107 0 : arg1 = (struct labelObj *)(argp1);
14108 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14109 0 : if (!SWIG_IsOK(ecode2)) {
14110 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_partials_set" "', argument " "2"" of type '" "int""'");
14111 : }
14112 0 : arg2 = (int)(val2);
14113 0 : if (arg1) (arg1)->partials = arg2;
14114 0 : ST(argvi) = sv_newmortal();
14115 :
14116 :
14117 0 : XSRETURN(argvi);
14118 : fail:
14119 :
14120 :
14121 0 : SWIG_croak_null();
14122 : }
14123 : }
14124 :
14125 :
14126 0 : XS(_wrap_labelObj_partials_get) {
14127 : {
14128 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14129 0 : void *argp1 = 0 ;
14130 : int res1 = 0 ;
14131 : int argvi = 0;
14132 : int result;
14133 0 : dXSARGS;
14134 :
14135 0 : if ((items < 1) || (items > 1)) {
14136 0 : SWIG_croak("Usage: labelObj_partials_get(self);");
14137 : }
14138 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14139 0 : if (!SWIG_IsOK(res1)) {
14140 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_get" "', argument " "1"" of type '" "struct labelObj *""'");
14141 : }
14142 0 : arg1 = (struct labelObj *)(argp1);
14143 0 : result = (int) ((arg1)->partials);
14144 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14145 :
14146 0 : XSRETURN(argvi);
14147 : fail:
14148 :
14149 0 : SWIG_croak_null();
14150 : }
14151 : }
14152 :
14153 :
14154 0 : XS(_wrap_labelObj_force_set) {
14155 : {
14156 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14157 : int arg2 ;
14158 0 : void *argp1 = 0 ;
14159 : int res1 = 0 ;
14160 : int val2 ;
14161 : int ecode2 = 0 ;
14162 : int argvi = 0;
14163 0 : dXSARGS;
14164 :
14165 0 : if ((items < 2) || (items > 2)) {
14166 0 : SWIG_croak("Usage: labelObj_force_set(self,force);");
14167 : }
14168 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14169 0 : if (!SWIG_IsOK(res1)) {
14170 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_set" "', argument " "1"" of type '" "struct labelObj *""'");
14171 : }
14172 0 : arg1 = (struct labelObj *)(argp1);
14173 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14174 0 : if (!SWIG_IsOK(ecode2)) {
14175 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_force_set" "', argument " "2"" of type '" "int""'");
14176 : }
14177 0 : arg2 = (int)(val2);
14178 0 : if (arg1) (arg1)->force = arg2;
14179 0 : ST(argvi) = sv_newmortal();
14180 :
14181 :
14182 0 : XSRETURN(argvi);
14183 : fail:
14184 :
14185 :
14186 0 : SWIG_croak_null();
14187 : }
14188 : }
14189 :
14190 :
14191 0 : XS(_wrap_labelObj_force_get) {
14192 : {
14193 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14194 0 : void *argp1 = 0 ;
14195 : int res1 = 0 ;
14196 : int argvi = 0;
14197 : int result;
14198 0 : dXSARGS;
14199 :
14200 0 : if ((items < 1) || (items > 1)) {
14201 0 : SWIG_croak("Usage: labelObj_force_get(self);");
14202 : }
14203 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14204 0 : if (!SWIG_IsOK(res1)) {
14205 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_get" "', argument " "1"" of type '" "struct labelObj *""'");
14206 : }
14207 0 : arg1 = (struct labelObj *)(argp1);
14208 0 : result = (int) ((arg1)->force);
14209 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14210 :
14211 0 : XSRETURN(argvi);
14212 : fail:
14213 :
14214 0 : SWIG_croak_null();
14215 : }
14216 : }
14217 :
14218 :
14219 0 : XS(_wrap_labelObj_encoding_set) {
14220 : {
14221 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14222 : char *arg2 = (char *) 0 ;
14223 0 : void *argp1 = 0 ;
14224 : int res1 = 0 ;
14225 : int res2 ;
14226 0 : char *buf2 = 0 ;
14227 0 : int alloc2 = 0 ;
14228 : int argvi = 0;
14229 0 : dXSARGS;
14230 :
14231 0 : if ((items < 2) || (items > 2)) {
14232 0 : SWIG_croak("Usage: labelObj_encoding_set(self,encoding);");
14233 : }
14234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14235 0 : if (!SWIG_IsOK(res1)) {
14236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_set" "', argument " "1"" of type '" "struct labelObj *""'");
14237 : }
14238 0 : arg1 = (struct labelObj *)(argp1);
14239 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14240 0 : if (!SWIG_IsOK(res2)) {
14241 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_encoding_set" "', argument " "2"" of type '" "char *""'");
14242 : }
14243 0 : arg2 = (char *)(buf2);
14244 : {
14245 0 : if (arg1->encoding) free((char*)arg1->encoding);
14246 0 : if (arg2) {
14247 0 : arg1->encoding = (char *) malloc(strlen(arg2)+1);
14248 : strcpy((char*)arg1->encoding,arg2);
14249 : } else {
14250 0 : arg1->encoding = 0;
14251 : }
14252 : }
14253 0 : ST(argvi) = sv_newmortal();
14254 :
14255 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14256 0 : XSRETURN(argvi);
14257 : fail:
14258 :
14259 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14260 0 : SWIG_croak_null();
14261 : }
14262 : }
14263 :
14264 :
14265 0 : XS(_wrap_labelObj_encoding_get) {
14266 : {
14267 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14268 0 : void *argp1 = 0 ;
14269 : int res1 = 0 ;
14270 : int argvi = 0;
14271 : char *result = 0 ;
14272 0 : dXSARGS;
14273 :
14274 0 : if ((items < 1) || (items > 1)) {
14275 0 : SWIG_croak("Usage: labelObj_encoding_get(self);");
14276 : }
14277 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14278 0 : if (!SWIG_IsOK(res1)) {
14279 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_get" "', argument " "1"" of type '" "struct labelObj *""'");
14280 : }
14281 0 : arg1 = (struct labelObj *)(argp1);
14282 0 : result = (char *) ((arg1)->encoding);
14283 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14284 :
14285 0 : XSRETURN(argvi);
14286 : fail:
14287 :
14288 0 : SWIG_croak_null();
14289 : }
14290 : }
14291 :
14292 :
14293 0 : XS(_wrap_labelObj_priority_set) {
14294 : {
14295 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14296 : int arg2 ;
14297 0 : void *argp1 = 0 ;
14298 : int res1 = 0 ;
14299 : int val2 ;
14300 : int ecode2 = 0 ;
14301 : int argvi = 0;
14302 0 : dXSARGS;
14303 :
14304 0 : if ((items < 2) || (items > 2)) {
14305 0 : SWIG_croak("Usage: labelObj_priority_set(self,priority);");
14306 : }
14307 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14308 0 : if (!SWIG_IsOK(res1)) {
14309 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_set" "', argument " "1"" of type '" "struct labelObj *""'");
14310 : }
14311 0 : arg1 = (struct labelObj *)(argp1);
14312 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14313 0 : if (!SWIG_IsOK(ecode2)) {
14314 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_priority_set" "', argument " "2"" of type '" "int""'");
14315 : }
14316 0 : arg2 = (int)(val2);
14317 0 : if (arg1) (arg1)->priority = arg2;
14318 0 : ST(argvi) = sv_newmortal();
14319 :
14320 :
14321 0 : XSRETURN(argvi);
14322 : fail:
14323 :
14324 :
14325 0 : SWIG_croak_null();
14326 : }
14327 : }
14328 :
14329 :
14330 0 : XS(_wrap_labelObj_priority_get) {
14331 : {
14332 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14333 0 : void *argp1 = 0 ;
14334 : int res1 = 0 ;
14335 : int argvi = 0;
14336 : int result;
14337 0 : dXSARGS;
14338 :
14339 0 : if ((items < 1) || (items > 1)) {
14340 0 : SWIG_croak("Usage: labelObj_priority_get(self);");
14341 : }
14342 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14343 0 : if (!SWIG_IsOK(res1)) {
14344 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_get" "', argument " "1"" of type '" "struct labelObj *""'");
14345 : }
14346 0 : arg1 = (struct labelObj *)(argp1);
14347 0 : result = (int) ((arg1)->priority);
14348 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14349 :
14350 0 : XSRETURN(argvi);
14351 : fail:
14352 :
14353 0 : SWIG_croak_null();
14354 : }
14355 : }
14356 :
14357 :
14358 0 : XS(_wrap_labelObj_numstyles_set) {
14359 : {
14360 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14361 : int arg2 ;
14362 0 : void *argp1 = 0 ;
14363 : int res1 = 0 ;
14364 : int val2 ;
14365 : int ecode2 = 0 ;
14366 : int argvi = 0;
14367 0 : dXSARGS;
14368 :
14369 0 : if ((items < 2) || (items > 2)) {
14370 0 : SWIG_croak("Usage: labelObj_numstyles_set(self,numstyles);");
14371 : }
14372 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14373 0 : if (!SWIG_IsOK(res1)) {
14374 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_set" "', argument " "1"" of type '" "struct labelObj *""'");
14375 : }
14376 0 : arg1 = (struct labelObj *)(argp1);
14377 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14378 0 : if (!SWIG_IsOK(ecode2)) {
14379 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_numstyles_set" "', argument " "2"" of type '" "int""'");
14380 : }
14381 0 : arg2 = (int)(val2);
14382 0 : if (arg1) (arg1)->numstyles = arg2;
14383 0 : ST(argvi) = sv_newmortal();
14384 :
14385 :
14386 0 : XSRETURN(argvi);
14387 : fail:
14388 :
14389 :
14390 0 : SWIG_croak_null();
14391 : }
14392 : }
14393 :
14394 :
14395 0 : XS(_wrap_labelObj_numstyles_get) {
14396 : {
14397 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14398 0 : void *argp1 = 0 ;
14399 : int res1 = 0 ;
14400 : int argvi = 0;
14401 : int result;
14402 0 : dXSARGS;
14403 :
14404 0 : if ((items < 1) || (items > 1)) {
14405 0 : SWIG_croak("Usage: labelObj_numstyles_get(self);");
14406 : }
14407 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14408 0 : if (!SWIG_IsOK(res1)) {
14409 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_get" "', argument " "1"" of type '" "struct labelObj *""'");
14410 : }
14411 0 : arg1 = (struct labelObj *)(argp1);
14412 0 : result = (int) ((arg1)->numstyles);
14413 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14414 :
14415 0 : XSRETURN(argvi);
14416 : fail:
14417 :
14418 0 : SWIG_croak_null();
14419 : }
14420 : }
14421 :
14422 :
14423 0 : XS(_wrap_labelObj_leader_set) {
14424 : {
14425 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14426 : labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
14427 0 : void *argp1 = 0 ;
14428 : int res1 = 0 ;
14429 0 : void *argp2 = 0 ;
14430 : int res2 = 0 ;
14431 : int argvi = 0;
14432 0 : dXSARGS;
14433 :
14434 0 : if ((items < 2) || (items > 2)) {
14435 0 : SWIG_croak("Usage: labelObj_leader_set(self,leader);");
14436 : }
14437 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14438 0 : if (!SWIG_IsOK(res1)) {
14439 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_set" "', argument " "1"" of type '" "struct labelObj *""'");
14440 : }
14441 0 : arg1 = (struct labelObj *)(argp1);
14442 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
14443 0 : if (!SWIG_IsOK(res2)) {
14444 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'");
14445 : }
14446 0 : arg2 = (labelLeaderObj *)(argp2);
14447 0 : if (arg1) (arg1)->leader = arg2;
14448 0 : ST(argvi) = sv_newmortal();
14449 :
14450 :
14451 0 : XSRETURN(argvi);
14452 : fail:
14453 :
14454 :
14455 0 : SWIG_croak_null();
14456 : }
14457 : }
14458 :
14459 :
14460 0 : XS(_wrap_labelObj_leader_get) {
14461 : {
14462 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14463 0 : void *argp1 = 0 ;
14464 : int res1 = 0 ;
14465 : int argvi = 0;
14466 : labelLeaderObj *result = 0 ;
14467 0 : dXSARGS;
14468 :
14469 0 : if ((items < 1) || (items > 1)) {
14470 0 : SWIG_croak("Usage: labelObj_leader_get(self);");
14471 : }
14472 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14473 0 : if (!SWIG_IsOK(res1)) {
14474 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_get" "', argument " "1"" of type '" "struct labelObj *""'");
14475 : }
14476 0 : arg1 = (struct labelObj *)(argp1);
14477 0 : result = (labelLeaderObj *) ((arg1)->leader);
14478 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
14479 :
14480 0 : XSRETURN(argvi);
14481 : fail:
14482 :
14483 0 : SWIG_croak_null();
14484 : }
14485 : }
14486 :
14487 :
14488 0 : XS(_wrap_labelObj_sizeunits_set) {
14489 : {
14490 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14491 : int arg2 ;
14492 0 : void *argp1 = 0 ;
14493 : int res1 = 0 ;
14494 : int val2 ;
14495 : int ecode2 = 0 ;
14496 : int argvi = 0;
14497 0 : dXSARGS;
14498 :
14499 0 : if ((items < 2) || (items > 2)) {
14500 0 : SWIG_croak("Usage: labelObj_sizeunits_set(self,sizeunits);");
14501 : }
14502 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14503 0 : if (!SWIG_IsOK(res1)) {
14504 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_sizeunits_set" "', argument " "1"" of type '" "struct labelObj *""'");
14505 : }
14506 0 : arg1 = (struct labelObj *)(argp1);
14507 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14508 0 : if (!SWIG_IsOK(ecode2)) {
14509 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
14510 : }
14511 0 : arg2 = (int)(val2);
14512 0 : if (arg1) (arg1)->sizeunits = arg2;
14513 0 : ST(argvi) = sv_newmortal();
14514 :
14515 :
14516 0 : XSRETURN(argvi);
14517 : fail:
14518 :
14519 :
14520 0 : SWIG_croak_null();
14521 : }
14522 : }
14523 :
14524 :
14525 0 : XS(_wrap_labelObj_sizeunits_get) {
14526 : {
14527 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14528 0 : void *argp1 = 0 ;
14529 : int res1 = 0 ;
14530 : int argvi = 0;
14531 : int result;
14532 0 : dXSARGS;
14533 :
14534 0 : if ((items < 1) || (items > 1)) {
14535 0 : SWIG_croak("Usage: labelObj_sizeunits_get(self);");
14536 : }
14537 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14538 0 : if (!SWIG_IsOK(res1)) {
14539 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_sizeunits_get" "', argument " "1"" of type '" "struct labelObj *""'");
14540 : }
14541 0 : arg1 = (struct labelObj *)(argp1);
14542 0 : result = (int) ((arg1)->sizeunits);
14543 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14544 :
14545 0 : XSRETURN(argvi);
14546 : fail:
14547 :
14548 0 : SWIG_croak_null();
14549 : }
14550 : }
14551 :
14552 :
14553 0 : XS(_wrap_new_labelObj) {
14554 : {
14555 : int argvi = 0;
14556 : struct labelObj *result = 0 ;
14557 0 : dXSARGS;
14558 :
14559 0 : if ((items < 0) || (items > 0)) {
14560 0 : SWIG_croak("Usage: new_labelObj();");
14561 : }
14562 0 : result = (struct labelObj *)new_labelObj();
14563 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14564 0 : XSRETURN(argvi);
14565 : fail:
14566 0 : SWIG_croak_null();
14567 : }
14568 : }
14569 :
14570 :
14571 0 : XS(_wrap_delete_labelObj) {
14572 : {
14573 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14574 0 : void *argp1 = 0 ;
14575 : int res1 = 0 ;
14576 : int argvi = 0;
14577 0 : dXSARGS;
14578 :
14579 0 : if ((items < 1) || (items > 1)) {
14580 0 : SWIG_croak("Usage: delete_labelObj(self);");
14581 : }
14582 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, SWIG_POINTER_DISOWN | 0 );
14583 0 : if (!SWIG_IsOK(res1)) {
14584 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelObj" "', argument " "1"" of type '" "struct labelObj *""'");
14585 : }
14586 0 : arg1 = (struct labelObj *)(argp1);
14587 : delete_labelObj(arg1);
14588 0 : ST(argvi) = sv_newmortal();
14589 :
14590 0 : XSRETURN(argvi);
14591 : fail:
14592 :
14593 0 : SWIG_croak_null();
14594 : }
14595 : }
14596 :
14597 :
14598 0 : XS(_wrap_labelObj_updateFromString) {
14599 : {
14600 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14601 : char *arg2 = (char *) 0 ;
14602 0 : void *argp1 = 0 ;
14603 : int res1 = 0 ;
14604 : int res2 ;
14605 0 : char *buf2 = 0 ;
14606 0 : int alloc2 = 0 ;
14607 : int argvi = 0;
14608 : int result;
14609 0 : dXSARGS;
14610 :
14611 0 : if ((items < 2) || (items > 2)) {
14612 0 : SWIG_croak("Usage: labelObj_updateFromString(self,snippet);");
14613 : }
14614 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14615 0 : if (!SWIG_IsOK(res1)) {
14616 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_updateFromString" "', argument " "1"" of type '" "struct labelObj *""'");
14617 : }
14618 0 : arg1 = (struct labelObj *)(argp1);
14619 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14620 0 : if (!SWIG_IsOK(res2)) {
14621 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_updateFromString" "', argument " "2"" of type '" "char *""'");
14622 : }
14623 0 : arg2 = (char *)(buf2);
14624 : result = (int)labelObj_updateFromString(arg1,arg2);
14625 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14626 :
14627 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14628 0 : XSRETURN(argvi);
14629 : fail:
14630 :
14631 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14632 0 : SWIG_croak_null();
14633 : }
14634 : }
14635 :
14636 :
14637 0 : XS(_wrap_labelObj_convertToString) {
14638 : {
14639 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14640 0 : void *argp1 = 0 ;
14641 : int res1 = 0 ;
14642 : int argvi = 0;
14643 : char *result = 0 ;
14644 0 : dXSARGS;
14645 :
14646 0 : if ((items < 1) || (items > 1)) {
14647 0 : SWIG_croak("Usage: labelObj_convertToString(self);");
14648 : }
14649 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14650 0 : if (!SWIG_IsOK(res1)) {
14651 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_convertToString" "', argument " "1"" of type '" "struct labelObj *""'");
14652 : }
14653 0 : arg1 = (struct labelObj *)(argp1);
14654 : result = (char *)labelObj_convertToString(arg1);
14655 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14656 :
14657 0 : free((char*)result);
14658 0 : XSRETURN(argvi);
14659 : fail:
14660 :
14661 0 : SWIG_croak_null();
14662 : }
14663 : }
14664 :
14665 :
14666 0 : XS(_wrap_labelObj_removeBinding) {
14667 : {
14668 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14669 : int arg2 ;
14670 0 : void *argp1 = 0 ;
14671 : int res1 = 0 ;
14672 : int val2 ;
14673 : int ecode2 = 0 ;
14674 : int argvi = 0;
14675 : int result;
14676 0 : dXSARGS;
14677 :
14678 0 : if ((items < 2) || (items > 2)) {
14679 0 : SWIG_croak("Usage: labelObj_removeBinding(self,binding);");
14680 : }
14681 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14682 0 : if (!SWIG_IsOK(res1)) {
14683 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14684 : }
14685 0 : arg1 = (struct labelObj *)(argp1);
14686 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14687 0 : if (!SWIG_IsOK(ecode2)) {
14688 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeBinding" "', argument " "2"" of type '" "int""'");
14689 : }
14690 0 : arg2 = (int)(val2);
14691 0 : result = (int)labelObj_removeBinding(arg1,arg2);
14692 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14693 :
14694 :
14695 0 : XSRETURN(argvi);
14696 : fail:
14697 :
14698 :
14699 0 : SWIG_croak_null();
14700 : }
14701 : }
14702 :
14703 :
14704 0 : XS(_wrap_labelObj_getBinding) {
14705 : {
14706 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14707 : int arg2 ;
14708 0 : void *argp1 = 0 ;
14709 : int res1 = 0 ;
14710 : int val2 ;
14711 : int ecode2 = 0 ;
14712 : int argvi = 0;
14713 : char *result = 0 ;
14714 0 : dXSARGS;
14715 :
14716 0 : if ((items < 2) || (items > 2)) {
14717 0 : SWIG_croak("Usage: labelObj_getBinding(self,binding);");
14718 : }
14719 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14720 0 : if (!SWIG_IsOK(res1)) {
14721 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14722 : }
14723 0 : arg1 = (struct labelObj *)(argp1);
14724 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14725 0 : if (!SWIG_IsOK(ecode2)) {
14726 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getBinding" "', argument " "2"" of type '" "int""'");
14727 : }
14728 0 : arg2 = (int)(val2);
14729 : result = (char *)labelObj_getBinding(arg1,arg2);
14730 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14731 :
14732 :
14733 0 : XSRETURN(argvi);
14734 : fail:
14735 :
14736 :
14737 0 : SWIG_croak_null();
14738 : }
14739 : }
14740 :
14741 :
14742 0 : XS(_wrap_labelObj_setBinding) {
14743 : {
14744 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14745 : int arg2 ;
14746 : char *arg3 = (char *) 0 ;
14747 0 : void *argp1 = 0 ;
14748 : int res1 = 0 ;
14749 : int val2 ;
14750 : int ecode2 = 0 ;
14751 : int res3 ;
14752 0 : char *buf3 = 0 ;
14753 0 : int alloc3 = 0 ;
14754 : int argvi = 0;
14755 : int result;
14756 0 : dXSARGS;
14757 :
14758 0 : if ((items < 3) || (items > 3)) {
14759 0 : SWIG_croak("Usage: labelObj_setBinding(self,binding,item);");
14760 : }
14761 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14762 0 : if (!SWIG_IsOK(res1)) {
14763 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14764 : }
14765 0 : arg1 = (struct labelObj *)(argp1);
14766 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14767 0 : if (!SWIG_IsOK(ecode2)) {
14768 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_setBinding" "', argument " "2"" of type '" "int""'");
14769 : }
14770 0 : arg2 = (int)(val2);
14771 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
14772 0 : if (!SWIG_IsOK(res3)) {
14773 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "labelObj_setBinding" "', argument " "3"" of type '" "char *""'");
14774 : }
14775 0 : arg3 = (char *)(buf3);
14776 0 : result = (int)labelObj_setBinding(arg1,arg2,arg3);
14777 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14778 :
14779 :
14780 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14781 0 : XSRETURN(argvi);
14782 : fail:
14783 :
14784 :
14785 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14786 0 : SWIG_croak_null();
14787 : }
14788 : }
14789 :
14790 :
14791 0 : XS(_wrap_labelObj_setExpression) {
14792 : {
14793 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14794 : char *arg2 = (char *) 0 ;
14795 0 : void *argp1 = 0 ;
14796 : int res1 = 0 ;
14797 : int res2 ;
14798 0 : char *buf2 = 0 ;
14799 0 : int alloc2 = 0 ;
14800 : int argvi = 0;
14801 : int result;
14802 0 : dXSARGS;
14803 :
14804 0 : if ((items < 2) || (items > 2)) {
14805 0 : SWIG_croak("Usage: labelObj_setExpression(self,expression);");
14806 : }
14807 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14808 0 : if (!SWIG_IsOK(res1)) {
14809 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setExpression" "', argument " "1"" of type '" "struct labelObj *""'");
14810 : }
14811 0 : arg1 = (struct labelObj *)(argp1);
14812 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14813 0 : if (!SWIG_IsOK(res2)) {
14814 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setExpression" "', argument " "2"" of type '" "char *""'");
14815 : }
14816 0 : arg2 = (char *)(buf2);
14817 0 : result = (int)labelObj_setExpression(arg1,arg2);
14818 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14819 :
14820 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14821 0 : XSRETURN(argvi);
14822 : fail:
14823 :
14824 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14825 0 : SWIG_croak_null();
14826 : }
14827 : }
14828 :
14829 :
14830 0 : XS(_wrap_labelObj_getExpressionString) {
14831 : {
14832 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14833 0 : void *argp1 = 0 ;
14834 : int res1 = 0 ;
14835 : int argvi = 0;
14836 : char *result = 0 ;
14837 0 : dXSARGS;
14838 :
14839 0 : if ((items < 1) || (items > 1)) {
14840 0 : SWIG_croak("Usage: labelObj_getExpressionString(self);");
14841 : }
14842 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14843 0 : if (!SWIG_IsOK(res1)) {
14844 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getExpressionString" "', argument " "1"" of type '" "struct labelObj *""'");
14845 : }
14846 0 : arg1 = (struct labelObj *)(argp1);
14847 : result = (char *)labelObj_getExpressionString(arg1);
14848 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14849 :
14850 0 : free((char*)result);
14851 0 : XSRETURN(argvi);
14852 : fail:
14853 :
14854 0 : SWIG_croak_null();
14855 : }
14856 : }
14857 :
14858 :
14859 0 : XS(_wrap_labelObj_setText) {
14860 : {
14861 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14862 : char *arg2 = (char *) 0 ;
14863 0 : void *argp1 = 0 ;
14864 : int res1 = 0 ;
14865 : int res2 ;
14866 0 : char *buf2 = 0 ;
14867 0 : int alloc2 = 0 ;
14868 : int argvi = 0;
14869 : int result;
14870 0 : dXSARGS;
14871 :
14872 0 : if ((items < 2) || (items > 2)) {
14873 0 : SWIG_croak("Usage: labelObj_setText(self,text);");
14874 : }
14875 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14876 0 : if (!SWIG_IsOK(res1)) {
14877 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setText" "', argument " "1"" of type '" "struct labelObj *""'");
14878 : }
14879 0 : arg1 = (struct labelObj *)(argp1);
14880 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14881 0 : if (!SWIG_IsOK(res2)) {
14882 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setText" "', argument " "2"" of type '" "char *""'");
14883 : }
14884 0 : arg2 = (char *)(buf2);
14885 0 : result = (int)labelObj_setText(arg1,arg2);
14886 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14887 :
14888 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14889 0 : XSRETURN(argvi);
14890 : fail:
14891 :
14892 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14893 0 : SWIG_croak_null();
14894 : }
14895 : }
14896 :
14897 :
14898 0 : XS(_wrap_labelObj_getTextString) {
14899 : {
14900 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14901 0 : void *argp1 = 0 ;
14902 : int res1 = 0 ;
14903 : int argvi = 0;
14904 : char *result = 0 ;
14905 0 : dXSARGS;
14906 :
14907 0 : if ((items < 1) || (items > 1)) {
14908 0 : SWIG_croak("Usage: labelObj_getTextString(self);");
14909 : }
14910 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14911 0 : if (!SWIG_IsOK(res1)) {
14912 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getTextString" "', argument " "1"" of type '" "struct labelObj *""'");
14913 : }
14914 0 : arg1 = (struct labelObj *)(argp1);
14915 : result = (char *)labelObj_getTextString(arg1);
14916 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14917 :
14918 0 : free((char*)result);
14919 0 : XSRETURN(argvi);
14920 : fail:
14921 :
14922 0 : SWIG_croak_null();
14923 : }
14924 : }
14925 :
14926 :
14927 0 : XS(_wrap_labelObj_getStyle) {
14928 : {
14929 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14930 : int arg2 ;
14931 0 : void *argp1 = 0 ;
14932 : int res1 = 0 ;
14933 : int val2 ;
14934 : int ecode2 = 0 ;
14935 : int argvi = 0;
14936 : styleObj *result = 0 ;
14937 0 : dXSARGS;
14938 :
14939 0 : if ((items < 2) || (items > 2)) {
14940 0 : SWIG_croak("Usage: labelObj_getStyle(self,i);");
14941 : }
14942 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14943 0 : if (!SWIG_IsOK(res1)) {
14944 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14945 : }
14946 0 : arg1 = (struct labelObj *)(argp1);
14947 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14948 0 : if (!SWIG_IsOK(ecode2)) {
14949 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getStyle" "', argument " "2"" of type '" "int""'");
14950 : }
14951 0 : arg2 = (int)(val2);
14952 0 : result = (styleObj *)labelObj_getStyle(arg1,arg2);
14953 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14954 :
14955 :
14956 0 : XSRETURN(argvi);
14957 : fail:
14958 :
14959 :
14960 0 : SWIG_croak_null();
14961 : }
14962 : }
14963 :
14964 :
14965 0 : XS(_wrap_labelObj_insertStyle) {
14966 : {
14967 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14968 : styleObj *arg2 = (styleObj *) 0 ;
14969 : int arg3 = (int) -1 ;
14970 0 : void *argp1 = 0 ;
14971 : int res1 = 0 ;
14972 0 : void *argp2 = 0 ;
14973 : int res2 = 0 ;
14974 : int val3 ;
14975 : int ecode3 = 0 ;
14976 : int argvi = 0;
14977 : int result;
14978 0 : dXSARGS;
14979 :
14980 0 : if ((items < 2) || (items > 3)) {
14981 0 : SWIG_croak("Usage: labelObj_insertStyle(self,style,index);");
14982 : }
14983 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14984 0 : if (!SWIG_IsOK(res1)) {
14985 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_insertStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14986 : }
14987 0 : arg1 = (struct labelObj *)(argp1);
14988 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 | 0 );
14989 0 : if (!SWIG_IsOK(res2)) {
14990 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'");
14991 : }
14992 0 : arg2 = (styleObj *)(argp2);
14993 0 : if (items > 2) {
14994 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14995 0 : if (!SWIG_IsOK(ecode3)) {
14996 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "labelObj_insertStyle" "', argument " "3"" of type '" "int""'");
14997 : }
14998 0 : arg3 = (int)(val3);
14999 : }
15000 : result = (int)labelObj_insertStyle(arg1,arg2,arg3);
15001 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15002 :
15003 :
15004 :
15005 0 : XSRETURN(argvi);
15006 : fail:
15007 :
15008 :
15009 :
15010 0 : SWIG_croak_null();
15011 : }
15012 : }
15013 :
15014 :
15015 0 : XS(_wrap_labelObj_removeStyle) {
15016 : {
15017 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15018 : int arg2 ;
15019 0 : void *argp1 = 0 ;
15020 : int res1 = 0 ;
15021 : int val2 ;
15022 : int ecode2 = 0 ;
15023 : int argvi = 0;
15024 : styleObj *result = 0 ;
15025 0 : dXSARGS;
15026 :
15027 0 : if ((items < 2) || (items > 2)) {
15028 0 : SWIG_croak("Usage: labelObj_removeStyle(self,index);");
15029 : }
15030 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15031 0 : if (!SWIG_IsOK(res1)) {
15032 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeStyle" "', argument " "1"" of type '" "struct labelObj *""'");
15033 : }
15034 0 : arg1 = (struct labelObj *)(argp1);
15035 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15036 0 : if (!SWIG_IsOK(ecode2)) {
15037 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeStyle" "', argument " "2"" of type '" "int""'");
15038 : }
15039 0 : arg2 = (int)(val2);
15040 0 : result = (styleObj *)labelObj_removeStyle(arg1,arg2);
15041 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
15042 :
15043 :
15044 0 : XSRETURN(argvi);
15045 : fail:
15046 :
15047 :
15048 0 : SWIG_croak_null();
15049 : }
15050 : }
15051 :
15052 :
15053 0 : XS(_wrap_labelObj_moveStyleUp) {
15054 : {
15055 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15056 : int arg2 ;
15057 0 : void *argp1 = 0 ;
15058 : int res1 = 0 ;
15059 : int val2 ;
15060 : int ecode2 = 0 ;
15061 : int argvi = 0;
15062 : int result;
15063 0 : dXSARGS;
15064 :
15065 0 : if ((items < 2) || (items > 2)) {
15066 0 : SWIG_croak("Usage: labelObj_moveStyleUp(self,index);");
15067 : }
15068 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15069 0 : if (!SWIG_IsOK(res1)) {
15070 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleUp" "', argument " "1"" of type '" "struct labelObj *""'");
15071 : }
15072 0 : arg1 = (struct labelObj *)(argp1);
15073 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15074 0 : if (!SWIG_IsOK(ecode2)) {
15075 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
15076 : }
15077 0 : arg2 = (int)(val2);
15078 : result = (int)labelObj_moveStyleUp(arg1,arg2);
15079 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15080 :
15081 :
15082 0 : XSRETURN(argvi);
15083 : fail:
15084 :
15085 :
15086 0 : SWIG_croak_null();
15087 : }
15088 : }
15089 :
15090 :
15091 0 : XS(_wrap_labelObj_moveStyleDown) {
15092 : {
15093 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15094 : int arg2 ;
15095 0 : void *argp1 = 0 ;
15096 : int res1 = 0 ;
15097 : int val2 ;
15098 : int ecode2 = 0 ;
15099 : int argvi = 0;
15100 : int result;
15101 0 : dXSARGS;
15102 :
15103 0 : if ((items < 2) || (items > 2)) {
15104 0 : SWIG_croak("Usage: labelObj_moveStyleDown(self,index);");
15105 : }
15106 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15107 0 : if (!SWIG_IsOK(res1)) {
15108 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleDown" "', argument " "1"" of type '" "struct labelObj *""'");
15109 : }
15110 0 : arg1 = (struct labelObj *)(argp1);
15111 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15112 0 : if (!SWIG_IsOK(ecode2)) {
15113 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
15114 : }
15115 0 : arg2 = (int)(val2);
15116 : result = (int)labelObj_moveStyleDown(arg1,arg2);
15117 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15118 :
15119 :
15120 0 : XSRETURN(argvi);
15121 : fail:
15122 :
15123 :
15124 0 : SWIG_croak_null();
15125 : }
15126 : }
15127 :
15128 :
15129 0 : XS(_wrap_classObj_status_set) {
15130 : {
15131 : struct classObj *arg1 = (struct classObj *) 0 ;
15132 : int arg2 ;
15133 0 : void *argp1 = 0 ;
15134 : int res1 = 0 ;
15135 : int val2 ;
15136 : int ecode2 = 0 ;
15137 : int argvi = 0;
15138 0 : dXSARGS;
15139 :
15140 0 : if ((items < 2) || (items > 2)) {
15141 0 : SWIG_croak("Usage: classObj_status_set(self,status);");
15142 : }
15143 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15144 0 : if (!SWIG_IsOK(res1)) {
15145 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_set" "', argument " "1"" of type '" "struct classObj *""'");
15146 : }
15147 0 : arg1 = (struct classObj *)(argp1);
15148 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15149 0 : if (!SWIG_IsOK(ecode2)) {
15150 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_status_set" "', argument " "2"" of type '" "int""'");
15151 : }
15152 0 : arg2 = (int)(val2);
15153 0 : if (arg1) (arg1)->status = arg2;
15154 0 : ST(argvi) = sv_newmortal();
15155 :
15156 :
15157 0 : XSRETURN(argvi);
15158 : fail:
15159 :
15160 :
15161 0 : SWIG_croak_null();
15162 : }
15163 : }
15164 :
15165 :
15166 0 : XS(_wrap_classObj_status_get) {
15167 : {
15168 : struct classObj *arg1 = (struct classObj *) 0 ;
15169 0 : void *argp1 = 0 ;
15170 : int res1 = 0 ;
15171 : int argvi = 0;
15172 : int result;
15173 0 : dXSARGS;
15174 :
15175 0 : if ((items < 1) || (items > 1)) {
15176 0 : SWIG_croak("Usage: classObj_status_get(self);");
15177 : }
15178 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15179 0 : if (!SWIG_IsOK(res1)) {
15180 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_get" "', argument " "1"" of type '" "struct classObj *""'");
15181 : }
15182 0 : arg1 = (struct classObj *)(argp1);
15183 0 : result = (int) ((arg1)->status);
15184 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15185 :
15186 0 : XSRETURN(argvi);
15187 : fail:
15188 :
15189 0 : SWIG_croak_null();
15190 : }
15191 : }
15192 :
15193 :
15194 0 : XS(_wrap_classObj_isfallback_set) {
15195 : {
15196 : struct classObj *arg1 = (struct classObj *) 0 ;
15197 : int arg2 ;
15198 0 : void *argp1 = 0 ;
15199 : int res1 = 0 ;
15200 : int val2 ;
15201 : int ecode2 = 0 ;
15202 : int argvi = 0;
15203 0 : dXSARGS;
15204 :
15205 0 : if ((items < 2) || (items > 2)) {
15206 0 : SWIG_croak("Usage: classObj_isfallback_set(self,isfallback);");
15207 : }
15208 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15209 0 : if (!SWIG_IsOK(res1)) {
15210 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_isfallback_set" "', argument " "1"" of type '" "struct classObj *""'");
15211 : }
15212 0 : arg1 = (struct classObj *)(argp1);
15213 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15214 0 : if (!SWIG_IsOK(ecode2)) {
15215 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_isfallback_set" "', argument " "2"" of type '" "int""'");
15216 : }
15217 0 : arg2 = (int)(val2);
15218 0 : if (arg1) (arg1)->isfallback = arg2;
15219 0 : ST(argvi) = sv_newmortal();
15220 :
15221 :
15222 0 : XSRETURN(argvi);
15223 : fail:
15224 :
15225 :
15226 0 : SWIG_croak_null();
15227 : }
15228 : }
15229 :
15230 :
15231 0 : XS(_wrap_classObj_isfallback_get) {
15232 : {
15233 : struct classObj *arg1 = (struct classObj *) 0 ;
15234 0 : void *argp1 = 0 ;
15235 : int res1 = 0 ;
15236 : int argvi = 0;
15237 : int result;
15238 0 : dXSARGS;
15239 :
15240 0 : if ((items < 1) || (items > 1)) {
15241 0 : SWIG_croak("Usage: classObj_isfallback_get(self);");
15242 : }
15243 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15244 0 : if (!SWIG_IsOK(res1)) {
15245 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_isfallback_get" "', argument " "1"" of type '" "struct classObj *""'");
15246 : }
15247 0 : arg1 = (struct classObj *)(argp1);
15248 0 : result = (int) ((arg1)->isfallback);
15249 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15250 :
15251 0 : XSRETURN(argvi);
15252 : fail:
15253 :
15254 0 : SWIG_croak_null();
15255 : }
15256 : }
15257 :
15258 :
15259 0 : XS(_wrap_classObj_numstyles_get) {
15260 : {
15261 : struct classObj *arg1 = (struct classObj *) 0 ;
15262 0 : void *argp1 = 0 ;
15263 : int res1 = 0 ;
15264 : int argvi = 0;
15265 : int result;
15266 0 : dXSARGS;
15267 :
15268 0 : if ((items < 1) || (items > 1)) {
15269 0 : SWIG_croak("Usage: classObj_numstyles_get(self);");
15270 : }
15271 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15272 0 : if (!SWIG_IsOK(res1)) {
15273 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numstyles_get" "', argument " "1"" of type '" "struct classObj *""'");
15274 : }
15275 0 : arg1 = (struct classObj *)(argp1);
15276 0 : result = (int) ((arg1)->numstyles);
15277 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15278 :
15279 0 : XSRETURN(argvi);
15280 : fail:
15281 :
15282 0 : SWIG_croak_null();
15283 : }
15284 : }
15285 :
15286 :
15287 0 : XS(_wrap_classObj_numlabels_get) {
15288 : {
15289 : struct classObj *arg1 = (struct classObj *) 0 ;
15290 0 : void *argp1 = 0 ;
15291 : int res1 = 0 ;
15292 : int argvi = 0;
15293 : int result;
15294 0 : dXSARGS;
15295 :
15296 0 : if ((items < 1) || (items > 1)) {
15297 0 : SWIG_croak("Usage: classObj_numlabels_get(self);");
15298 : }
15299 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15300 0 : if (!SWIG_IsOK(res1)) {
15301 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_get" "', argument " "1"" of type '" "struct classObj *""'");
15302 : }
15303 0 : arg1 = (struct classObj *)(argp1);
15304 0 : result = (int) ((arg1)->numlabels);
15305 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15306 :
15307 0 : XSRETURN(argvi);
15308 : fail:
15309 :
15310 0 : SWIG_croak_null();
15311 : }
15312 : }
15313 :
15314 :
15315 0 : XS(_wrap_classObj_name_set) {
15316 : {
15317 : struct classObj *arg1 = (struct classObj *) 0 ;
15318 : char *arg2 = (char *) 0 ;
15319 0 : void *argp1 = 0 ;
15320 : int res1 = 0 ;
15321 : int res2 ;
15322 0 : char *buf2 = 0 ;
15323 0 : int alloc2 = 0 ;
15324 : int argvi = 0;
15325 0 : dXSARGS;
15326 :
15327 0 : if ((items < 2) || (items > 2)) {
15328 0 : SWIG_croak("Usage: classObj_name_set(self,name);");
15329 : }
15330 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15331 0 : if (!SWIG_IsOK(res1)) {
15332 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_set" "', argument " "1"" of type '" "struct classObj *""'");
15333 : }
15334 0 : arg1 = (struct classObj *)(argp1);
15335 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15336 0 : if (!SWIG_IsOK(res2)) {
15337 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_name_set" "', argument " "2"" of type '" "char *""'");
15338 : }
15339 0 : arg2 = (char *)(buf2);
15340 : {
15341 0 : if (arg1->name) free((char*)arg1->name);
15342 0 : if (arg2) {
15343 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
15344 : strcpy((char*)arg1->name,arg2);
15345 : } else {
15346 0 : arg1->name = 0;
15347 : }
15348 : }
15349 0 : ST(argvi) = sv_newmortal();
15350 :
15351 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15352 0 : XSRETURN(argvi);
15353 : fail:
15354 :
15355 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15356 0 : SWIG_croak_null();
15357 : }
15358 : }
15359 :
15360 :
15361 0 : XS(_wrap_classObj_name_get) {
15362 : {
15363 : struct classObj *arg1 = (struct classObj *) 0 ;
15364 0 : void *argp1 = 0 ;
15365 : int res1 = 0 ;
15366 : int argvi = 0;
15367 : char *result = 0 ;
15368 0 : dXSARGS;
15369 :
15370 0 : if ((items < 1) || (items > 1)) {
15371 0 : SWIG_croak("Usage: classObj_name_get(self);");
15372 : }
15373 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15374 0 : if (!SWIG_IsOK(res1)) {
15375 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_get" "', argument " "1"" of type '" "struct classObj *""'");
15376 : }
15377 0 : arg1 = (struct classObj *)(argp1);
15378 0 : result = (char *) ((arg1)->name);
15379 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15380 :
15381 0 : XSRETURN(argvi);
15382 : fail:
15383 :
15384 0 : SWIG_croak_null();
15385 : }
15386 : }
15387 :
15388 :
15389 0 : XS(_wrap_classObj_title_set) {
15390 : {
15391 : struct classObj *arg1 = (struct classObj *) 0 ;
15392 : char *arg2 = (char *) 0 ;
15393 0 : void *argp1 = 0 ;
15394 : int res1 = 0 ;
15395 : int res2 ;
15396 0 : char *buf2 = 0 ;
15397 0 : int alloc2 = 0 ;
15398 : int argvi = 0;
15399 0 : dXSARGS;
15400 :
15401 0 : if ((items < 2) || (items > 2)) {
15402 0 : SWIG_croak("Usage: classObj_title_set(self,title);");
15403 : }
15404 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15405 0 : if (!SWIG_IsOK(res1)) {
15406 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_set" "', argument " "1"" of type '" "struct classObj *""'");
15407 : }
15408 0 : arg1 = (struct classObj *)(argp1);
15409 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15410 0 : if (!SWIG_IsOK(res2)) {
15411 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_title_set" "', argument " "2"" of type '" "char *""'");
15412 : }
15413 0 : arg2 = (char *)(buf2);
15414 : {
15415 0 : if (arg1->title) free((char*)arg1->title);
15416 0 : if (arg2) {
15417 0 : arg1->title = (char *) malloc(strlen(arg2)+1);
15418 : strcpy((char*)arg1->title,arg2);
15419 : } else {
15420 0 : arg1->title = 0;
15421 : }
15422 : }
15423 0 : ST(argvi) = sv_newmortal();
15424 :
15425 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15426 0 : XSRETURN(argvi);
15427 : fail:
15428 :
15429 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15430 0 : SWIG_croak_null();
15431 : }
15432 : }
15433 :
15434 :
15435 0 : XS(_wrap_classObj_title_get) {
15436 : {
15437 : struct classObj *arg1 = (struct classObj *) 0 ;
15438 0 : void *argp1 = 0 ;
15439 : int res1 = 0 ;
15440 : int argvi = 0;
15441 : char *result = 0 ;
15442 0 : dXSARGS;
15443 :
15444 0 : if ((items < 1) || (items > 1)) {
15445 0 : SWIG_croak("Usage: classObj_title_get(self);");
15446 : }
15447 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15448 0 : if (!SWIG_IsOK(res1)) {
15449 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_get" "', argument " "1"" of type '" "struct classObj *""'");
15450 : }
15451 0 : arg1 = (struct classObj *)(argp1);
15452 0 : result = (char *) ((arg1)->title);
15453 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15454 :
15455 0 : XSRETURN(argvi);
15456 : fail:
15457 :
15458 0 : SWIG_croak_null();
15459 : }
15460 : }
15461 :
15462 :
15463 0 : XS(_wrap_classObj_template_set) {
15464 : {
15465 : struct classObj *arg1 = (struct classObj *) 0 ;
15466 : char *arg2 = (char *) 0 ;
15467 0 : void *argp1 = 0 ;
15468 : int res1 = 0 ;
15469 : int res2 ;
15470 0 : char *buf2 = 0 ;
15471 0 : int alloc2 = 0 ;
15472 : int argvi = 0;
15473 0 : dXSARGS;
15474 :
15475 0 : if ((items < 2) || (items > 2)) {
15476 0 : SWIG_croak("Usage: classObj_template_set(self,template);");
15477 : }
15478 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15479 0 : if (!SWIG_IsOK(res1)) {
15480 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_set" "', argument " "1"" of type '" "struct classObj *""'");
15481 : }
15482 0 : arg1 = (struct classObj *)(argp1);
15483 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15484 0 : if (!SWIG_IsOK(res2)) {
15485 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_template_set" "', argument " "2"" of type '" "char *""'");
15486 : }
15487 0 : arg2 = (char *)(buf2);
15488 : {
15489 0 : if (arg1->template) free((char*)arg1->template);
15490 0 : if (arg2) {
15491 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
15492 : strcpy((char*)arg1->template,arg2);
15493 : } else {
15494 0 : arg1->template = 0;
15495 : }
15496 : }
15497 0 : ST(argvi) = sv_newmortal();
15498 :
15499 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15500 0 : XSRETURN(argvi);
15501 : fail:
15502 :
15503 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15504 0 : SWIG_croak_null();
15505 : }
15506 : }
15507 :
15508 :
15509 0 : XS(_wrap_classObj_template_get) {
15510 : {
15511 : struct classObj *arg1 = (struct classObj *) 0 ;
15512 0 : void *argp1 = 0 ;
15513 : int res1 = 0 ;
15514 : int argvi = 0;
15515 : char *result = 0 ;
15516 0 : dXSARGS;
15517 :
15518 0 : if ((items < 1) || (items > 1)) {
15519 0 : SWIG_croak("Usage: classObj_template_get(self);");
15520 : }
15521 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15522 0 : if (!SWIG_IsOK(res1)) {
15523 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_get" "', argument " "1"" of type '" "struct classObj *""'");
15524 : }
15525 0 : arg1 = (struct classObj *)(argp1);
15526 0 : result = (char *) ((arg1)->template);
15527 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15528 :
15529 0 : XSRETURN(argvi);
15530 : fail:
15531 :
15532 0 : SWIG_croak_null();
15533 : }
15534 : }
15535 :
15536 :
15537 0 : XS(_wrap_classObj_metadata_get) {
15538 : {
15539 : struct classObj *arg1 = (struct classObj *) 0 ;
15540 0 : void *argp1 = 0 ;
15541 : int res1 = 0 ;
15542 : int argvi = 0;
15543 : hashTableObj *result = 0 ;
15544 0 : dXSARGS;
15545 :
15546 0 : if ((items < 1) || (items > 1)) {
15547 0 : SWIG_croak("Usage: classObj_metadata_get(self);");
15548 : }
15549 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15550 0 : if (!SWIG_IsOK(res1)) {
15551 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_metadata_get" "', argument " "1"" of type '" "struct classObj *""'");
15552 : }
15553 0 : arg1 = (struct classObj *)(argp1);
15554 0 : result = (hashTableObj *)& ((arg1)->metadata);
15555 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
15556 :
15557 0 : XSRETURN(argvi);
15558 : fail:
15559 :
15560 0 : SWIG_croak_null();
15561 : }
15562 : }
15563 :
15564 :
15565 0 : XS(_wrap_classObj_validation_get) {
15566 : {
15567 : struct classObj *arg1 = (struct classObj *) 0 ;
15568 0 : void *argp1 = 0 ;
15569 : int res1 = 0 ;
15570 : int argvi = 0;
15571 : hashTableObj *result = 0 ;
15572 0 : dXSARGS;
15573 :
15574 0 : if ((items < 1) || (items > 1)) {
15575 0 : SWIG_croak("Usage: classObj_validation_get(self);");
15576 : }
15577 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15578 0 : if (!SWIG_IsOK(res1)) {
15579 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_validation_get" "', argument " "1"" of type '" "struct classObj *""'");
15580 : }
15581 0 : arg1 = (struct classObj *)(argp1);
15582 0 : result = (hashTableObj *)& ((arg1)->validation);
15583 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
15584 :
15585 0 : XSRETURN(argvi);
15586 : fail:
15587 :
15588 0 : SWIG_croak_null();
15589 : }
15590 : }
15591 :
15592 :
15593 0 : XS(_wrap_classObj_minscaledenom_set) {
15594 : {
15595 : struct classObj *arg1 = (struct classObj *) 0 ;
15596 : double arg2 ;
15597 0 : void *argp1 = 0 ;
15598 : int res1 = 0 ;
15599 : double val2 ;
15600 : int ecode2 = 0 ;
15601 : int argvi = 0;
15602 0 : dXSARGS;
15603 :
15604 0 : if ((items < 2) || (items > 2)) {
15605 0 : SWIG_croak("Usage: classObj_minscaledenom_set(self,minscaledenom);");
15606 : }
15607 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15608 0 : if (!SWIG_IsOK(res1)) {
15609 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'");
15610 : }
15611 0 : arg1 = (struct classObj *)(argp1);
15612 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15613 0 : if (!SWIG_IsOK(ecode2)) {
15614 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
15615 : }
15616 0 : arg2 = (double)(val2);
15617 0 : if (arg1) (arg1)->minscaledenom = arg2;
15618 0 : ST(argvi) = sv_newmortal();
15619 :
15620 :
15621 0 : XSRETURN(argvi);
15622 : fail:
15623 :
15624 :
15625 0 : SWIG_croak_null();
15626 : }
15627 : }
15628 :
15629 :
15630 0 : XS(_wrap_classObj_minscaledenom_get) {
15631 : {
15632 : struct classObj *arg1 = (struct classObj *) 0 ;
15633 0 : void *argp1 = 0 ;
15634 : int res1 = 0 ;
15635 : int argvi = 0;
15636 : double result;
15637 0 : dXSARGS;
15638 :
15639 0 : if ((items < 1) || (items > 1)) {
15640 0 : SWIG_croak("Usage: classObj_minscaledenom_get(self);");
15641 : }
15642 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15643 0 : if (!SWIG_IsOK(res1)) {
15644 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'");
15645 : }
15646 0 : arg1 = (struct classObj *)(argp1);
15647 0 : result = (double) ((arg1)->minscaledenom);
15648 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
15649 :
15650 0 : XSRETURN(argvi);
15651 : fail:
15652 :
15653 0 : SWIG_croak_null();
15654 : }
15655 : }
15656 :
15657 :
15658 0 : XS(_wrap_classObj_maxscaledenom_set) {
15659 : {
15660 : struct classObj *arg1 = (struct classObj *) 0 ;
15661 : double arg2 ;
15662 0 : void *argp1 = 0 ;
15663 : int res1 = 0 ;
15664 : double val2 ;
15665 : int ecode2 = 0 ;
15666 : int argvi = 0;
15667 0 : dXSARGS;
15668 :
15669 0 : if ((items < 2) || (items > 2)) {
15670 0 : SWIG_croak("Usage: classObj_maxscaledenom_set(self,maxscaledenom);");
15671 : }
15672 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15673 0 : if (!SWIG_IsOK(res1)) {
15674 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'");
15675 : }
15676 0 : arg1 = (struct classObj *)(argp1);
15677 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15678 0 : if (!SWIG_IsOK(ecode2)) {
15679 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
15680 : }
15681 0 : arg2 = (double)(val2);
15682 0 : if (arg1) (arg1)->maxscaledenom = arg2;
15683 0 : ST(argvi) = sv_newmortal();
15684 :
15685 :
15686 0 : XSRETURN(argvi);
15687 : fail:
15688 :
15689 :
15690 0 : SWIG_croak_null();
15691 : }
15692 : }
15693 :
15694 :
15695 0 : XS(_wrap_classObj_maxscaledenom_get) {
15696 : {
15697 : struct classObj *arg1 = (struct classObj *) 0 ;
15698 0 : void *argp1 = 0 ;
15699 : int res1 = 0 ;
15700 : int argvi = 0;
15701 : double result;
15702 0 : dXSARGS;
15703 :
15704 0 : if ((items < 1) || (items > 1)) {
15705 0 : SWIG_croak("Usage: classObj_maxscaledenom_get(self);");
15706 : }
15707 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15708 0 : if (!SWIG_IsOK(res1)) {
15709 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'");
15710 : }
15711 0 : arg1 = (struct classObj *)(argp1);
15712 0 : result = (double) ((arg1)->maxscaledenom);
15713 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
15714 :
15715 0 : XSRETURN(argvi);
15716 : fail:
15717 :
15718 0 : SWIG_croak_null();
15719 : }
15720 : }
15721 :
15722 :
15723 0 : XS(_wrap_classObj_minfeaturesize_set) {
15724 : {
15725 : struct classObj *arg1 = (struct classObj *) 0 ;
15726 : int arg2 ;
15727 0 : void *argp1 = 0 ;
15728 : int res1 = 0 ;
15729 : int val2 ;
15730 : int ecode2 = 0 ;
15731 : int argvi = 0;
15732 0 : dXSARGS;
15733 :
15734 0 : if ((items < 2) || (items > 2)) {
15735 0 : SWIG_croak("Usage: classObj_minfeaturesize_set(self,minfeaturesize);");
15736 : }
15737 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15738 0 : if (!SWIG_IsOK(res1)) {
15739 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_set" "', argument " "1"" of type '" "struct classObj *""'");
15740 : }
15741 0 : arg1 = (struct classObj *)(argp1);
15742 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15743 0 : if (!SWIG_IsOK(ecode2)) {
15744 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
15745 : }
15746 0 : arg2 = (int)(val2);
15747 0 : if (arg1) (arg1)->minfeaturesize = arg2;
15748 0 : ST(argvi) = sv_newmortal();
15749 :
15750 :
15751 0 : XSRETURN(argvi);
15752 : fail:
15753 :
15754 :
15755 0 : SWIG_croak_null();
15756 : }
15757 : }
15758 :
15759 :
15760 0 : XS(_wrap_classObj_minfeaturesize_get) {
15761 : {
15762 : struct classObj *arg1 = (struct classObj *) 0 ;
15763 0 : void *argp1 = 0 ;
15764 : int res1 = 0 ;
15765 : int argvi = 0;
15766 : int result;
15767 0 : dXSARGS;
15768 :
15769 0 : if ((items < 1) || (items > 1)) {
15770 0 : SWIG_croak("Usage: classObj_minfeaturesize_get(self);");
15771 : }
15772 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15773 0 : if (!SWIG_IsOK(res1)) {
15774 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_get" "', argument " "1"" of type '" "struct classObj *""'");
15775 : }
15776 0 : arg1 = (struct classObj *)(argp1);
15777 0 : result = (int) ((arg1)->minfeaturesize);
15778 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15779 :
15780 0 : XSRETURN(argvi);
15781 : fail:
15782 :
15783 0 : SWIG_croak_null();
15784 : }
15785 : }
15786 :
15787 :
15788 0 : XS(_wrap_classObj_refcount_get) {
15789 : {
15790 : struct classObj *arg1 = (struct classObj *) 0 ;
15791 0 : void *argp1 = 0 ;
15792 : int res1 = 0 ;
15793 : int argvi = 0;
15794 : int result;
15795 0 : dXSARGS;
15796 :
15797 0 : if ((items < 1) || (items > 1)) {
15798 0 : SWIG_croak("Usage: classObj_refcount_get(self);");
15799 : }
15800 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15801 0 : if (!SWIG_IsOK(res1)) {
15802 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_refcount_get" "', argument " "1"" of type '" "struct classObj *""'");
15803 : }
15804 0 : arg1 = (struct classObj *)(argp1);
15805 0 : result = (int) ((arg1)->refcount);
15806 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15807 :
15808 0 : XSRETURN(argvi);
15809 : fail:
15810 :
15811 0 : SWIG_croak_null();
15812 : }
15813 : }
15814 :
15815 :
15816 1 : XS(_wrap_classObj_layer_get) {
15817 : {
15818 : struct classObj *arg1 = (struct classObj *) 0 ;
15819 1 : void *argp1 = 0 ;
15820 : int res1 = 0 ;
15821 : int argvi = 0;
15822 : struct layerObj *result = 0 ;
15823 1 : dXSARGS;
15824 :
15825 1 : if ((items < 1) || (items > 1)) {
15826 0 : SWIG_croak("Usage: classObj_layer_get(self);");
15827 : }
15828 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15829 1 : if (!SWIG_IsOK(res1)) {
15830 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_layer_get" "', argument " "1"" of type '" "struct classObj *""'");
15831 : }
15832 1 : arg1 = (struct classObj *)(argp1);
15833 : {
15834 : /* Accessing layer */
15835 1 : result = (struct layerObj *) ((arg1)->layer);;
15836 1 : MS_REFCNT_INCR(result);
15837 : }
15838 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, 0 | SWIG_SHADOW); argvi++ ;
15839 :
15840 1 : XSRETURN(argvi);
15841 : fail:
15842 :
15843 0 : SWIG_croak_null();
15844 : }
15845 : }
15846 :
15847 :
15848 0 : XS(_wrap_classObj_leader_get) {
15849 : {
15850 : struct classObj *arg1 = (struct classObj *) 0 ;
15851 0 : void *argp1 = 0 ;
15852 : int res1 = 0 ;
15853 : int argvi = 0;
15854 : labelLeaderObj *result = 0 ;
15855 0 : dXSARGS;
15856 :
15857 0 : if ((items < 1) || (items > 1)) {
15858 0 : SWIG_croak("Usage: classObj_leader_get(self);");
15859 : }
15860 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15861 0 : if (!SWIG_IsOK(res1)) {
15862 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_get" "', argument " "1"" of type '" "struct classObj *""'");
15863 : }
15864 0 : arg1 = (struct classObj *)(argp1);
15865 0 : result = (labelLeaderObj *) ((arg1)->leader);
15866 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
15867 :
15868 0 : XSRETURN(argvi);
15869 : fail:
15870 :
15871 0 : SWIG_croak_null();
15872 : }
15873 : }
15874 :
15875 :
15876 0 : XS(_wrap_classObj_debug_set) {
15877 : {
15878 : struct classObj *arg1 = (struct classObj *) 0 ;
15879 : int arg2 ;
15880 0 : void *argp1 = 0 ;
15881 : int res1 = 0 ;
15882 : int val2 ;
15883 : int ecode2 = 0 ;
15884 : int argvi = 0;
15885 0 : dXSARGS;
15886 :
15887 0 : if ((items < 2) || (items > 2)) {
15888 0 : SWIG_croak("Usage: classObj_debug_set(self,debug);");
15889 : }
15890 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15891 0 : if (!SWIG_IsOK(res1)) {
15892 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_set" "', argument " "1"" of type '" "struct classObj *""'");
15893 : }
15894 0 : arg1 = (struct classObj *)(argp1);
15895 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15896 0 : if (!SWIG_IsOK(ecode2)) {
15897 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_debug_set" "', argument " "2"" of type '" "int""'");
15898 : }
15899 0 : arg2 = (int)(val2);
15900 0 : if (arg1) (arg1)->debug = arg2;
15901 0 : ST(argvi) = sv_newmortal();
15902 :
15903 :
15904 0 : XSRETURN(argvi);
15905 : fail:
15906 :
15907 :
15908 0 : SWIG_croak_null();
15909 : }
15910 : }
15911 :
15912 :
15913 0 : XS(_wrap_classObj_debug_get) {
15914 : {
15915 : struct classObj *arg1 = (struct classObj *) 0 ;
15916 0 : void *argp1 = 0 ;
15917 : int res1 = 0 ;
15918 : int argvi = 0;
15919 : int result;
15920 0 : dXSARGS;
15921 :
15922 0 : if ((items < 1) || (items > 1)) {
15923 0 : SWIG_croak("Usage: classObj_debug_get(self);");
15924 : }
15925 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15926 0 : if (!SWIG_IsOK(res1)) {
15927 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_get" "', argument " "1"" of type '" "struct classObj *""'");
15928 : }
15929 0 : arg1 = (struct classObj *)(argp1);
15930 0 : result = (int) ((arg1)->debug);
15931 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15932 :
15933 0 : XSRETURN(argvi);
15934 : fail:
15935 :
15936 0 : SWIG_croak_null();
15937 : }
15938 : }
15939 :
15940 :
15941 0 : XS(_wrap_classObj_keyimage_set) {
15942 : {
15943 : struct classObj *arg1 = (struct classObj *) 0 ;
15944 : char *arg2 = (char *) 0 ;
15945 0 : void *argp1 = 0 ;
15946 : int res1 = 0 ;
15947 : int res2 ;
15948 0 : char *buf2 = 0 ;
15949 0 : int alloc2 = 0 ;
15950 : int argvi = 0;
15951 0 : dXSARGS;
15952 :
15953 0 : if ((items < 2) || (items > 2)) {
15954 0 : SWIG_croak("Usage: classObj_keyimage_set(self,keyimage);");
15955 : }
15956 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15957 0 : if (!SWIG_IsOK(res1)) {
15958 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_set" "', argument " "1"" of type '" "struct classObj *""'");
15959 : }
15960 0 : arg1 = (struct classObj *)(argp1);
15961 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15962 0 : if (!SWIG_IsOK(res2)) {
15963 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_keyimage_set" "', argument " "2"" of type '" "char *""'");
15964 : }
15965 0 : arg2 = (char *)(buf2);
15966 : {
15967 0 : if (arg1->keyimage) free((char*)arg1->keyimage);
15968 0 : if (arg2) {
15969 0 : arg1->keyimage = (char *) malloc(strlen(arg2)+1);
15970 : strcpy((char*)arg1->keyimage,arg2);
15971 : } else {
15972 0 : arg1->keyimage = 0;
15973 : }
15974 : }
15975 0 : ST(argvi) = sv_newmortal();
15976 :
15977 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15978 0 : XSRETURN(argvi);
15979 : fail:
15980 :
15981 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15982 0 : SWIG_croak_null();
15983 : }
15984 : }
15985 :
15986 :
15987 0 : XS(_wrap_classObj_keyimage_get) {
15988 : {
15989 : struct classObj *arg1 = (struct classObj *) 0 ;
15990 0 : void *argp1 = 0 ;
15991 : int res1 = 0 ;
15992 : int argvi = 0;
15993 : char *result = 0 ;
15994 0 : dXSARGS;
15995 :
15996 0 : if ((items < 1) || (items > 1)) {
15997 0 : SWIG_croak("Usage: classObj_keyimage_get(self);");
15998 : }
15999 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16000 0 : if (!SWIG_IsOK(res1)) {
16001 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_get" "', argument " "1"" of type '" "struct classObj *""'");
16002 : }
16003 0 : arg1 = (struct classObj *)(argp1);
16004 0 : result = (char *) ((arg1)->keyimage);
16005 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16006 :
16007 0 : XSRETURN(argvi);
16008 : fail:
16009 :
16010 0 : SWIG_croak_null();
16011 : }
16012 : }
16013 :
16014 :
16015 0 : XS(_wrap_classObj_group_set) {
16016 : {
16017 : struct classObj *arg1 = (struct classObj *) 0 ;
16018 : char *arg2 = (char *) 0 ;
16019 0 : void *argp1 = 0 ;
16020 : int res1 = 0 ;
16021 : int res2 ;
16022 0 : char *buf2 = 0 ;
16023 0 : int alloc2 = 0 ;
16024 : int argvi = 0;
16025 0 : dXSARGS;
16026 :
16027 0 : if ((items < 2) || (items > 2)) {
16028 0 : SWIG_croak("Usage: classObj_group_set(self,group);");
16029 : }
16030 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16031 0 : if (!SWIG_IsOK(res1)) {
16032 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_set" "', argument " "1"" of type '" "struct classObj *""'");
16033 : }
16034 0 : arg1 = (struct classObj *)(argp1);
16035 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16036 0 : if (!SWIG_IsOK(res2)) {
16037 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_group_set" "', argument " "2"" of type '" "char *""'");
16038 : }
16039 0 : arg2 = (char *)(buf2);
16040 : {
16041 0 : if (arg1->group) free((char*)arg1->group);
16042 0 : if (arg2) {
16043 0 : arg1->group = (char *) malloc(strlen(arg2)+1);
16044 : strcpy((char*)arg1->group,arg2);
16045 : } else {
16046 0 : arg1->group = 0;
16047 : }
16048 : }
16049 0 : ST(argvi) = sv_newmortal();
16050 :
16051 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16052 0 : XSRETURN(argvi);
16053 : fail:
16054 :
16055 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16056 0 : SWIG_croak_null();
16057 : }
16058 : }
16059 :
16060 :
16061 0 : XS(_wrap_classObj_group_get) {
16062 : {
16063 : struct classObj *arg1 = (struct classObj *) 0 ;
16064 0 : void *argp1 = 0 ;
16065 : int res1 = 0 ;
16066 : int argvi = 0;
16067 : char *result = 0 ;
16068 0 : dXSARGS;
16069 :
16070 0 : if ((items < 1) || (items > 1)) {
16071 0 : SWIG_croak("Usage: classObj_group_get(self);");
16072 : }
16073 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16074 0 : if (!SWIG_IsOK(res1)) {
16075 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_get" "', argument " "1"" of type '" "struct classObj *""'");
16076 : }
16077 0 : arg1 = (struct classObj *)(argp1);
16078 0 : result = (char *) ((arg1)->group);
16079 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16080 :
16081 0 : XSRETURN(argvi);
16082 : fail:
16083 :
16084 0 : SWIG_croak_null();
16085 : }
16086 : }
16087 :
16088 :
16089 0 : XS(_wrap_classObj_sizeunits_set) {
16090 : {
16091 : struct classObj *arg1 = (struct classObj *) 0 ;
16092 : int arg2 ;
16093 0 : void *argp1 = 0 ;
16094 : int res1 = 0 ;
16095 : int val2 ;
16096 : int ecode2 = 0 ;
16097 : int argvi = 0;
16098 0 : dXSARGS;
16099 :
16100 0 : if ((items < 2) || (items > 2)) {
16101 0 : SWIG_croak("Usage: classObj_sizeunits_set(self,sizeunits);");
16102 : }
16103 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16104 0 : if (!SWIG_IsOK(res1)) {
16105 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_sizeunits_set" "', argument " "1"" of type '" "struct classObj *""'");
16106 : }
16107 0 : arg1 = (struct classObj *)(argp1);
16108 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16109 0 : if (!SWIG_IsOK(ecode2)) {
16110 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
16111 : }
16112 0 : arg2 = (int)(val2);
16113 0 : if (arg1) (arg1)->sizeunits = arg2;
16114 0 : ST(argvi) = sv_newmortal();
16115 :
16116 :
16117 0 : XSRETURN(argvi);
16118 : fail:
16119 :
16120 :
16121 0 : SWIG_croak_null();
16122 : }
16123 : }
16124 :
16125 :
16126 0 : XS(_wrap_classObj_sizeunits_get) {
16127 : {
16128 : struct classObj *arg1 = (struct classObj *) 0 ;
16129 0 : void *argp1 = 0 ;
16130 : int res1 = 0 ;
16131 : int argvi = 0;
16132 : int result;
16133 0 : dXSARGS;
16134 :
16135 0 : if ((items < 1) || (items > 1)) {
16136 0 : SWIG_croak("Usage: classObj_sizeunits_get(self);");
16137 : }
16138 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16139 0 : if (!SWIG_IsOK(res1)) {
16140 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_sizeunits_get" "', argument " "1"" of type '" "struct classObj *""'");
16141 : }
16142 0 : arg1 = (struct classObj *)(argp1);
16143 0 : result = (int) ((arg1)->sizeunits);
16144 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16145 :
16146 0 : XSRETURN(argvi);
16147 : fail:
16148 :
16149 0 : SWIG_croak_null();
16150 : }
16151 : }
16152 :
16153 :
16154 1 : XS(_wrap_new_classObj) {
16155 : {
16156 : layerObj *arg1 = (layerObj *) NULL ;
16157 1 : void *argp1 = 0 ;
16158 : int res1 = 0 ;
16159 : int argvi = 0;
16160 : struct classObj *result = 0 ;
16161 1 : dXSARGS;
16162 :
16163 1 : if ((items < 0) || (items > 1)) {
16164 0 : SWIG_croak("Usage: new_classObj(layer);");
16165 : }
16166 1 : if (items > 0) {
16167 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
16168 1 : if (!SWIG_IsOK(res1)) {
16169 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_classObj" "', argument " "1"" of type '" "layerObj *""'");
16170 : }
16171 1 : arg1 = (layerObj *)(argp1);
16172 : }
16173 1 : result = (struct classObj *)new_classObj(arg1);
16174 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16175 :
16176 1 : XSRETURN(argvi);
16177 : fail:
16178 :
16179 0 : SWIG_croak_null();
16180 : }
16181 : }
16182 :
16183 :
16184 1 : XS(_wrap_delete_classObj) {
16185 : {
16186 : struct classObj *arg1 = (struct classObj *) 0 ;
16187 1 : void *argp1 = 0 ;
16188 : int res1 = 0 ;
16189 : int argvi = 0;
16190 1 : dXSARGS;
16191 :
16192 1 : if ((items < 1) || (items > 1)) {
16193 0 : SWIG_croak("Usage: delete_classObj(self);");
16194 : }
16195 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, SWIG_POINTER_DISOWN | 0 );
16196 1 : if (!SWIG_IsOK(res1)) {
16197 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_classObj" "', argument " "1"" of type '" "struct classObj *""'");
16198 : }
16199 1 : arg1 = (struct classObj *)(argp1);
16200 1 : delete_classObj(arg1);
16201 1 : ST(argvi) = sv_newmortal();
16202 :
16203 1 : XSRETURN(argvi);
16204 : fail:
16205 :
16206 0 : SWIG_croak_null();
16207 : }
16208 : }
16209 :
16210 :
16211 0 : XS(_wrap_classObj_updateFromString) {
16212 : {
16213 : struct classObj *arg1 = (struct classObj *) 0 ;
16214 : char *arg2 = (char *) 0 ;
16215 0 : void *argp1 = 0 ;
16216 : int res1 = 0 ;
16217 : int res2 ;
16218 0 : char *buf2 = 0 ;
16219 0 : int alloc2 = 0 ;
16220 : int argvi = 0;
16221 : int result;
16222 0 : dXSARGS;
16223 :
16224 0 : if ((items < 2) || (items > 2)) {
16225 0 : SWIG_croak("Usage: classObj_updateFromString(self,snippet);");
16226 : }
16227 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16228 0 : if (!SWIG_IsOK(res1)) {
16229 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_updateFromString" "', argument " "1"" of type '" "struct classObj *""'");
16230 : }
16231 0 : arg1 = (struct classObj *)(argp1);
16232 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16233 0 : if (!SWIG_IsOK(res2)) {
16234 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_updateFromString" "', argument " "2"" of type '" "char *""'");
16235 : }
16236 0 : arg2 = (char *)(buf2);
16237 : result = (int)classObj_updateFromString(arg1,arg2);
16238 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16239 :
16240 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16241 0 : XSRETURN(argvi);
16242 : fail:
16243 :
16244 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16245 0 : SWIG_croak_null();
16246 : }
16247 : }
16248 :
16249 :
16250 0 : XS(_wrap_classObj_convertToString) {
16251 : {
16252 : struct classObj *arg1 = (struct classObj *) 0 ;
16253 0 : void *argp1 = 0 ;
16254 : int res1 = 0 ;
16255 : int argvi = 0;
16256 : char *result = 0 ;
16257 0 : dXSARGS;
16258 :
16259 0 : if ((items < 1) || (items > 1)) {
16260 0 : SWIG_croak("Usage: classObj_convertToString(self);");
16261 : }
16262 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16263 0 : if (!SWIG_IsOK(res1)) {
16264 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_convertToString" "', argument " "1"" of type '" "struct classObj *""'");
16265 : }
16266 0 : arg1 = (struct classObj *)(argp1);
16267 : result = (char *)classObj_convertToString(arg1);
16268 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16269 :
16270 0 : free((char*)result);
16271 0 : XSRETURN(argvi);
16272 : fail:
16273 :
16274 0 : SWIG_croak_null();
16275 : }
16276 : }
16277 :
16278 :
16279 0 : XS(_wrap_classObj_clone) {
16280 : {
16281 : struct classObj *arg1 = (struct classObj *) 0 ;
16282 0 : void *argp1 = 0 ;
16283 : int res1 = 0 ;
16284 : int argvi = 0;
16285 : classObj *result = 0 ;
16286 0 : dXSARGS;
16287 :
16288 0 : if ((items < 1) || (items > 1)) {
16289 0 : SWIG_croak("Usage: classObj_clone(self);");
16290 : }
16291 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16292 0 : if (!SWIG_IsOK(res1)) {
16293 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_clone" "', argument " "1"" of type '" "struct classObj *""'");
16294 : }
16295 0 : arg1 = (struct classObj *)(argp1);
16296 0 : result = (classObj *)classObj_clone(arg1);
16297 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16298 :
16299 0 : XSRETURN(argvi);
16300 : fail:
16301 :
16302 0 : SWIG_croak_null();
16303 : }
16304 : }
16305 :
16306 :
16307 0 : XS(_wrap_classObj_setExpression) {
16308 : {
16309 : struct classObj *arg1 = (struct classObj *) 0 ;
16310 : char *arg2 = (char *) 0 ;
16311 0 : void *argp1 = 0 ;
16312 : int res1 = 0 ;
16313 : int res2 ;
16314 0 : char *buf2 = 0 ;
16315 0 : int alloc2 = 0 ;
16316 : int argvi = 0;
16317 : int result;
16318 0 : dXSARGS;
16319 :
16320 0 : if ((items < 2) || (items > 2)) {
16321 0 : SWIG_croak("Usage: classObj_setExpression(self,expression);");
16322 : }
16323 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16324 0 : if (!SWIG_IsOK(res1)) {
16325 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setExpression" "', argument " "1"" of type '" "struct classObj *""'");
16326 : }
16327 0 : arg1 = (struct classObj *)(argp1);
16328 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16329 0 : if (!SWIG_IsOK(res2)) {
16330 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setExpression" "', argument " "2"" of type '" "char *""'");
16331 : }
16332 0 : arg2 = (char *)(buf2);
16333 0 : result = (int)classObj_setExpression(arg1,arg2);
16334 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16335 :
16336 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16337 0 : XSRETURN(argvi);
16338 : fail:
16339 :
16340 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16341 0 : SWIG_croak_null();
16342 : }
16343 : }
16344 :
16345 :
16346 0 : XS(_wrap_classObj_getExpressionString) {
16347 : {
16348 : struct classObj *arg1 = (struct classObj *) 0 ;
16349 0 : void *argp1 = 0 ;
16350 : int res1 = 0 ;
16351 : int argvi = 0;
16352 : char *result = 0 ;
16353 0 : dXSARGS;
16354 :
16355 0 : if ((items < 1) || (items > 1)) {
16356 0 : SWIG_croak("Usage: classObj_getExpressionString(self);");
16357 : }
16358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16359 0 : if (!SWIG_IsOK(res1)) {
16360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getExpressionString" "', argument " "1"" of type '" "struct classObj *""'");
16361 : }
16362 0 : arg1 = (struct classObj *)(argp1);
16363 : result = (char *)classObj_getExpressionString(arg1);
16364 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16365 :
16366 0 : free((char*)result);
16367 0 : XSRETURN(argvi);
16368 : fail:
16369 :
16370 0 : SWIG_croak_null();
16371 : }
16372 : }
16373 :
16374 :
16375 0 : XS(_wrap_classObj_setText) {
16376 : {
16377 : struct classObj *arg1 = (struct classObj *) 0 ;
16378 : char *arg2 = (char *) 0 ;
16379 0 : void *argp1 = 0 ;
16380 : int res1 = 0 ;
16381 : int res2 ;
16382 0 : char *buf2 = 0 ;
16383 0 : int alloc2 = 0 ;
16384 : int argvi = 0;
16385 : int result;
16386 0 : dXSARGS;
16387 :
16388 0 : if ((items < 2) || (items > 2)) {
16389 0 : SWIG_croak("Usage: classObj_setText(self,text);");
16390 : }
16391 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16392 0 : if (!SWIG_IsOK(res1)) {
16393 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setText" "', argument " "1"" of type '" "struct classObj *""'");
16394 : }
16395 0 : arg1 = (struct classObj *)(argp1);
16396 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16397 0 : if (!SWIG_IsOK(res2)) {
16398 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setText" "', argument " "2"" of type '" "char *""'");
16399 : }
16400 0 : arg2 = (char *)(buf2);
16401 0 : result = (int)classObj_setText(arg1,arg2);
16402 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16403 :
16404 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16405 0 : XSRETURN(argvi);
16406 : fail:
16407 :
16408 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16409 0 : SWIG_croak_null();
16410 : }
16411 : }
16412 :
16413 :
16414 0 : XS(_wrap_classObj_getTextString) {
16415 : {
16416 : struct classObj *arg1 = (struct classObj *) 0 ;
16417 0 : void *argp1 = 0 ;
16418 : int res1 = 0 ;
16419 : int argvi = 0;
16420 : char *result = 0 ;
16421 0 : dXSARGS;
16422 :
16423 0 : if ((items < 1) || (items > 1)) {
16424 0 : SWIG_croak("Usage: classObj_getTextString(self);");
16425 : }
16426 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16427 0 : if (!SWIG_IsOK(res1)) {
16428 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getTextString" "', argument " "1"" of type '" "struct classObj *""'");
16429 : }
16430 0 : arg1 = (struct classObj *)(argp1);
16431 : result = (char *)classObj_getTextString(arg1);
16432 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16433 :
16434 0 : free((char*)result);
16435 0 : XSRETURN(argvi);
16436 : fail:
16437 :
16438 0 : SWIG_croak_null();
16439 : }
16440 : }
16441 :
16442 :
16443 0 : XS(_wrap_classObj_getMetaData) {
16444 : {
16445 : struct classObj *arg1 = (struct classObj *) 0 ;
16446 : char *arg2 = (char *) 0 ;
16447 0 : void *argp1 = 0 ;
16448 : int res1 = 0 ;
16449 : int res2 ;
16450 0 : char *buf2 = 0 ;
16451 0 : int alloc2 = 0 ;
16452 : int argvi = 0;
16453 : char *result = 0 ;
16454 0 : dXSARGS;
16455 :
16456 0 : if ((items < 2) || (items > 2)) {
16457 0 : SWIG_croak("Usage: classObj_getMetaData(self,name);");
16458 : }
16459 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16460 0 : if (!SWIG_IsOK(res1)) {
16461 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getMetaData" "', argument " "1"" of type '" "struct classObj *""'");
16462 : }
16463 0 : arg1 = (struct classObj *)(argp1);
16464 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16465 0 : if (!SWIG_IsOK(res2)) {
16466 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getMetaData" "', argument " "2"" of type '" "char *""'");
16467 : }
16468 0 : arg2 = (char *)(buf2);
16469 0 : result = (char *)classObj_getMetaData(arg1,arg2);
16470 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16471 :
16472 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16473 0 : XSRETURN(argvi);
16474 : fail:
16475 :
16476 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16477 0 : SWIG_croak_null();
16478 : }
16479 : }
16480 :
16481 :
16482 0 : XS(_wrap_classObj_setMetaData) {
16483 : {
16484 : struct classObj *arg1 = (struct classObj *) 0 ;
16485 : char *arg2 = (char *) 0 ;
16486 : char *arg3 = (char *) 0 ;
16487 0 : void *argp1 = 0 ;
16488 : int res1 = 0 ;
16489 : int res2 ;
16490 0 : char *buf2 = 0 ;
16491 0 : int alloc2 = 0 ;
16492 : int res3 ;
16493 0 : char *buf3 = 0 ;
16494 0 : int alloc3 = 0 ;
16495 : int argvi = 0;
16496 : int result;
16497 0 : dXSARGS;
16498 :
16499 0 : if ((items < 3) || (items > 3)) {
16500 0 : SWIG_croak("Usage: classObj_setMetaData(self,name,value);");
16501 : }
16502 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16503 0 : if (!SWIG_IsOK(res1)) {
16504 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setMetaData" "', argument " "1"" of type '" "struct classObj *""'");
16505 : }
16506 0 : arg1 = (struct classObj *)(argp1);
16507 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16508 0 : if (!SWIG_IsOK(res2)) {
16509 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setMetaData" "', argument " "2"" of type '" "char *""'");
16510 : }
16511 0 : arg2 = (char *)(buf2);
16512 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
16513 0 : if (!SWIG_IsOK(res3)) {
16514 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_setMetaData" "', argument " "3"" of type '" "char *""'");
16515 : }
16516 0 : arg3 = (char *)(buf3);
16517 : result = (int)classObj_setMetaData(arg1,arg2,arg3);
16518 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16519 :
16520 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16521 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16522 0 : XSRETURN(argvi);
16523 : fail:
16524 :
16525 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16526 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16527 0 : SWIG_croak_null();
16528 : }
16529 : }
16530 :
16531 :
16532 0 : XS(_wrap_classObj_getFirstMetaDataKey) {
16533 : {
16534 : struct classObj *arg1 = (struct classObj *) 0 ;
16535 0 : void *argp1 = 0 ;
16536 : int res1 = 0 ;
16537 : int argvi = 0;
16538 : char *result = 0 ;
16539 0 : dXSARGS;
16540 :
16541 0 : if ((items < 1) || (items > 1)) {
16542 0 : SWIG_croak("Usage: classObj_getFirstMetaDataKey(self);");
16543 : }
16544 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16545 0 : if (!SWIG_IsOK(res1)) {
16546 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'");
16547 : }
16548 0 : arg1 = (struct classObj *)(argp1);
16549 : result = (char *)classObj_getFirstMetaDataKey(arg1);
16550 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16551 :
16552 0 : XSRETURN(argvi);
16553 : fail:
16554 :
16555 0 : SWIG_croak_null();
16556 : }
16557 : }
16558 :
16559 :
16560 0 : XS(_wrap_classObj_getNextMetaDataKey) {
16561 : {
16562 : struct classObj *arg1 = (struct classObj *) 0 ;
16563 : char *arg2 = (char *) 0 ;
16564 0 : void *argp1 = 0 ;
16565 : int res1 = 0 ;
16566 : int res2 ;
16567 0 : char *buf2 = 0 ;
16568 0 : int alloc2 = 0 ;
16569 : int argvi = 0;
16570 : char *result = 0 ;
16571 0 : dXSARGS;
16572 :
16573 0 : if ((items < 2) || (items > 2)) {
16574 0 : SWIG_croak("Usage: classObj_getNextMetaDataKey(self,lastkey);");
16575 : }
16576 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16577 0 : if (!SWIG_IsOK(res1)) {
16578 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'");
16579 : }
16580 0 : arg1 = (struct classObj *)(argp1);
16581 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16582 0 : if (!SWIG_IsOK(res2)) {
16583 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
16584 : }
16585 0 : arg2 = (char *)(buf2);
16586 : result = (char *)classObj_getNextMetaDataKey(arg1,arg2);
16587 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16588 :
16589 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16590 0 : XSRETURN(argvi);
16591 : fail:
16592 :
16593 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16594 0 : SWIG_croak_null();
16595 : }
16596 : }
16597 :
16598 :
16599 0 : XS(_wrap_classObj_drawLegendIcon) {
16600 : {
16601 : struct classObj *arg1 = (struct classObj *) 0 ;
16602 : mapObj *arg2 = (mapObj *) 0 ;
16603 : layerObj *arg3 = (layerObj *) 0 ;
16604 : int arg4 ;
16605 : int arg5 ;
16606 : imageObj *arg6 = (imageObj *) 0 ;
16607 : int arg7 ;
16608 : int arg8 ;
16609 0 : void *argp1 = 0 ;
16610 : int res1 = 0 ;
16611 0 : void *argp2 = 0 ;
16612 : int res2 = 0 ;
16613 0 : void *argp3 = 0 ;
16614 : int res3 = 0 ;
16615 : int val4 ;
16616 : int ecode4 = 0 ;
16617 : int val5 ;
16618 : int ecode5 = 0 ;
16619 0 : void *argp6 = 0 ;
16620 : int res6 = 0 ;
16621 : int val7 ;
16622 : int ecode7 = 0 ;
16623 : int val8 ;
16624 : int ecode8 = 0 ;
16625 : int argvi = 0;
16626 : int result;
16627 0 : dXSARGS;
16628 :
16629 0 : if ((items < 8) || (items > 8)) {
16630 0 : SWIG_croak("Usage: classObj_drawLegendIcon(self,map,layer,width,height,dstImage,dstX,dstY);");
16631 : }
16632 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16633 0 : if (!SWIG_IsOK(res1)) {
16634 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_drawLegendIcon" "', argument " "1"" of type '" "struct classObj *""'");
16635 : }
16636 0 : arg1 = (struct classObj *)(argp1);
16637 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
16638 0 : if (!SWIG_IsOK(res2)) {
16639 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_drawLegendIcon" "', argument " "2"" of type '" "mapObj *""'");
16640 : }
16641 0 : arg2 = (mapObj *)(argp2);
16642 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
16643 0 : if (!SWIG_IsOK(res3)) {
16644 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_drawLegendIcon" "', argument " "3"" of type '" "layerObj *""'");
16645 : }
16646 0 : arg3 = (layerObj *)(argp3);
16647 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
16648 0 : if (!SWIG_IsOK(ecode4)) {
16649 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_drawLegendIcon" "', argument " "4"" of type '" "int""'");
16650 : }
16651 0 : arg4 = (int)(val4);
16652 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
16653 0 : if (!SWIG_IsOK(ecode5)) {
16654 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_drawLegendIcon" "', argument " "5"" of type '" "int""'");
16655 : }
16656 0 : arg5 = (int)(val5);
16657 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_imageObj, 0 | 0 );
16658 0 : if (!SWIG_IsOK(res6)) {
16659 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "classObj_drawLegendIcon" "', argument " "6"" of type '" "imageObj *""'");
16660 : }
16661 0 : arg6 = (imageObj *)(argp6);
16662 0 : ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
16663 0 : if (!SWIG_IsOK(ecode7)) {
16664 0 : SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "classObj_drawLegendIcon" "', argument " "7"" of type '" "int""'");
16665 : }
16666 0 : arg7 = (int)(val7);
16667 0 : ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
16668 0 : if (!SWIG_IsOK(ecode8)) {
16669 0 : SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "classObj_drawLegendIcon" "', argument " "8"" of type '" "int""'");
16670 : }
16671 0 : arg8 = (int)(val8);
16672 0 : result = (int)classObj_drawLegendIcon(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
16673 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16674 :
16675 :
16676 :
16677 :
16678 :
16679 :
16680 :
16681 :
16682 0 : XSRETURN(argvi);
16683 : fail:
16684 :
16685 :
16686 :
16687 :
16688 :
16689 :
16690 :
16691 :
16692 0 : SWIG_croak_null();
16693 : }
16694 : }
16695 :
16696 :
16697 0 : XS(_wrap_classObj_createLegendIcon) {
16698 : {
16699 : struct classObj *arg1 = (struct classObj *) 0 ;
16700 : mapObj *arg2 = (mapObj *) 0 ;
16701 : layerObj *arg3 = (layerObj *) 0 ;
16702 : int arg4 ;
16703 : int arg5 ;
16704 0 : void *argp1 = 0 ;
16705 : int res1 = 0 ;
16706 0 : void *argp2 = 0 ;
16707 : int res2 = 0 ;
16708 0 : void *argp3 = 0 ;
16709 : int res3 = 0 ;
16710 : int val4 ;
16711 : int ecode4 = 0 ;
16712 : int val5 ;
16713 : int ecode5 = 0 ;
16714 : int argvi = 0;
16715 : imageObj *result = 0 ;
16716 0 : dXSARGS;
16717 :
16718 0 : if ((items < 5) || (items > 5)) {
16719 0 : SWIG_croak("Usage: classObj_createLegendIcon(self,map,layer,width,height);");
16720 : }
16721 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16722 0 : if (!SWIG_IsOK(res1)) {
16723 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_createLegendIcon" "', argument " "1"" of type '" "struct classObj *""'");
16724 : }
16725 0 : arg1 = (struct classObj *)(argp1);
16726 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
16727 0 : if (!SWIG_IsOK(res2)) {
16728 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_createLegendIcon" "', argument " "2"" of type '" "mapObj *""'");
16729 : }
16730 0 : arg2 = (mapObj *)(argp2);
16731 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
16732 0 : if (!SWIG_IsOK(res3)) {
16733 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_createLegendIcon" "', argument " "3"" of type '" "layerObj *""'");
16734 : }
16735 0 : arg3 = (layerObj *)(argp3);
16736 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
16737 0 : if (!SWIG_IsOK(ecode4)) {
16738 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_createLegendIcon" "', argument " "4"" of type '" "int""'");
16739 : }
16740 0 : arg4 = (int)(val4);
16741 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
16742 0 : if (!SWIG_IsOK(ecode5)) {
16743 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_createLegendIcon" "', argument " "5"" of type '" "int""'");
16744 : }
16745 0 : arg5 = (int)(val5);
16746 : result = (imageObj *)classObj_createLegendIcon(arg1,arg2,arg3,arg4,arg5);
16747 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16748 :
16749 :
16750 :
16751 :
16752 :
16753 0 : XSRETURN(argvi);
16754 : fail:
16755 :
16756 :
16757 :
16758 :
16759 :
16760 0 : SWIG_croak_null();
16761 : }
16762 : }
16763 :
16764 :
16765 0 : XS(_wrap_classObj_getLabel) {
16766 : {
16767 : struct classObj *arg1 = (struct classObj *) 0 ;
16768 : int arg2 ;
16769 0 : void *argp1 = 0 ;
16770 : int res1 = 0 ;
16771 : int val2 ;
16772 : int ecode2 = 0 ;
16773 : int argvi = 0;
16774 : labelObj *result = 0 ;
16775 0 : dXSARGS;
16776 :
16777 0 : if ((items < 2) || (items > 2)) {
16778 0 : SWIG_croak("Usage: classObj_getLabel(self,i);");
16779 : }
16780 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16781 0 : if (!SWIG_IsOK(res1)) {
16782 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getLabel" "', argument " "1"" of type '" "struct classObj *""'");
16783 : }
16784 0 : arg1 = (struct classObj *)(argp1);
16785 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16786 0 : if (!SWIG_IsOK(ecode2)) {
16787 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getLabel" "', argument " "2"" of type '" "int""'");
16788 : }
16789 0 : arg2 = (int)(val2);
16790 0 : result = (labelObj *)classObj_getLabel(arg1,arg2);
16791 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16792 :
16793 :
16794 0 : XSRETURN(argvi);
16795 : fail:
16796 :
16797 :
16798 0 : SWIG_croak_null();
16799 : }
16800 : }
16801 :
16802 :
16803 0 : XS(_wrap_classObj_addLabel) {
16804 : {
16805 : struct classObj *arg1 = (struct classObj *) 0 ;
16806 : labelObj *arg2 = (labelObj *) 0 ;
16807 0 : void *argp1 = 0 ;
16808 : int res1 = 0 ;
16809 0 : void *argp2 = 0 ;
16810 : int res2 = 0 ;
16811 : int argvi = 0;
16812 : int result;
16813 0 : dXSARGS;
16814 :
16815 0 : if ((items < 2) || (items > 2)) {
16816 0 : SWIG_croak("Usage: classObj_addLabel(self,label);");
16817 : }
16818 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16819 0 : if (!SWIG_IsOK(res1)) {
16820 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_addLabel" "', argument " "1"" of type '" "struct classObj *""'");
16821 : }
16822 0 : arg1 = (struct classObj *)(argp1);
16823 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 | 0 );
16824 0 : if (!SWIG_IsOK(res2)) {
16825 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_addLabel" "', argument " "2"" of type '" "labelObj *""'");
16826 : }
16827 0 : arg2 = (labelObj *)(argp2);
16828 : result = (int)classObj_addLabel(arg1,arg2);
16829 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16830 :
16831 :
16832 0 : XSRETURN(argvi);
16833 : fail:
16834 :
16835 :
16836 0 : SWIG_croak_null();
16837 : }
16838 : }
16839 :
16840 :
16841 0 : XS(_wrap_classObj_removeLabel) {
16842 : {
16843 : struct classObj *arg1 = (struct classObj *) 0 ;
16844 : int arg2 ;
16845 0 : void *argp1 = 0 ;
16846 : int res1 = 0 ;
16847 : int val2 ;
16848 : int ecode2 = 0 ;
16849 : int argvi = 0;
16850 : labelObj *result = 0 ;
16851 0 : dXSARGS;
16852 :
16853 0 : if ((items < 2) || (items > 2)) {
16854 0 : SWIG_croak("Usage: classObj_removeLabel(self,index);");
16855 : }
16856 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16857 0 : if (!SWIG_IsOK(res1)) {
16858 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeLabel" "', argument " "1"" of type '" "struct classObj *""'");
16859 : }
16860 0 : arg1 = (struct classObj *)(argp1);
16861 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16862 0 : if (!SWIG_IsOK(ecode2)) {
16863 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeLabel" "', argument " "2"" of type '" "int""'");
16864 : }
16865 0 : arg2 = (int)(val2);
16866 0 : result = (labelObj *)classObj_removeLabel(arg1,arg2);
16867 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16868 :
16869 :
16870 0 : XSRETURN(argvi);
16871 : fail:
16872 :
16873 :
16874 0 : SWIG_croak_null();
16875 : }
16876 : }
16877 :
16878 :
16879 0 : XS(_wrap_classObj_getStyle) {
16880 : {
16881 : struct classObj *arg1 = (struct classObj *) 0 ;
16882 : int arg2 ;
16883 0 : void *argp1 = 0 ;
16884 : int res1 = 0 ;
16885 : int val2 ;
16886 : int ecode2 = 0 ;
16887 : int argvi = 0;
16888 : styleObj *result = 0 ;
16889 0 : dXSARGS;
16890 :
16891 0 : if ((items < 2) || (items > 2)) {
16892 0 : SWIG_croak("Usage: classObj_getStyle(self,i);");
16893 : }
16894 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16895 0 : if (!SWIG_IsOK(res1)) {
16896 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getStyle" "', argument " "1"" of type '" "struct classObj *""'");
16897 : }
16898 0 : arg1 = (struct classObj *)(argp1);
16899 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16900 0 : if (!SWIG_IsOK(ecode2)) {
16901 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getStyle" "', argument " "2"" of type '" "int""'");
16902 : }
16903 0 : arg2 = (int)(val2);
16904 0 : result = (styleObj *)classObj_getStyle(arg1,arg2);
16905 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16906 :
16907 :
16908 0 : XSRETURN(argvi);
16909 : fail:
16910 :
16911 :
16912 0 : SWIG_croak_null();
16913 : }
16914 : }
16915 :
16916 :
16917 0 : XS(_wrap_classObj_insertStyle) {
16918 : {
16919 : struct classObj *arg1 = (struct classObj *) 0 ;
16920 : styleObj *arg2 = (styleObj *) 0 ;
16921 : int arg3 = (int) -1 ;
16922 0 : void *argp1 = 0 ;
16923 : int res1 = 0 ;
16924 0 : void *argp2 = 0 ;
16925 : int res2 = 0 ;
16926 : int val3 ;
16927 : int ecode3 = 0 ;
16928 : int argvi = 0;
16929 : int result;
16930 0 : dXSARGS;
16931 :
16932 0 : if ((items < 2) || (items > 3)) {
16933 0 : SWIG_croak("Usage: classObj_insertStyle(self,style,index);");
16934 : }
16935 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16936 0 : if (!SWIG_IsOK(res1)) {
16937 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_insertStyle" "', argument " "1"" of type '" "struct classObj *""'");
16938 : }
16939 0 : arg1 = (struct classObj *)(argp1);
16940 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 | 0 );
16941 0 : if (!SWIG_IsOK(res2)) {
16942 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'");
16943 : }
16944 0 : arg2 = (styleObj *)(argp2);
16945 0 : if (items > 2) {
16946 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16947 0 : if (!SWIG_IsOK(ecode3)) {
16948 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "classObj_insertStyle" "', argument " "3"" of type '" "int""'");
16949 : }
16950 0 : arg3 = (int)(val3);
16951 : }
16952 : result = (int)classObj_insertStyle(arg1,arg2,arg3);
16953 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16954 :
16955 :
16956 :
16957 0 : XSRETURN(argvi);
16958 : fail:
16959 :
16960 :
16961 :
16962 0 : SWIG_croak_null();
16963 : }
16964 : }
16965 :
16966 :
16967 0 : XS(_wrap_classObj_removeStyle) {
16968 : {
16969 : struct classObj *arg1 = (struct classObj *) 0 ;
16970 : int arg2 ;
16971 0 : void *argp1 = 0 ;
16972 : int res1 = 0 ;
16973 : int val2 ;
16974 : int ecode2 = 0 ;
16975 : int argvi = 0;
16976 : styleObj *result = 0 ;
16977 0 : dXSARGS;
16978 :
16979 0 : if ((items < 2) || (items > 2)) {
16980 0 : SWIG_croak("Usage: classObj_removeStyle(self,index);");
16981 : }
16982 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16983 0 : if (!SWIG_IsOK(res1)) {
16984 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeStyle" "', argument " "1"" of type '" "struct classObj *""'");
16985 : }
16986 0 : arg1 = (struct classObj *)(argp1);
16987 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16988 0 : if (!SWIG_IsOK(ecode2)) {
16989 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeStyle" "', argument " "2"" of type '" "int""'");
16990 : }
16991 0 : arg2 = (int)(val2);
16992 0 : result = (styleObj *)classObj_removeStyle(arg1,arg2);
16993 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16994 :
16995 :
16996 0 : XSRETURN(argvi);
16997 : fail:
16998 :
16999 :
17000 0 : SWIG_croak_null();
17001 : }
17002 : }
17003 :
17004 :
17005 0 : XS(_wrap_classObj_moveStyleUp) {
17006 : {
17007 : struct classObj *arg1 = (struct classObj *) 0 ;
17008 : int arg2 ;
17009 0 : void *argp1 = 0 ;
17010 : int res1 = 0 ;
17011 : int val2 ;
17012 : int ecode2 = 0 ;
17013 : int argvi = 0;
17014 : int result;
17015 0 : dXSARGS;
17016 :
17017 0 : if ((items < 2) || (items > 2)) {
17018 0 : SWIG_croak("Usage: classObj_moveStyleUp(self,index);");
17019 : }
17020 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
17021 0 : if (!SWIG_IsOK(res1)) {
17022 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleUp" "', argument " "1"" of type '" "struct classObj *""'");
17023 : }
17024 0 : arg1 = (struct classObj *)(argp1);
17025 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17026 0 : if (!SWIG_IsOK(ecode2)) {
17027 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
17028 : }
17029 0 : arg2 = (int)(val2);
17030 : result = (int)classObj_moveStyleUp(arg1,arg2);
17031 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17032 :
17033 :
17034 0 : XSRETURN(argvi);
17035 : fail:
17036 :
17037 :
17038 0 : SWIG_croak_null();
17039 : }
17040 : }
17041 :
17042 :
17043 0 : XS(_wrap_classObj_moveStyleDown) {
17044 : {
17045 : struct classObj *arg1 = (struct classObj *) 0 ;
17046 : int arg2 ;
17047 0 : void *argp1 = 0 ;
17048 : int res1 = 0 ;
17049 : int val2 ;
17050 : int ecode2 = 0 ;
17051 : int argvi = 0;
17052 : int result;
17053 0 : dXSARGS;
17054 :
17055 0 : if ((items < 2) || (items > 2)) {
17056 0 : SWIG_croak("Usage: classObj_moveStyleDown(self,index);");
17057 : }
17058 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
17059 0 : if (!SWIG_IsOK(res1)) {
17060 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleDown" "', argument " "1"" of type '" "struct classObj *""'");
17061 : }
17062 0 : arg1 = (struct classObj *)(argp1);
17063 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17064 0 : if (!SWIG_IsOK(ecode2)) {
17065 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
17066 : }
17067 0 : arg2 = (int)(val2);
17068 : result = (int)classObj_moveStyleDown(arg1,arg2);
17069 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17070 :
17071 :
17072 0 : XSRETURN(argvi);
17073 : fail:
17074 :
17075 :
17076 0 : SWIG_croak_null();
17077 : }
17078 : }
17079 :
17080 :
17081 0 : XS(_wrap_labelCacheMemberObj_textsymbols_get) {
17082 : {
17083 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17084 0 : void *argp1 = 0 ;
17085 : int res1 = 0 ;
17086 : int argvi = 0;
17087 : textSymbolObj **result = 0 ;
17088 0 : dXSARGS;
17089 :
17090 0 : if ((items < 1) || (items > 1)) {
17091 0 : SWIG_croak("Usage: labelCacheMemberObj_textsymbols_get(self);");
17092 : }
17093 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17094 0 : if (!SWIG_IsOK(res1)) {
17095 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_textsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17096 : }
17097 0 : arg1 = (labelCacheMemberObj *)(argp1);
17098 0 : result = (textSymbolObj **) ((arg1)->textsymbols);
17099 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_textSymbolObj, 0 | 0); argvi++ ;
17100 :
17101 0 : XSRETURN(argvi);
17102 : fail:
17103 :
17104 0 : SWIG_croak_null();
17105 : }
17106 : }
17107 :
17108 :
17109 0 : XS(_wrap_labelCacheMemberObj_numtextsymbols_get) {
17110 : {
17111 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17112 0 : void *argp1 = 0 ;
17113 : int res1 = 0 ;
17114 : int argvi = 0;
17115 : int result;
17116 0 : dXSARGS;
17117 :
17118 0 : if ((items < 1) || (items > 1)) {
17119 0 : SWIG_croak("Usage: labelCacheMemberObj_numtextsymbols_get(self);");
17120 : }
17121 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17122 0 : if (!SWIG_IsOK(res1)) {
17123 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_numtextsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17124 : }
17125 0 : arg1 = (labelCacheMemberObj *)(argp1);
17126 0 : result = (int) ((arg1)->numtextsymbols);
17127 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17128 :
17129 0 : XSRETURN(argvi);
17130 : fail:
17131 :
17132 0 : SWIG_croak_null();
17133 : }
17134 : }
17135 :
17136 :
17137 0 : XS(_wrap_labelCacheMemberObj_layerindex_get) {
17138 : {
17139 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17140 0 : void *argp1 = 0 ;
17141 : int res1 = 0 ;
17142 : int argvi = 0;
17143 : int result;
17144 0 : dXSARGS;
17145 :
17146 0 : if ((items < 1) || (items > 1)) {
17147 0 : SWIG_croak("Usage: labelCacheMemberObj_layerindex_get(self);");
17148 : }
17149 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17150 0 : if (!SWIG_IsOK(res1)) {
17151 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_layerindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17152 : }
17153 0 : arg1 = (labelCacheMemberObj *)(argp1);
17154 0 : result = (int) ((arg1)->layerindex);
17155 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17156 :
17157 0 : XSRETURN(argvi);
17158 : fail:
17159 :
17160 0 : SWIG_croak_null();
17161 : }
17162 : }
17163 :
17164 :
17165 0 : XS(_wrap_labelCacheMemberObj_classindex_get) {
17166 : {
17167 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17168 0 : void *argp1 = 0 ;
17169 : int res1 = 0 ;
17170 : int argvi = 0;
17171 : int result;
17172 0 : dXSARGS;
17173 :
17174 0 : if ((items < 1) || (items > 1)) {
17175 0 : SWIG_croak("Usage: labelCacheMemberObj_classindex_get(self);");
17176 : }
17177 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17178 0 : if (!SWIG_IsOK(res1)) {
17179 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_classindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17180 : }
17181 0 : arg1 = (labelCacheMemberObj *)(argp1);
17182 0 : result = (int) ((arg1)->classindex);
17183 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17184 :
17185 0 : XSRETURN(argvi);
17186 : fail:
17187 :
17188 0 : SWIG_croak_null();
17189 : }
17190 : }
17191 :
17192 :
17193 0 : XS(_wrap_labelCacheMemberObj_point_get) {
17194 : {
17195 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17196 0 : void *argp1 = 0 ;
17197 : int res1 = 0 ;
17198 : int argvi = 0;
17199 : pointObj *result = 0 ;
17200 0 : dXSARGS;
17201 :
17202 0 : if ((items < 1) || (items > 1)) {
17203 0 : SWIG_croak("Usage: labelCacheMemberObj_point_get(self);");
17204 : }
17205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17206 0 : if (!SWIG_IsOK(res1)) {
17207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_point_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17208 : }
17209 0 : arg1 = (labelCacheMemberObj *)(argp1);
17210 0 : result = (pointObj *)& ((arg1)->point);
17211 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
17212 :
17213 0 : XSRETURN(argvi);
17214 : fail:
17215 :
17216 0 : SWIG_croak_null();
17217 : }
17218 : }
17219 :
17220 :
17221 0 : XS(_wrap_labelCacheMemberObj_bbox_get) {
17222 : {
17223 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17224 0 : void *argp1 = 0 ;
17225 : int res1 = 0 ;
17226 : int argvi = 0;
17227 : rectObj *result = 0 ;
17228 0 : dXSARGS;
17229 :
17230 0 : if ((items < 1) || (items > 1)) {
17231 0 : SWIG_croak("Usage: labelCacheMemberObj_bbox_get(self);");
17232 : }
17233 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17234 0 : if (!SWIG_IsOK(res1)) {
17235 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_bbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17236 : }
17237 0 : arg1 = (labelCacheMemberObj *)(argp1);
17238 0 : result = (rectObj *)& ((arg1)->bbox);
17239 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17240 :
17241 0 : XSRETURN(argvi);
17242 : fail:
17243 :
17244 0 : SWIG_croak_null();
17245 : }
17246 : }
17247 :
17248 :
17249 0 : XS(_wrap_labelCacheMemberObj_status_get) {
17250 : {
17251 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17252 0 : void *argp1 = 0 ;
17253 : int res1 = 0 ;
17254 : int argvi = 0;
17255 : int result;
17256 0 : dXSARGS;
17257 :
17258 0 : if ((items < 1) || (items > 1)) {
17259 0 : SWIG_croak("Usage: labelCacheMemberObj_status_get(self);");
17260 : }
17261 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17262 0 : if (!SWIG_IsOK(res1)) {
17263 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_status_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17264 : }
17265 0 : arg1 = (labelCacheMemberObj *)(argp1);
17266 0 : result = (int) ((arg1)->status);
17267 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17268 :
17269 0 : XSRETURN(argvi);
17270 : fail:
17271 :
17272 0 : SWIG_croak_null();
17273 : }
17274 : }
17275 :
17276 :
17277 0 : XS(_wrap_labelCacheMemberObj_markerid_get) {
17278 : {
17279 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17280 0 : void *argp1 = 0 ;
17281 : int res1 = 0 ;
17282 : int argvi = 0;
17283 : int result;
17284 0 : dXSARGS;
17285 :
17286 0 : if ((items < 1) || (items > 1)) {
17287 0 : SWIG_croak("Usage: labelCacheMemberObj_markerid_get(self);");
17288 : }
17289 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17290 0 : if (!SWIG_IsOK(res1)) {
17291 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_markerid_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17292 : }
17293 0 : arg1 = (labelCacheMemberObj *)(argp1);
17294 0 : result = (int) ((arg1)->markerid);
17295 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17296 :
17297 0 : XSRETURN(argvi);
17298 : fail:
17299 :
17300 0 : SWIG_croak_null();
17301 : }
17302 : }
17303 :
17304 :
17305 0 : XS(_wrap_labelCacheMemberObj_leaderline_get) {
17306 : {
17307 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17308 0 : void *argp1 = 0 ;
17309 : int res1 = 0 ;
17310 : int argvi = 0;
17311 : lineObj *result = 0 ;
17312 0 : dXSARGS;
17313 :
17314 0 : if ((items < 1) || (items > 1)) {
17315 0 : SWIG_croak("Usage: labelCacheMemberObj_leaderline_get(self);");
17316 : }
17317 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17318 0 : if (!SWIG_IsOK(res1)) {
17319 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderline_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17320 : }
17321 0 : arg1 = (labelCacheMemberObj *)(argp1);
17322 0 : result = (lineObj *) ((arg1)->leaderline);
17323 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
17324 :
17325 0 : XSRETURN(argvi);
17326 : fail:
17327 :
17328 0 : SWIG_croak_null();
17329 : }
17330 : }
17331 :
17332 :
17333 0 : XS(_wrap_labelCacheMemberObj_leaderbbox_get) {
17334 : {
17335 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17336 0 : void *argp1 = 0 ;
17337 : int res1 = 0 ;
17338 : int argvi = 0;
17339 : rectObj *result = 0 ;
17340 0 : dXSARGS;
17341 :
17342 0 : if ((items < 1) || (items > 1)) {
17343 0 : SWIG_croak("Usage: labelCacheMemberObj_leaderbbox_get(self);");
17344 : }
17345 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17346 0 : if (!SWIG_IsOK(res1)) {
17347 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderbbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17348 : }
17349 0 : arg1 = (labelCacheMemberObj *)(argp1);
17350 0 : result = (rectObj *) ((arg1)->leaderbbox);
17351 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17352 :
17353 0 : XSRETURN(argvi);
17354 : fail:
17355 :
17356 0 : SWIG_croak_null();
17357 : }
17358 : }
17359 :
17360 :
17361 0 : XS(_wrap_new_labelCacheMemberObj) {
17362 : {
17363 : int argvi = 0;
17364 : labelCacheMemberObj *result = 0 ;
17365 0 : dXSARGS;
17366 :
17367 0 : if ((items < 0) || (items > 0)) {
17368 0 : SWIG_croak("Usage: new_labelCacheMemberObj();");
17369 : }
17370 0 : result = (labelCacheMemberObj *)calloc(1, sizeof(labelCacheMemberObj));
17371 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17372 0 : XSRETURN(argvi);
17373 : fail:
17374 0 : SWIG_croak_null();
17375 : }
17376 : }
17377 :
17378 :
17379 0 : XS(_wrap_delete_labelCacheMemberObj) {
17380 : {
17381 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17382 0 : void *argp1 = 0 ;
17383 : int res1 = 0 ;
17384 : int argvi = 0;
17385 0 : dXSARGS;
17386 :
17387 0 : if ((items < 1) || (items > 1)) {
17388 0 : SWIG_croak("Usage: delete_labelCacheMemberObj(self);");
17389 : }
17390 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, SWIG_POINTER_DISOWN | 0 );
17391 0 : if (!SWIG_IsOK(res1)) {
17392 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheMemberObj" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17393 : }
17394 0 : arg1 = (labelCacheMemberObj *)(argp1);
17395 0 : free((char *) arg1);
17396 0 : ST(argvi) = sv_newmortal();
17397 :
17398 0 : XSRETURN(argvi);
17399 : fail:
17400 :
17401 0 : SWIG_croak_null();
17402 : }
17403 : }
17404 :
17405 :
17406 0 : XS(_wrap_markerCacheMemberObj_id_get) {
17407 : {
17408 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17409 0 : void *argp1 = 0 ;
17410 : int res1 = 0 ;
17411 : int argvi = 0;
17412 : int result;
17413 0 : dXSARGS;
17414 :
17415 0 : if ((items < 1) || (items > 1)) {
17416 0 : SWIG_croak("Usage: markerCacheMemberObj_id_get(self);");
17417 : }
17418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 | 0 );
17419 0 : if (!SWIG_IsOK(res1)) {
17420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_id_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17421 : }
17422 0 : arg1 = (markerCacheMemberObj *)(argp1);
17423 0 : result = (int) ((arg1)->id);
17424 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17425 :
17426 0 : XSRETURN(argvi);
17427 : fail:
17428 :
17429 0 : SWIG_croak_null();
17430 : }
17431 : }
17432 :
17433 :
17434 0 : XS(_wrap_markerCacheMemberObj_bounds_get) {
17435 : {
17436 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17437 0 : void *argp1 = 0 ;
17438 : int res1 = 0 ;
17439 : int argvi = 0;
17440 : rectObj *result = 0 ;
17441 0 : dXSARGS;
17442 :
17443 0 : if ((items < 1) || (items > 1)) {
17444 0 : SWIG_croak("Usage: markerCacheMemberObj_bounds_get(self);");
17445 : }
17446 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 | 0 );
17447 0 : if (!SWIG_IsOK(res1)) {
17448 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_bounds_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17449 : }
17450 0 : arg1 = (markerCacheMemberObj *)(argp1);
17451 0 : result = (rectObj *)& ((arg1)->bounds);
17452 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17453 :
17454 0 : XSRETURN(argvi);
17455 : fail:
17456 :
17457 0 : SWIG_croak_null();
17458 : }
17459 : }
17460 :
17461 :
17462 0 : XS(_wrap_new_markerCacheMemberObj) {
17463 : {
17464 : int argvi = 0;
17465 : markerCacheMemberObj *result = 0 ;
17466 0 : dXSARGS;
17467 :
17468 0 : if ((items < 0) || (items > 0)) {
17469 0 : SWIG_croak("Usage: new_markerCacheMemberObj();");
17470 : }
17471 0 : result = (markerCacheMemberObj *)calloc(1, sizeof(markerCacheMemberObj));
17472 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17473 0 : XSRETURN(argvi);
17474 : fail:
17475 0 : SWIG_croak_null();
17476 : }
17477 : }
17478 :
17479 :
17480 0 : XS(_wrap_delete_markerCacheMemberObj) {
17481 : {
17482 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17483 0 : void *argp1 = 0 ;
17484 : int res1 = 0 ;
17485 : int argvi = 0;
17486 0 : dXSARGS;
17487 :
17488 0 : if ((items < 1) || (items > 1)) {
17489 0 : SWIG_croak("Usage: delete_markerCacheMemberObj(self);");
17490 : }
17491 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, SWIG_POINTER_DISOWN | 0 );
17492 0 : if (!SWIG_IsOK(res1)) {
17493 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_markerCacheMemberObj" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17494 : }
17495 0 : arg1 = (markerCacheMemberObj *)(argp1);
17496 0 : free((char *) arg1);
17497 0 : ST(argvi) = sv_newmortal();
17498 :
17499 0 : XSRETURN(argvi);
17500 : fail:
17501 :
17502 0 : SWIG_croak_null();
17503 : }
17504 : }
17505 :
17506 :
17507 0 : XS(_wrap_labelCacheSlotObj_labels_get) {
17508 : {
17509 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17510 0 : void *argp1 = 0 ;
17511 : int res1 = 0 ;
17512 : int argvi = 0;
17513 : labelCacheMemberObj *result = 0 ;
17514 0 : dXSARGS;
17515 :
17516 0 : if ((items < 1) || (items > 1)) {
17517 0 : SWIG_croak("Usage: labelCacheSlotObj_labels_get(self);");
17518 : }
17519 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17520 0 : if (!SWIG_IsOK(res1)) {
17521 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_labels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17522 : }
17523 0 : arg1 = (labelCacheSlotObj *)(argp1);
17524 0 : result = (labelCacheMemberObj *) ((arg1)->labels);
17525 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
17526 :
17527 0 : XSRETURN(argvi);
17528 : fail:
17529 :
17530 0 : SWIG_croak_null();
17531 : }
17532 : }
17533 :
17534 :
17535 0 : XS(_wrap_labelCacheSlotObj_numlabels_get) {
17536 : {
17537 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17538 0 : void *argp1 = 0 ;
17539 : int res1 = 0 ;
17540 : int argvi = 0;
17541 : int result;
17542 0 : dXSARGS;
17543 :
17544 0 : if ((items < 1) || (items > 1)) {
17545 0 : SWIG_croak("Usage: labelCacheSlotObj_numlabels_get(self);");
17546 : }
17547 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17548 0 : if (!SWIG_IsOK(res1)) {
17549 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_numlabels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17550 : }
17551 0 : arg1 = (labelCacheSlotObj *)(argp1);
17552 0 : result = (int) ((arg1)->numlabels);
17553 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17554 :
17555 0 : XSRETURN(argvi);
17556 : fail:
17557 :
17558 0 : SWIG_croak_null();
17559 : }
17560 : }
17561 :
17562 :
17563 0 : XS(_wrap_labelCacheSlotObj_cachesize_get) {
17564 : {
17565 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17566 0 : void *argp1 = 0 ;
17567 : int res1 = 0 ;
17568 : int argvi = 0;
17569 : int result;
17570 0 : dXSARGS;
17571 :
17572 0 : if ((items < 1) || (items > 1)) {
17573 0 : SWIG_croak("Usage: labelCacheSlotObj_cachesize_get(self);");
17574 : }
17575 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17576 0 : if (!SWIG_IsOK(res1)) {
17577 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_cachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17578 : }
17579 0 : arg1 = (labelCacheSlotObj *)(argp1);
17580 0 : result = (int) ((arg1)->cachesize);
17581 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17582 :
17583 0 : XSRETURN(argvi);
17584 : fail:
17585 :
17586 0 : SWIG_croak_null();
17587 : }
17588 : }
17589 :
17590 :
17591 0 : XS(_wrap_labelCacheSlotObj_markers_get) {
17592 : {
17593 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17594 0 : void *argp1 = 0 ;
17595 : int res1 = 0 ;
17596 : int argvi = 0;
17597 : markerCacheMemberObj *result = 0 ;
17598 0 : dXSARGS;
17599 :
17600 0 : if ((items < 1) || (items > 1)) {
17601 0 : SWIG_croak("Usage: labelCacheSlotObj_markers_get(self);");
17602 : }
17603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17604 0 : if (!SWIG_IsOK(res1)) {
17605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17606 : }
17607 0 : arg1 = (labelCacheSlotObj *)(argp1);
17608 0 : result = (markerCacheMemberObj *) ((arg1)->markers);
17609 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
17610 :
17611 0 : XSRETURN(argvi);
17612 : fail:
17613 :
17614 0 : SWIG_croak_null();
17615 : }
17616 : }
17617 :
17618 :
17619 0 : XS(_wrap_labelCacheSlotObj_nummarkers_get) {
17620 : {
17621 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17622 0 : void *argp1 = 0 ;
17623 : int res1 = 0 ;
17624 : int argvi = 0;
17625 : int result;
17626 0 : dXSARGS;
17627 :
17628 0 : if ((items < 1) || (items > 1)) {
17629 0 : SWIG_croak("Usage: labelCacheSlotObj_nummarkers_get(self);");
17630 : }
17631 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17632 0 : if (!SWIG_IsOK(res1)) {
17633 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_nummarkers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17634 : }
17635 0 : arg1 = (labelCacheSlotObj *)(argp1);
17636 0 : result = (int) ((arg1)->nummarkers);
17637 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17638 :
17639 0 : XSRETURN(argvi);
17640 : fail:
17641 :
17642 0 : SWIG_croak_null();
17643 : }
17644 : }
17645 :
17646 :
17647 0 : XS(_wrap_labelCacheSlotObj_markercachesize_get) {
17648 : {
17649 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17650 0 : void *argp1 = 0 ;
17651 : int res1 = 0 ;
17652 : int argvi = 0;
17653 : int result;
17654 0 : dXSARGS;
17655 :
17656 0 : if ((items < 1) || (items > 1)) {
17657 0 : SWIG_croak("Usage: labelCacheSlotObj_markercachesize_get(self);");
17658 : }
17659 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17660 0 : if (!SWIG_IsOK(res1)) {
17661 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markercachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17662 : }
17663 0 : arg1 = (labelCacheSlotObj *)(argp1);
17664 0 : result = (int) ((arg1)->markercachesize);
17665 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17666 :
17667 0 : XSRETURN(argvi);
17668 : fail:
17669 :
17670 0 : SWIG_croak_null();
17671 : }
17672 : }
17673 :
17674 :
17675 0 : XS(_wrap_new_labelCacheSlotObj) {
17676 : {
17677 : int argvi = 0;
17678 : labelCacheSlotObj *result = 0 ;
17679 0 : dXSARGS;
17680 :
17681 0 : if ((items < 0) || (items > 0)) {
17682 0 : SWIG_croak("Usage: new_labelCacheSlotObj();");
17683 : }
17684 0 : result = (labelCacheSlotObj *)calloc(1, sizeof(labelCacheSlotObj));
17685 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17686 0 : XSRETURN(argvi);
17687 : fail:
17688 0 : SWIG_croak_null();
17689 : }
17690 : }
17691 :
17692 :
17693 0 : XS(_wrap_delete_labelCacheSlotObj) {
17694 : {
17695 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17696 0 : void *argp1 = 0 ;
17697 : int res1 = 0 ;
17698 : int argvi = 0;
17699 0 : dXSARGS;
17700 :
17701 0 : if ((items < 1) || (items > 1)) {
17702 0 : SWIG_croak("Usage: delete_labelCacheSlotObj(self);");
17703 : }
17704 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, SWIG_POINTER_DISOWN | 0 );
17705 0 : if (!SWIG_IsOK(res1)) {
17706 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheSlotObj" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17707 : }
17708 0 : arg1 = (labelCacheSlotObj *)(argp1);
17709 0 : free((char *) arg1);
17710 0 : ST(argvi) = sv_newmortal();
17711 :
17712 0 : XSRETURN(argvi);
17713 : fail:
17714 :
17715 0 : SWIG_croak_null();
17716 : }
17717 : }
17718 :
17719 :
17720 0 : XS(_wrap_labelCacheObj_slots_get) {
17721 : {
17722 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17723 0 : void *argp1 = 0 ;
17724 : int res1 = 0 ;
17725 : int argvi = 0;
17726 : labelCacheSlotObj *result = 0 ;
17727 0 : dXSARGS;
17728 :
17729 0 : if ((items < 1) || (items > 1)) {
17730 0 : SWIG_croak("Usage: labelCacheObj_slots_get(self);");
17731 : }
17732 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17733 0 : if (!SWIG_IsOK(res1)) {
17734 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_slots_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17735 : }
17736 0 : arg1 = (labelCacheObj *)(argp1);
17737 0 : result = (labelCacheSlotObj *)(labelCacheSlotObj *) ((arg1)->slots);
17738 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, 0 | SWIG_SHADOW); argvi++ ;
17739 :
17740 0 : XSRETURN(argvi);
17741 : fail:
17742 :
17743 0 : SWIG_croak_null();
17744 : }
17745 : }
17746 :
17747 :
17748 0 : XS(_wrap_labelCacheObj_gutter_get) {
17749 : {
17750 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17751 0 : void *argp1 = 0 ;
17752 : int res1 = 0 ;
17753 : int argvi = 0;
17754 : int result;
17755 0 : dXSARGS;
17756 :
17757 0 : if ((items < 1) || (items > 1)) {
17758 0 : SWIG_croak("Usage: labelCacheObj_gutter_get(self);");
17759 : }
17760 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17761 0 : if (!SWIG_IsOK(res1)) {
17762 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_gutter_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17763 : }
17764 0 : arg1 = (labelCacheObj *)(argp1);
17765 0 : result = (int) ((arg1)->gutter);
17766 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17767 :
17768 0 : XSRETURN(argvi);
17769 : fail:
17770 :
17771 0 : SWIG_croak_null();
17772 : }
17773 : }
17774 :
17775 :
17776 0 : XS(_wrap_labelCacheObj_rendered_text_symbols_get) {
17777 : {
17778 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17779 0 : void *argp1 = 0 ;
17780 : int res1 = 0 ;
17781 : int argvi = 0;
17782 : labelCacheMemberObj **result = 0 ;
17783 0 : dXSARGS;
17784 :
17785 0 : if ((items < 1) || (items > 1)) {
17786 0 : SWIG_croak("Usage: labelCacheObj_rendered_text_symbols_get(self);");
17787 : }
17788 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17789 0 : if (!SWIG_IsOK(res1)) {
17790 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_rendered_text_symbols_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17791 : }
17792 0 : arg1 = (labelCacheObj *)(argp1);
17793 0 : result = (labelCacheMemberObj **) ((arg1)->rendered_text_symbols);
17794 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_labelCacheMemberObj, 0 | 0); argvi++ ;
17795 :
17796 0 : XSRETURN(argvi);
17797 : fail:
17798 :
17799 0 : SWIG_croak_null();
17800 : }
17801 : }
17802 :
17803 :
17804 0 : XS(_wrap_labelCacheObj_num_allocated_rendered_members_get) {
17805 : {
17806 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17807 0 : void *argp1 = 0 ;
17808 : int res1 = 0 ;
17809 : int argvi = 0;
17810 : int result;
17811 0 : dXSARGS;
17812 :
17813 0 : if ((items < 1) || (items > 1)) {
17814 0 : SWIG_croak("Usage: labelCacheObj_num_allocated_rendered_members_get(self);");
17815 : }
17816 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17817 0 : if (!SWIG_IsOK(res1)) {
17818 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_allocated_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17819 : }
17820 0 : arg1 = (labelCacheObj *)(argp1);
17821 0 : result = (int) ((arg1)->num_allocated_rendered_members);
17822 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17823 :
17824 0 : XSRETURN(argvi);
17825 : fail:
17826 :
17827 0 : SWIG_croak_null();
17828 : }
17829 : }
17830 :
17831 :
17832 0 : XS(_wrap_labelCacheObj_num_rendered_members_get) {
17833 : {
17834 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17835 0 : void *argp1 = 0 ;
17836 : int res1 = 0 ;
17837 : int argvi = 0;
17838 : int result;
17839 0 : dXSARGS;
17840 :
17841 0 : if ((items < 1) || (items > 1)) {
17842 0 : SWIG_croak("Usage: labelCacheObj_num_rendered_members_get(self);");
17843 : }
17844 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17845 0 : if (!SWIG_IsOK(res1)) {
17846 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17847 : }
17848 0 : arg1 = (labelCacheObj *)(argp1);
17849 0 : result = (int) ((arg1)->num_rendered_members);
17850 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17851 :
17852 0 : XSRETURN(argvi);
17853 : fail:
17854 :
17855 0 : SWIG_croak_null();
17856 : }
17857 : }
17858 :
17859 :
17860 0 : XS(_wrap_labelCacheObj_freeCache) {
17861 : {
17862 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17863 0 : void *argp1 = 0 ;
17864 : int res1 = 0 ;
17865 : int argvi = 0;
17866 0 : dXSARGS;
17867 :
17868 0 : if ((items < 1) || (items > 1)) {
17869 0 : SWIG_croak("Usage: labelCacheObj_freeCache(self);");
17870 : }
17871 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17872 0 : if (!SWIG_IsOK(res1)) {
17873 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_freeCache" "', argument " "1"" of type '" "labelCacheObj *""'");
17874 : }
17875 0 : arg1 = (labelCacheObj *)(argp1);
17876 : labelCacheObj_freeCache(arg1);
17877 0 : ST(argvi) = sv_newmortal();
17878 :
17879 0 : XSRETURN(argvi);
17880 : fail:
17881 :
17882 0 : SWIG_croak_null();
17883 : }
17884 : }
17885 :
17886 :
17887 0 : XS(_wrap_new_labelCacheObj) {
17888 : {
17889 : int argvi = 0;
17890 : labelCacheObj *result = 0 ;
17891 0 : dXSARGS;
17892 :
17893 0 : if ((items < 0) || (items > 0)) {
17894 0 : SWIG_croak("Usage: new_labelCacheObj();");
17895 : }
17896 0 : result = (labelCacheObj *)calloc(1, sizeof(labelCacheObj));
17897 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17898 0 : XSRETURN(argvi);
17899 : fail:
17900 0 : SWIG_croak_null();
17901 : }
17902 : }
17903 :
17904 :
17905 0 : XS(_wrap_delete_labelCacheObj) {
17906 : {
17907 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17908 0 : void *argp1 = 0 ;
17909 : int res1 = 0 ;
17910 : int argvi = 0;
17911 0 : dXSARGS;
17912 :
17913 0 : if ((items < 1) || (items > 1)) {
17914 0 : SWIG_croak("Usage: delete_labelCacheObj(self);");
17915 : }
17916 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, SWIG_POINTER_DISOWN | 0 );
17917 0 : if (!SWIG_IsOK(res1)) {
17918 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheObj" "', argument " "1"" of type '" "labelCacheObj *""'");
17919 : }
17920 0 : arg1 = (labelCacheObj *)(argp1);
17921 0 : free((char *) arg1);
17922 0 : ST(argvi) = sv_newmortal();
17923 :
17924 0 : XSRETURN(argvi);
17925 : fail:
17926 :
17927 0 : SWIG_croak_null();
17928 : }
17929 : }
17930 :
17931 :
17932 0 : XS(_wrap_resultObj_shapeindex_get) {
17933 : {
17934 : resultObj *arg1 = (resultObj *) 0 ;
17935 0 : void *argp1 = 0 ;
17936 : int res1 = 0 ;
17937 : int argvi = 0;
17938 : long result;
17939 0 : dXSARGS;
17940 :
17941 0 : if ((items < 1) || (items > 1)) {
17942 0 : SWIG_croak("Usage: resultObj_shapeindex_get(self);");
17943 : }
17944 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17945 0 : if (!SWIG_IsOK(res1)) {
17946 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_shapeindex_get" "', argument " "1"" of type '" "resultObj *""'");
17947 : }
17948 0 : arg1 = (resultObj *)(argp1);
17949 0 : result = (long) ((arg1)->shapeindex);
17950 0 : ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
17951 :
17952 0 : XSRETURN(argvi);
17953 : fail:
17954 :
17955 0 : SWIG_croak_null();
17956 : }
17957 : }
17958 :
17959 :
17960 0 : XS(_wrap_resultObj_tileindex_get) {
17961 : {
17962 : resultObj *arg1 = (resultObj *) 0 ;
17963 0 : void *argp1 = 0 ;
17964 : int res1 = 0 ;
17965 : int argvi = 0;
17966 : int result;
17967 0 : dXSARGS;
17968 :
17969 0 : if ((items < 1) || (items > 1)) {
17970 0 : SWIG_croak("Usage: resultObj_tileindex_get(self);");
17971 : }
17972 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17973 0 : if (!SWIG_IsOK(res1)) {
17974 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_tileindex_get" "', argument " "1"" of type '" "resultObj *""'");
17975 : }
17976 0 : arg1 = (resultObj *)(argp1);
17977 0 : result = (int) ((arg1)->tileindex);
17978 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17979 :
17980 0 : XSRETURN(argvi);
17981 : fail:
17982 :
17983 0 : SWIG_croak_null();
17984 : }
17985 : }
17986 :
17987 :
17988 0 : XS(_wrap_resultObj_resultindex_get) {
17989 : {
17990 : resultObj *arg1 = (resultObj *) 0 ;
17991 0 : void *argp1 = 0 ;
17992 : int res1 = 0 ;
17993 : int argvi = 0;
17994 : int result;
17995 0 : dXSARGS;
17996 :
17997 0 : if ((items < 1) || (items > 1)) {
17998 0 : SWIG_croak("Usage: resultObj_resultindex_get(self);");
17999 : }
18000 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
18001 0 : if (!SWIG_IsOK(res1)) {
18002 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_resultindex_get" "', argument " "1"" of type '" "resultObj *""'");
18003 : }
18004 0 : arg1 = (resultObj *)(argp1);
18005 0 : result = (int) ((arg1)->resultindex);
18006 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18007 :
18008 0 : XSRETURN(argvi);
18009 : fail:
18010 :
18011 0 : SWIG_croak_null();
18012 : }
18013 : }
18014 :
18015 :
18016 0 : XS(_wrap_resultObj_classindex_get) {
18017 : {
18018 : resultObj *arg1 = (resultObj *) 0 ;
18019 0 : void *argp1 = 0 ;
18020 : int res1 = 0 ;
18021 : int argvi = 0;
18022 : int result;
18023 0 : dXSARGS;
18024 :
18025 0 : if ((items < 1) || (items > 1)) {
18026 0 : SWIG_croak("Usage: resultObj_classindex_get(self);");
18027 : }
18028 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
18029 0 : if (!SWIG_IsOK(res1)) {
18030 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_classindex_get" "', argument " "1"" of type '" "resultObj *""'");
18031 : }
18032 0 : arg1 = (resultObj *)(argp1);
18033 0 : result = (int) ((arg1)->classindex);
18034 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18035 :
18036 0 : XSRETURN(argvi);
18037 : fail:
18038 :
18039 0 : SWIG_croak_null();
18040 : }
18041 : }
18042 :
18043 :
18044 0 : XS(_wrap_new_resultObj) {
18045 : {
18046 : long arg1 ;
18047 : long val1 ;
18048 : int ecode1 = 0 ;
18049 : int argvi = 0;
18050 : resultObj *result = 0 ;
18051 0 : dXSARGS;
18052 :
18053 0 : if ((items < 1) || (items > 1)) {
18054 0 : SWIG_croak("Usage: new_resultObj(shapeindex);");
18055 : }
18056 0 : ecode1 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
18057 0 : if (!SWIG_IsOK(ecode1)) {
18058 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_resultObj" "', argument " "1"" of type '" "long""'");
18059 : }
18060 0 : arg1 = (long)(val1);
18061 : result = (resultObj *)new_resultObj(arg1);
18062 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18063 :
18064 0 : XSRETURN(argvi);
18065 : fail:
18066 :
18067 0 : SWIG_croak_null();
18068 : }
18069 : }
18070 :
18071 :
18072 0 : XS(_wrap_delete_resultObj) {
18073 : {
18074 : resultObj *arg1 = (resultObj *) 0 ;
18075 0 : void *argp1 = 0 ;
18076 : int res1 = 0 ;
18077 : int argvi = 0;
18078 0 : dXSARGS;
18079 :
18080 0 : if ((items < 1) || (items > 1)) {
18081 0 : SWIG_croak("Usage: delete_resultObj(self);");
18082 : }
18083 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, SWIG_POINTER_DISOWN | 0 );
18084 0 : if (!SWIG_IsOK(res1)) {
18085 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultObj" "', argument " "1"" of type '" "resultObj *""'");
18086 : }
18087 0 : arg1 = (resultObj *)(argp1);
18088 : delete_resultObj(arg1);
18089 0 : ST(argvi) = sv_newmortal();
18090 :
18091 0 : XSRETURN(argvi);
18092 : fail:
18093 :
18094 0 : SWIG_croak_null();
18095 : }
18096 : }
18097 :
18098 :
18099 0 : XS(_wrap_resultCacheObj_numresults_get) {
18100 : {
18101 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18102 0 : void *argp1 = 0 ;
18103 : int res1 = 0 ;
18104 : int argvi = 0;
18105 : int result;
18106 0 : dXSARGS;
18107 :
18108 0 : if ((items < 1) || (items > 1)) {
18109 0 : SWIG_croak("Usage: resultCacheObj_numresults_get(self);");
18110 : }
18111 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18112 0 : if (!SWIG_IsOK(res1)) {
18113 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_numresults_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18114 : }
18115 0 : arg1 = (resultCacheObj *)(argp1);
18116 0 : result = (int) ((arg1)->numresults);
18117 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18118 :
18119 0 : XSRETURN(argvi);
18120 : fail:
18121 :
18122 0 : SWIG_croak_null();
18123 : }
18124 : }
18125 :
18126 :
18127 0 : XS(_wrap_resultCacheObj_bounds_get) {
18128 : {
18129 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18130 0 : void *argp1 = 0 ;
18131 : int res1 = 0 ;
18132 : int argvi = 0;
18133 : rectObj *result = 0 ;
18134 0 : dXSARGS;
18135 :
18136 0 : if ((items < 1) || (items > 1)) {
18137 0 : SWIG_croak("Usage: resultCacheObj_bounds_get(self);");
18138 : }
18139 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18140 0 : if (!SWIG_IsOK(res1)) {
18141 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_bounds_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18142 : }
18143 0 : arg1 = (resultCacheObj *)(argp1);
18144 0 : result = (rectObj *)& ((arg1)->bounds);
18145 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
18146 :
18147 0 : XSRETURN(argvi);
18148 : fail:
18149 :
18150 0 : SWIG_croak_null();
18151 : }
18152 : }
18153 :
18154 :
18155 0 : XS(_wrap_resultCacheObj_usegetshape_set) {
18156 : {
18157 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18158 : int arg2 ;
18159 0 : void *argp1 = 0 ;
18160 : int res1 = 0 ;
18161 : int val2 ;
18162 : int ecode2 = 0 ;
18163 : int argvi = 0;
18164 0 : dXSARGS;
18165 :
18166 0 : if ((items < 2) || (items > 2)) {
18167 0 : SWIG_croak("Usage: resultCacheObj_usegetshape_set(self,usegetshape);");
18168 : }
18169 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18170 0 : if (!SWIG_IsOK(res1)) {
18171 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_set" "', argument " "1"" of type '" "resultCacheObj *""'");
18172 : }
18173 0 : arg1 = (resultCacheObj *)(argp1);
18174 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18175 0 : if (!SWIG_IsOK(ecode2)) {
18176 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_usegetshape_set" "', argument " "2"" of type '" "int""'");
18177 : }
18178 0 : arg2 = (int)(val2);
18179 0 : if (arg1) (arg1)->usegetshape = arg2;
18180 0 : ST(argvi) = sv_newmortal();
18181 :
18182 :
18183 0 : XSRETURN(argvi);
18184 : fail:
18185 :
18186 :
18187 0 : SWIG_croak_null();
18188 : }
18189 : }
18190 :
18191 :
18192 0 : XS(_wrap_resultCacheObj_usegetshape_get) {
18193 : {
18194 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18195 0 : void *argp1 = 0 ;
18196 : int res1 = 0 ;
18197 : int argvi = 0;
18198 : int result;
18199 0 : dXSARGS;
18200 :
18201 0 : if ((items < 1) || (items > 1)) {
18202 0 : SWIG_croak("Usage: resultCacheObj_usegetshape_get(self);");
18203 : }
18204 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18205 0 : if (!SWIG_IsOK(res1)) {
18206 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18207 : }
18208 0 : arg1 = (resultCacheObj *)(argp1);
18209 0 : result = (int) ((arg1)->usegetshape);
18210 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18211 :
18212 0 : XSRETURN(argvi);
18213 : fail:
18214 :
18215 0 : SWIG_croak_null();
18216 : }
18217 : }
18218 :
18219 :
18220 0 : XS(_wrap_resultCacheObj_getResult) {
18221 : {
18222 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18223 : int arg2 ;
18224 0 : void *argp1 = 0 ;
18225 : int res1 = 0 ;
18226 : int val2 ;
18227 : int ecode2 = 0 ;
18228 : int argvi = 0;
18229 : resultObj *result = 0 ;
18230 0 : dXSARGS;
18231 :
18232 0 : if ((items < 2) || (items > 2)) {
18233 0 : SWIG_croak("Usage: resultCacheObj_getResult(self,i);");
18234 : }
18235 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18236 0 : if (!SWIG_IsOK(res1)) {
18237 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_getResult" "', argument " "1"" of type '" "resultCacheObj *""'");
18238 : }
18239 0 : arg1 = (resultCacheObj *)(argp1);
18240 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18241 0 : if (!SWIG_IsOK(ecode2)) {
18242 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_getResult" "', argument " "2"" of type '" "int""'");
18243 : }
18244 0 : arg2 = (int)(val2);
18245 : result = (resultObj *)resultCacheObj_getResult(arg1,arg2);
18246 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
18247 :
18248 :
18249 0 : XSRETURN(argvi);
18250 : fail:
18251 :
18252 :
18253 0 : SWIG_croak_null();
18254 : }
18255 : }
18256 :
18257 :
18258 0 : XS(_wrap_new_resultCacheObj) {
18259 : {
18260 : int argvi = 0;
18261 : resultCacheObj *result = 0 ;
18262 0 : dXSARGS;
18263 :
18264 0 : if ((items < 0) || (items > 0)) {
18265 0 : SWIG_croak("Usage: new_resultCacheObj();");
18266 : }
18267 0 : result = (resultCacheObj *)calloc(1, sizeof(resultCacheObj));
18268 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18269 0 : XSRETURN(argvi);
18270 : fail:
18271 0 : SWIG_croak_null();
18272 : }
18273 : }
18274 :
18275 :
18276 0 : XS(_wrap_delete_resultCacheObj) {
18277 : {
18278 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18279 0 : void *argp1 = 0 ;
18280 : int res1 = 0 ;
18281 : int argvi = 0;
18282 0 : dXSARGS;
18283 :
18284 0 : if ((items < 1) || (items > 1)) {
18285 0 : SWIG_croak("Usage: delete_resultCacheObj(self);");
18286 : }
18287 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, SWIG_POINTER_DISOWN | 0 );
18288 0 : if (!SWIG_IsOK(res1)) {
18289 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultCacheObj" "', argument " "1"" of type '" "resultCacheObj *""'");
18290 : }
18291 0 : arg1 = (resultCacheObj *)(argp1);
18292 0 : free((char *) arg1);
18293 0 : ST(argvi) = sv_newmortal();
18294 :
18295 0 : XSRETURN(argvi);
18296 : fail:
18297 :
18298 0 : SWIG_croak_null();
18299 : }
18300 : }
18301 :
18302 :
18303 0 : XS(_wrap_symbolSetObj_filename_set) {
18304 : {
18305 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18306 : char *arg2 = (char *) 0 ;
18307 0 : void *argp1 = 0 ;
18308 : int res1 = 0 ;
18309 : int res2 ;
18310 0 : char *buf2 = 0 ;
18311 0 : int alloc2 = 0 ;
18312 : int argvi = 0;
18313 0 : dXSARGS;
18314 :
18315 0 : if ((items < 2) || (items > 2)) {
18316 0 : SWIG_croak("Usage: symbolSetObj_filename_set(self,filename);");
18317 : }
18318 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18319 0 : if (!SWIG_IsOK(res1)) {
18320 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_set" "', argument " "1"" of type '" "symbolSetObj *""'");
18321 : }
18322 0 : arg1 = (symbolSetObj *)(argp1);
18323 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18324 0 : if (!SWIG_IsOK(res2)) {
18325 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_filename_set" "', argument " "2"" of type '" "char *""'");
18326 : }
18327 0 : arg2 = (char *)(buf2);
18328 : {
18329 0 : if (arg1->filename) free((char*)arg1->filename);
18330 0 : if (arg2) {
18331 0 : arg1->filename = (char *) malloc(strlen(arg2)+1);
18332 : strcpy((char*)arg1->filename,arg2);
18333 : } else {
18334 0 : arg1->filename = 0;
18335 : }
18336 : }
18337 0 : ST(argvi) = sv_newmortal();
18338 :
18339 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18340 0 : XSRETURN(argvi);
18341 : fail:
18342 :
18343 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18344 0 : SWIG_croak_null();
18345 : }
18346 : }
18347 :
18348 :
18349 0 : XS(_wrap_symbolSetObj_filename_get) {
18350 : {
18351 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18352 0 : void *argp1 = 0 ;
18353 : int res1 = 0 ;
18354 : int argvi = 0;
18355 : char *result = 0 ;
18356 0 : dXSARGS;
18357 :
18358 0 : if ((items < 1) || (items > 1)) {
18359 0 : SWIG_croak("Usage: symbolSetObj_filename_get(self);");
18360 : }
18361 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18362 0 : if (!SWIG_IsOK(res1)) {
18363 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18364 : }
18365 0 : arg1 = (symbolSetObj *)(argp1);
18366 0 : result = (char *) ((arg1)->filename);
18367 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
18368 :
18369 0 : XSRETURN(argvi);
18370 : fail:
18371 :
18372 0 : SWIG_croak_null();
18373 : }
18374 : }
18375 :
18376 :
18377 0 : XS(_wrap_symbolSetObj_imagecachesize_set) {
18378 : {
18379 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18380 : int arg2 ;
18381 0 : void *argp1 = 0 ;
18382 : int res1 = 0 ;
18383 : int val2 ;
18384 : int ecode2 = 0 ;
18385 : int argvi = 0;
18386 0 : dXSARGS;
18387 :
18388 0 : if ((items < 2) || (items > 2)) {
18389 0 : SWIG_croak("Usage: symbolSetObj_imagecachesize_set(self,imagecachesize);");
18390 : }
18391 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18392 0 : if (!SWIG_IsOK(res1)) {
18393 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "1"" of type '" "symbolSetObj *""'");
18394 : }
18395 0 : arg1 = (symbolSetObj *)(argp1);
18396 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18397 0 : if (!SWIG_IsOK(ecode2)) {
18398 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "2"" of type '" "int""'");
18399 : }
18400 0 : arg2 = (int)(val2);
18401 0 : if (arg1) (arg1)->imagecachesize = arg2;
18402 0 : ST(argvi) = sv_newmortal();
18403 :
18404 :
18405 0 : XSRETURN(argvi);
18406 : fail:
18407 :
18408 :
18409 0 : SWIG_croak_null();
18410 : }
18411 : }
18412 :
18413 :
18414 0 : XS(_wrap_symbolSetObj_imagecachesize_get) {
18415 : {
18416 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18417 0 : void *argp1 = 0 ;
18418 : int res1 = 0 ;
18419 : int argvi = 0;
18420 : int result;
18421 0 : dXSARGS;
18422 :
18423 0 : if ((items < 1) || (items > 1)) {
18424 0 : SWIG_croak("Usage: symbolSetObj_imagecachesize_get(self);");
18425 : }
18426 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18427 0 : if (!SWIG_IsOK(res1)) {
18428 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18429 : }
18430 0 : arg1 = (symbolSetObj *)(argp1);
18431 0 : result = (int) ((arg1)->imagecachesize);
18432 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18433 :
18434 0 : XSRETURN(argvi);
18435 : fail:
18436 :
18437 0 : SWIG_croak_null();
18438 : }
18439 : }
18440 :
18441 :
18442 0 : XS(_wrap_symbolSetObj_numsymbols_get) {
18443 : {
18444 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18445 0 : void *argp1 = 0 ;
18446 : int res1 = 0 ;
18447 : int argvi = 0;
18448 : int result;
18449 0 : dXSARGS;
18450 :
18451 0 : if ((items < 1) || (items > 1)) {
18452 0 : SWIG_croak("Usage: symbolSetObj_numsymbols_get(self);");
18453 : }
18454 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18455 0 : if (!SWIG_IsOK(res1)) {
18456 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_numsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18457 : }
18458 0 : arg1 = (symbolSetObj *)(argp1);
18459 0 : result = (int) ((arg1)->numsymbols);
18460 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18461 :
18462 0 : XSRETURN(argvi);
18463 : fail:
18464 :
18465 0 : SWIG_croak_null();
18466 : }
18467 : }
18468 :
18469 :
18470 0 : XS(_wrap_symbolSetObj_maxsymbols_get) {
18471 : {
18472 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18473 0 : void *argp1 = 0 ;
18474 : int res1 = 0 ;
18475 : int argvi = 0;
18476 : int result;
18477 0 : dXSARGS;
18478 :
18479 0 : if ((items < 1) || (items > 1)) {
18480 0 : SWIG_croak("Usage: symbolSetObj_maxsymbols_get(self);");
18481 : }
18482 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18483 0 : if (!SWIG_IsOK(res1)) {
18484 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_maxsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18485 : }
18486 0 : arg1 = (symbolSetObj *)(argp1);
18487 0 : result = (int) ((arg1)->maxsymbols);
18488 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18489 :
18490 0 : XSRETURN(argvi);
18491 : fail:
18492 :
18493 0 : SWIG_croak_null();
18494 : }
18495 : }
18496 :
18497 :
18498 0 : XS(_wrap_new_symbolSetObj) {
18499 : {
18500 : char *arg1 = (char *) NULL ;
18501 : int res1 ;
18502 0 : char *buf1 = 0 ;
18503 0 : int alloc1 = 0 ;
18504 : int argvi = 0;
18505 : symbolSetObj *result = 0 ;
18506 0 : dXSARGS;
18507 :
18508 0 : if ((items < 0) || (items > 1)) {
18509 0 : SWIG_croak("Usage: new_symbolSetObj(symbolfile);");
18510 : }
18511 0 : if (items > 0) {
18512 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18513 0 : if (!SWIG_IsOK(res1)) {
18514 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolSetObj" "', argument " "1"" of type '" "char const *""'");
18515 : }
18516 0 : arg1 = (char *)(buf1);
18517 : }
18518 0 : result = (symbolSetObj *)new_symbolSetObj((char const *)arg1);
18519 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18520 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18521 0 : XSRETURN(argvi);
18522 : fail:
18523 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18524 0 : SWIG_croak_null();
18525 : }
18526 : }
18527 :
18528 :
18529 0 : XS(_wrap_delete_symbolSetObj) {
18530 : {
18531 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18532 0 : void *argp1 = 0 ;
18533 : int res1 = 0 ;
18534 : int argvi = 0;
18535 0 : dXSARGS;
18536 :
18537 0 : if ((items < 1) || (items > 1)) {
18538 0 : SWIG_croak("Usage: delete_symbolSetObj(self);");
18539 : }
18540 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, SWIG_POINTER_DISOWN | 0 );
18541 0 : if (!SWIG_IsOK(res1)) {
18542 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolSetObj" "', argument " "1"" of type '" "symbolSetObj *""'");
18543 : }
18544 0 : arg1 = (symbolSetObj *)(argp1);
18545 0 : delete_symbolSetObj(arg1);
18546 0 : ST(argvi) = sv_newmortal();
18547 :
18548 0 : XSRETURN(argvi);
18549 : fail:
18550 :
18551 0 : SWIG_croak_null();
18552 : }
18553 : }
18554 :
18555 :
18556 0 : XS(_wrap_symbolSetObj_getSymbol) {
18557 : {
18558 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18559 : int arg2 ;
18560 0 : void *argp1 = 0 ;
18561 : int res1 = 0 ;
18562 : int val2 ;
18563 : int ecode2 = 0 ;
18564 : int argvi = 0;
18565 : symbolObj *result = 0 ;
18566 0 : dXSARGS;
18567 :
18568 0 : if ((items < 2) || (items > 2)) {
18569 0 : SWIG_croak("Usage: symbolSetObj_getSymbol(self,i);");
18570 : }
18571 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18572 0 : if (!SWIG_IsOK(res1)) {
18573 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18574 : }
18575 0 : arg1 = (symbolSetObj *)(argp1);
18576 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18577 0 : if (!SWIG_IsOK(ecode2)) {
18578 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_getSymbol" "', argument " "2"" of type '" "int""'");
18579 : }
18580 0 : arg2 = (int)(val2);
18581 0 : result = (symbolObj *)symbolSetObj_getSymbol(arg1,arg2);
18582 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18583 :
18584 :
18585 0 : XSRETURN(argvi);
18586 : fail:
18587 :
18588 :
18589 0 : SWIG_croak_null();
18590 : }
18591 : }
18592 :
18593 :
18594 0 : XS(_wrap_symbolSetObj_getSymbolByName) {
18595 : {
18596 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18597 : char *arg2 = (char *) 0 ;
18598 0 : void *argp1 = 0 ;
18599 : int res1 = 0 ;
18600 : int res2 ;
18601 0 : char *buf2 = 0 ;
18602 0 : int alloc2 = 0 ;
18603 : int argvi = 0;
18604 : symbolObj *result = 0 ;
18605 0 : dXSARGS;
18606 :
18607 0 : if ((items < 2) || (items > 2)) {
18608 0 : SWIG_croak("Usage: symbolSetObj_getSymbolByName(self,symbolname);");
18609 : }
18610 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18611 0 : if (!SWIG_IsOK(res1)) {
18612 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbolByName" "', argument " "1"" of type '" "symbolSetObj *""'");
18613 : }
18614 0 : arg1 = (symbolSetObj *)(argp1);
18615 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18616 0 : if (!SWIG_IsOK(res2)) {
18617 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
18618 : }
18619 0 : arg2 = (char *)(buf2);
18620 0 : result = (symbolObj *)symbolSetObj_getSymbolByName(arg1,arg2);
18621 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18622 :
18623 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18624 0 : XSRETURN(argvi);
18625 : fail:
18626 :
18627 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18628 0 : SWIG_croak_null();
18629 : }
18630 : }
18631 :
18632 :
18633 0 : XS(_wrap_symbolSetObj_index) {
18634 : {
18635 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18636 : char *arg2 = (char *) 0 ;
18637 0 : void *argp1 = 0 ;
18638 : int res1 = 0 ;
18639 : int res2 ;
18640 0 : char *buf2 = 0 ;
18641 0 : int alloc2 = 0 ;
18642 : int argvi = 0;
18643 : int result;
18644 0 : dXSARGS;
18645 :
18646 0 : if ((items < 2) || (items > 2)) {
18647 0 : SWIG_croak("Usage: symbolSetObj_index(self,symbolname);");
18648 : }
18649 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18650 0 : if (!SWIG_IsOK(res1)) {
18651 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_index" "', argument " "1"" of type '" "symbolSetObj *""'");
18652 : }
18653 0 : arg1 = (symbolSetObj *)(argp1);
18654 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18655 0 : if (!SWIG_IsOK(res2)) {
18656 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_index" "', argument " "2"" of type '" "char *""'");
18657 : }
18658 0 : arg2 = (char *)(buf2);
18659 : result = (int)symbolSetObj_index(arg1,arg2);
18660 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18661 :
18662 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18663 0 : XSRETURN(argvi);
18664 : fail:
18665 :
18666 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18667 0 : SWIG_croak_null();
18668 : }
18669 : }
18670 :
18671 :
18672 0 : XS(_wrap_symbolSetObj_appendSymbol) {
18673 : {
18674 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18675 : symbolObj *arg2 = (symbolObj *) 0 ;
18676 0 : void *argp1 = 0 ;
18677 : int res1 = 0 ;
18678 0 : void *argp2 = 0 ;
18679 : int res2 = 0 ;
18680 : int argvi = 0;
18681 : int result;
18682 0 : dXSARGS;
18683 :
18684 0 : if ((items < 2) || (items > 2)) {
18685 0 : SWIG_croak("Usage: symbolSetObj_appendSymbol(self,symbol);");
18686 : }
18687 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18688 0 : if (!SWIG_IsOK(res1)) {
18689 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_appendSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18690 : }
18691 0 : arg1 = (symbolSetObj *)(argp1);
18692 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_symbolObj, 0 | 0 );
18693 0 : if (!SWIG_IsOK(res2)) {
18694 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_appendSymbol" "', argument " "2"" of type '" "symbolObj *""'");
18695 : }
18696 0 : arg2 = (symbolObj *)(argp2);
18697 : result = (int)symbolSetObj_appendSymbol(arg1,arg2);
18698 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18699 :
18700 :
18701 0 : XSRETURN(argvi);
18702 : fail:
18703 :
18704 :
18705 0 : SWIG_croak_null();
18706 : }
18707 : }
18708 :
18709 :
18710 0 : XS(_wrap_symbolSetObj_removeSymbol) {
18711 : {
18712 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18713 : int arg2 ;
18714 0 : void *argp1 = 0 ;
18715 : int res1 = 0 ;
18716 : int val2 ;
18717 : int ecode2 = 0 ;
18718 : int argvi = 0;
18719 : symbolObj *result = 0 ;
18720 0 : dXSARGS;
18721 :
18722 0 : if ((items < 2) || (items > 2)) {
18723 0 : SWIG_croak("Usage: symbolSetObj_removeSymbol(self,index);");
18724 : }
18725 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18726 0 : if (!SWIG_IsOK(res1)) {
18727 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_removeSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18728 : }
18729 0 : arg1 = (symbolSetObj *)(argp1);
18730 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18731 0 : if (!SWIG_IsOK(ecode2)) {
18732 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_removeSymbol" "', argument " "2"" of type '" "int""'");
18733 : }
18734 0 : arg2 = (int)(val2);
18735 0 : result = (symbolObj *)symbolSetObj_removeSymbol(arg1,arg2);
18736 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18737 :
18738 :
18739 0 : XSRETURN(argvi);
18740 : fail:
18741 :
18742 :
18743 0 : SWIG_croak_null();
18744 : }
18745 : }
18746 :
18747 :
18748 0 : XS(_wrap_symbolSetObj_save) {
18749 : {
18750 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18751 : char *arg2 = (char *) 0 ;
18752 0 : void *argp1 = 0 ;
18753 : int res1 = 0 ;
18754 : int res2 ;
18755 0 : char *buf2 = 0 ;
18756 0 : int alloc2 = 0 ;
18757 : int argvi = 0;
18758 : int result;
18759 0 : dXSARGS;
18760 :
18761 0 : if ((items < 2) || (items > 2)) {
18762 0 : SWIG_croak("Usage: symbolSetObj_save(self,filename);");
18763 : }
18764 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18765 0 : if (!SWIG_IsOK(res1)) {
18766 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_save" "', argument " "1"" of type '" "symbolSetObj *""'");
18767 : }
18768 0 : arg1 = (symbolSetObj *)(argp1);
18769 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18770 0 : if (!SWIG_IsOK(res2)) {
18771 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_save" "', argument " "2"" of type '" "char const *""'");
18772 : }
18773 0 : arg2 = (char *)(buf2);
18774 : result = (int)symbolSetObj_save(arg1,(char const *)arg2);
18775 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18776 :
18777 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18778 0 : XSRETURN(argvi);
18779 : fail:
18780 :
18781 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18782 0 : SWIG_croak_null();
18783 : }
18784 : }
18785 :
18786 :
18787 0 : XS(_wrap_referenceMapObj_extent_set) {
18788 : {
18789 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18790 : rectObj *arg2 = (rectObj *) 0 ;
18791 0 : void *argp1 = 0 ;
18792 : int res1 = 0 ;
18793 0 : void *argp2 = 0 ;
18794 : int res2 = 0 ;
18795 : int argvi = 0;
18796 0 : dXSARGS;
18797 :
18798 0 : if ((items < 2) || (items > 2)) {
18799 0 : SWIG_croak("Usage: referenceMapObj_extent_set(self,extent);");
18800 : }
18801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18802 0 : if (!SWIG_IsOK(res1)) {
18803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18804 : }
18805 0 : arg1 = (referenceMapObj *)(argp1);
18806 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
18807 0 : if (!SWIG_IsOK(res2)) {
18808 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
18809 : }
18810 0 : arg2 = (rectObj *)(argp2);
18811 0 : if (arg1) (arg1)->extent = *arg2;
18812 0 : ST(argvi) = sv_newmortal();
18813 :
18814 :
18815 0 : XSRETURN(argvi);
18816 : fail:
18817 :
18818 :
18819 0 : SWIG_croak_null();
18820 : }
18821 : }
18822 :
18823 :
18824 0 : XS(_wrap_referenceMapObj_extent_get) {
18825 : {
18826 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18827 0 : void *argp1 = 0 ;
18828 : int res1 = 0 ;
18829 : int argvi = 0;
18830 : rectObj *result = 0 ;
18831 0 : dXSARGS;
18832 :
18833 0 : if ((items < 1) || (items > 1)) {
18834 0 : SWIG_croak("Usage: referenceMapObj_extent_get(self);");
18835 : }
18836 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18837 0 : if (!SWIG_IsOK(res1)) {
18838 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18839 : }
18840 0 : arg1 = (referenceMapObj *)(argp1);
18841 0 : result = (rectObj *)& ((arg1)->extent);
18842 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
18843 :
18844 0 : XSRETURN(argvi);
18845 : fail:
18846 :
18847 0 : SWIG_croak_null();
18848 : }
18849 : }
18850 :
18851 :
18852 0 : XS(_wrap_referenceMapObj_height_set) {
18853 : {
18854 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18855 : int arg2 ;
18856 0 : void *argp1 = 0 ;
18857 : int res1 = 0 ;
18858 : int val2 ;
18859 : int ecode2 = 0 ;
18860 : int argvi = 0;
18861 0 : dXSARGS;
18862 :
18863 0 : if ((items < 2) || (items > 2)) {
18864 0 : SWIG_croak("Usage: referenceMapObj_height_set(self,height);");
18865 : }
18866 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18867 0 : if (!SWIG_IsOK(res1)) {
18868 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18869 : }
18870 0 : arg1 = (referenceMapObj *)(argp1);
18871 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18872 0 : if (!SWIG_IsOK(ecode2)) {
18873 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_height_set" "', argument " "2"" of type '" "int""'");
18874 : }
18875 0 : arg2 = (int)(val2);
18876 0 : if (arg1) (arg1)->height = arg2;
18877 0 : ST(argvi) = sv_newmortal();
18878 :
18879 :
18880 0 : XSRETURN(argvi);
18881 : fail:
18882 :
18883 :
18884 0 : SWIG_croak_null();
18885 : }
18886 : }
18887 :
18888 :
18889 0 : XS(_wrap_referenceMapObj_height_get) {
18890 : {
18891 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18892 0 : void *argp1 = 0 ;
18893 : int res1 = 0 ;
18894 : int argvi = 0;
18895 : int result;
18896 0 : dXSARGS;
18897 :
18898 0 : if ((items < 1) || (items > 1)) {
18899 0 : SWIG_croak("Usage: referenceMapObj_height_get(self);");
18900 : }
18901 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18902 0 : if (!SWIG_IsOK(res1)) {
18903 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18904 : }
18905 0 : arg1 = (referenceMapObj *)(argp1);
18906 0 : result = (int) ((arg1)->height);
18907 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18908 :
18909 0 : XSRETURN(argvi);
18910 : fail:
18911 :
18912 0 : SWIG_croak_null();
18913 : }
18914 : }
18915 :
18916 :
18917 0 : XS(_wrap_referenceMapObj_width_set) {
18918 : {
18919 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18920 : int arg2 ;
18921 0 : void *argp1 = 0 ;
18922 : int res1 = 0 ;
18923 : int val2 ;
18924 : int ecode2 = 0 ;
18925 : int argvi = 0;
18926 0 : dXSARGS;
18927 :
18928 0 : if ((items < 2) || (items > 2)) {
18929 0 : SWIG_croak("Usage: referenceMapObj_width_set(self,width);");
18930 : }
18931 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18932 0 : if (!SWIG_IsOK(res1)) {
18933 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18934 : }
18935 0 : arg1 = (referenceMapObj *)(argp1);
18936 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18937 0 : if (!SWIG_IsOK(ecode2)) {
18938 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_width_set" "', argument " "2"" of type '" "int""'");
18939 : }
18940 0 : arg2 = (int)(val2);
18941 0 : if (arg1) (arg1)->width = arg2;
18942 0 : ST(argvi) = sv_newmortal();
18943 :
18944 :
18945 0 : XSRETURN(argvi);
18946 : fail:
18947 :
18948 :
18949 0 : SWIG_croak_null();
18950 : }
18951 : }
18952 :
18953 :
18954 0 : XS(_wrap_referenceMapObj_width_get) {
18955 : {
18956 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18957 0 : void *argp1 = 0 ;
18958 : int res1 = 0 ;
18959 : int argvi = 0;
18960 : int result;
18961 0 : dXSARGS;
18962 :
18963 0 : if ((items < 1) || (items > 1)) {
18964 0 : SWIG_croak("Usage: referenceMapObj_width_get(self);");
18965 : }
18966 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18967 0 : if (!SWIG_IsOK(res1)) {
18968 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18969 : }
18970 0 : arg1 = (referenceMapObj *)(argp1);
18971 0 : result = (int) ((arg1)->width);
18972 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18973 :
18974 0 : XSRETURN(argvi);
18975 : fail:
18976 :
18977 0 : SWIG_croak_null();
18978 : }
18979 : }
18980 :
18981 :
18982 0 : XS(_wrap_referenceMapObj_color_set) {
18983 : {
18984 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18985 : colorObj *arg2 = (colorObj *) 0 ;
18986 0 : void *argp1 = 0 ;
18987 : int res1 = 0 ;
18988 0 : void *argp2 = 0 ;
18989 : int res2 = 0 ;
18990 : int argvi = 0;
18991 0 : dXSARGS;
18992 :
18993 0 : if ((items < 2) || (items > 2)) {
18994 0 : SWIG_croak("Usage: referenceMapObj_color_set(self,color);");
18995 : }
18996 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18997 0 : if (!SWIG_IsOK(res1)) {
18998 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18999 : }
19000 0 : arg1 = (referenceMapObj *)(argp1);
19001 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
19002 0 : if (!SWIG_IsOK(res2)) {
19003 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
19004 : }
19005 0 : arg2 = (colorObj *)(argp2);
19006 0 : if (arg1) (arg1)->color = *arg2;
19007 0 : ST(argvi) = sv_newmortal();
19008 :
19009 :
19010 0 : XSRETURN(argvi);
19011 : fail:
19012 :
19013 :
19014 0 : SWIG_croak_null();
19015 : }
19016 : }
19017 :
19018 :
19019 0 : XS(_wrap_referenceMapObj_color_get) {
19020 : {
19021 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19022 0 : void *argp1 = 0 ;
19023 : int res1 = 0 ;
19024 : int argvi = 0;
19025 : colorObj *result = 0 ;
19026 0 : dXSARGS;
19027 :
19028 0 : if ((items < 1) || (items > 1)) {
19029 0 : SWIG_croak("Usage: referenceMapObj_color_get(self);");
19030 : }
19031 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19032 0 : if (!SWIG_IsOK(res1)) {
19033 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19034 : }
19035 0 : arg1 = (referenceMapObj *)(argp1);
19036 0 : result = (colorObj *)& ((arg1)->color);
19037 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19038 :
19039 0 : XSRETURN(argvi);
19040 : fail:
19041 :
19042 0 : SWIG_croak_null();
19043 : }
19044 : }
19045 :
19046 :
19047 0 : XS(_wrap_referenceMapObj_outlinecolor_set) {
19048 : {
19049 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19050 : colorObj *arg2 = (colorObj *) 0 ;
19051 0 : void *argp1 = 0 ;
19052 : int res1 = 0 ;
19053 0 : void *argp2 = 0 ;
19054 : int res2 = 0 ;
19055 : int argvi = 0;
19056 0 : dXSARGS;
19057 :
19058 0 : if ((items < 2) || (items > 2)) {
19059 0 : SWIG_croak("Usage: referenceMapObj_outlinecolor_set(self,outlinecolor);");
19060 : }
19061 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19062 0 : if (!SWIG_IsOK(res1)) {
19063 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19064 : }
19065 0 : arg1 = (referenceMapObj *)(argp1);
19066 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
19067 0 : if (!SWIG_IsOK(res2)) {
19068 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
19069 : }
19070 0 : arg2 = (colorObj *)(argp2);
19071 0 : if (arg1) (arg1)->outlinecolor = *arg2;
19072 0 : ST(argvi) = sv_newmortal();
19073 :
19074 :
19075 0 : XSRETURN(argvi);
19076 : fail:
19077 :
19078 :
19079 0 : SWIG_croak_null();
19080 : }
19081 : }
19082 :
19083 :
19084 0 : XS(_wrap_referenceMapObj_outlinecolor_get) {
19085 : {
19086 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19087 0 : void *argp1 = 0 ;
19088 : int res1 = 0 ;
19089 : int argvi = 0;
19090 : colorObj *result = 0 ;
19091 0 : dXSARGS;
19092 :
19093 0 : if ((items < 1) || (items > 1)) {
19094 0 : SWIG_croak("Usage: referenceMapObj_outlinecolor_get(self);");
19095 : }
19096 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19097 0 : if (!SWIG_IsOK(res1)) {
19098 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19099 : }
19100 0 : arg1 = (referenceMapObj *)(argp1);
19101 0 : result = (colorObj *)& ((arg1)->outlinecolor);
19102 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19103 :
19104 0 : XSRETURN(argvi);
19105 : fail:
19106 :
19107 0 : SWIG_croak_null();
19108 : }
19109 : }
19110 :
19111 :
19112 0 : XS(_wrap_referenceMapObj_image_set) {
19113 : {
19114 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19115 : char *arg2 = (char *) 0 ;
19116 0 : void *argp1 = 0 ;
19117 : int res1 = 0 ;
19118 : int res2 ;
19119 0 : char *buf2 = 0 ;
19120 0 : int alloc2 = 0 ;
19121 : int argvi = 0;
19122 0 : dXSARGS;
19123 :
19124 0 : if ((items < 2) || (items > 2)) {
19125 0 : SWIG_croak("Usage: referenceMapObj_image_set(self,image);");
19126 : }
19127 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19128 0 : if (!SWIG_IsOK(res1)) {
19129 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19130 : }
19131 0 : arg1 = (referenceMapObj *)(argp1);
19132 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19133 0 : if (!SWIG_IsOK(res2)) {
19134 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_image_set" "', argument " "2"" of type '" "char *""'");
19135 : }
19136 0 : arg2 = (char *)(buf2);
19137 : {
19138 0 : if (arg1->image) free((char*)arg1->image);
19139 0 : if (arg2) {
19140 0 : arg1->image = (char *) malloc(strlen(arg2)+1);
19141 : strcpy((char*)arg1->image,arg2);
19142 : } else {
19143 0 : arg1->image = 0;
19144 : }
19145 : }
19146 0 : ST(argvi) = sv_newmortal();
19147 :
19148 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19149 0 : XSRETURN(argvi);
19150 : fail:
19151 :
19152 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19153 0 : SWIG_croak_null();
19154 : }
19155 : }
19156 :
19157 :
19158 0 : XS(_wrap_referenceMapObj_image_get) {
19159 : {
19160 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19161 0 : void *argp1 = 0 ;
19162 : int res1 = 0 ;
19163 : int argvi = 0;
19164 : char *result = 0 ;
19165 0 : dXSARGS;
19166 :
19167 0 : if ((items < 1) || (items > 1)) {
19168 0 : SWIG_croak("Usage: referenceMapObj_image_get(self);");
19169 : }
19170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19171 0 : if (!SWIG_IsOK(res1)) {
19172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19173 : }
19174 0 : arg1 = (referenceMapObj *)(argp1);
19175 0 : result = (char *) ((arg1)->image);
19176 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19177 :
19178 0 : XSRETURN(argvi);
19179 : fail:
19180 :
19181 0 : SWIG_croak_null();
19182 : }
19183 : }
19184 :
19185 :
19186 0 : XS(_wrap_referenceMapObj_status_set) {
19187 : {
19188 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19189 : int arg2 ;
19190 0 : void *argp1 = 0 ;
19191 : int res1 = 0 ;
19192 : int val2 ;
19193 : int ecode2 = 0 ;
19194 : int argvi = 0;
19195 0 : dXSARGS;
19196 :
19197 0 : if ((items < 2) || (items > 2)) {
19198 0 : SWIG_croak("Usage: referenceMapObj_status_set(self,status);");
19199 : }
19200 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19201 0 : if (!SWIG_IsOK(res1)) {
19202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19203 : }
19204 0 : arg1 = (referenceMapObj *)(argp1);
19205 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19206 0 : if (!SWIG_IsOK(ecode2)) {
19207 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_status_set" "', argument " "2"" of type '" "int""'");
19208 : }
19209 0 : arg2 = (int)(val2);
19210 0 : if (arg1) (arg1)->status = arg2;
19211 0 : ST(argvi) = sv_newmortal();
19212 :
19213 :
19214 0 : XSRETURN(argvi);
19215 : fail:
19216 :
19217 :
19218 0 : SWIG_croak_null();
19219 : }
19220 : }
19221 :
19222 :
19223 0 : XS(_wrap_referenceMapObj_status_get) {
19224 : {
19225 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19226 0 : void *argp1 = 0 ;
19227 : int res1 = 0 ;
19228 : int argvi = 0;
19229 : int result;
19230 0 : dXSARGS;
19231 :
19232 0 : if ((items < 1) || (items > 1)) {
19233 0 : SWIG_croak("Usage: referenceMapObj_status_get(self);");
19234 : }
19235 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19236 0 : if (!SWIG_IsOK(res1)) {
19237 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19238 : }
19239 0 : arg1 = (referenceMapObj *)(argp1);
19240 0 : result = (int) ((arg1)->status);
19241 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19242 :
19243 0 : XSRETURN(argvi);
19244 : fail:
19245 :
19246 0 : SWIG_croak_null();
19247 : }
19248 : }
19249 :
19250 :
19251 0 : XS(_wrap_referenceMapObj_marker_set) {
19252 : {
19253 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19254 : int arg2 ;
19255 0 : void *argp1 = 0 ;
19256 : int res1 = 0 ;
19257 : int val2 ;
19258 : int ecode2 = 0 ;
19259 : int argvi = 0;
19260 0 : dXSARGS;
19261 :
19262 0 : if ((items < 2) || (items > 2)) {
19263 0 : SWIG_croak("Usage: referenceMapObj_marker_set(self,marker);");
19264 : }
19265 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19266 0 : if (!SWIG_IsOK(res1)) {
19267 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19268 : }
19269 0 : arg1 = (referenceMapObj *)(argp1);
19270 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19271 0 : if (!SWIG_IsOK(ecode2)) {
19272 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_marker_set" "', argument " "2"" of type '" "int""'");
19273 : }
19274 0 : arg2 = (int)(val2);
19275 0 : if (arg1) (arg1)->marker = arg2;
19276 0 : ST(argvi) = sv_newmortal();
19277 :
19278 :
19279 0 : XSRETURN(argvi);
19280 : fail:
19281 :
19282 :
19283 0 : SWIG_croak_null();
19284 : }
19285 : }
19286 :
19287 :
19288 0 : XS(_wrap_referenceMapObj_marker_get) {
19289 : {
19290 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19291 0 : void *argp1 = 0 ;
19292 : int res1 = 0 ;
19293 : int argvi = 0;
19294 : int result;
19295 0 : dXSARGS;
19296 :
19297 0 : if ((items < 1) || (items > 1)) {
19298 0 : SWIG_croak("Usage: referenceMapObj_marker_get(self);");
19299 : }
19300 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19301 0 : if (!SWIG_IsOK(res1)) {
19302 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19303 : }
19304 0 : arg1 = (referenceMapObj *)(argp1);
19305 0 : result = (int) ((arg1)->marker);
19306 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19307 :
19308 0 : XSRETURN(argvi);
19309 : fail:
19310 :
19311 0 : SWIG_croak_null();
19312 : }
19313 : }
19314 :
19315 :
19316 0 : XS(_wrap_referenceMapObj_markername_set) {
19317 : {
19318 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19319 : char *arg2 = (char *) 0 ;
19320 0 : void *argp1 = 0 ;
19321 : int res1 = 0 ;
19322 : int res2 ;
19323 0 : char *buf2 = 0 ;
19324 0 : int alloc2 = 0 ;
19325 : int argvi = 0;
19326 0 : dXSARGS;
19327 :
19328 0 : if ((items < 2) || (items > 2)) {
19329 0 : SWIG_croak("Usage: referenceMapObj_markername_set(self,markername);");
19330 : }
19331 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19332 0 : if (!SWIG_IsOK(res1)) {
19333 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19334 : }
19335 0 : arg1 = (referenceMapObj *)(argp1);
19336 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19337 0 : if (!SWIG_IsOK(res2)) {
19338 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_markername_set" "', argument " "2"" of type '" "char *""'");
19339 : }
19340 0 : arg2 = (char *)(buf2);
19341 : {
19342 0 : if (arg1->markername) free((char*)arg1->markername);
19343 0 : if (arg2) {
19344 0 : arg1->markername = (char *) malloc(strlen(arg2)+1);
19345 : strcpy((char*)arg1->markername,arg2);
19346 : } else {
19347 0 : arg1->markername = 0;
19348 : }
19349 : }
19350 0 : ST(argvi) = sv_newmortal();
19351 :
19352 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19353 0 : XSRETURN(argvi);
19354 : fail:
19355 :
19356 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19357 0 : SWIG_croak_null();
19358 : }
19359 : }
19360 :
19361 :
19362 0 : XS(_wrap_referenceMapObj_markername_get) {
19363 : {
19364 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19365 0 : void *argp1 = 0 ;
19366 : int res1 = 0 ;
19367 : int argvi = 0;
19368 : char *result = 0 ;
19369 0 : dXSARGS;
19370 :
19371 0 : if ((items < 1) || (items > 1)) {
19372 0 : SWIG_croak("Usage: referenceMapObj_markername_get(self);");
19373 : }
19374 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19375 0 : if (!SWIG_IsOK(res1)) {
19376 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19377 : }
19378 0 : arg1 = (referenceMapObj *)(argp1);
19379 0 : result = (char *) ((arg1)->markername);
19380 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19381 :
19382 0 : XSRETURN(argvi);
19383 : fail:
19384 :
19385 0 : SWIG_croak_null();
19386 : }
19387 : }
19388 :
19389 :
19390 0 : XS(_wrap_referenceMapObj_markersize_set) {
19391 : {
19392 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19393 : int arg2 ;
19394 0 : void *argp1 = 0 ;
19395 : int res1 = 0 ;
19396 : int val2 ;
19397 : int ecode2 = 0 ;
19398 : int argvi = 0;
19399 0 : dXSARGS;
19400 :
19401 0 : if ((items < 2) || (items > 2)) {
19402 0 : SWIG_croak("Usage: referenceMapObj_markersize_set(self,markersize);");
19403 : }
19404 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19405 0 : if (!SWIG_IsOK(res1)) {
19406 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19407 : }
19408 0 : arg1 = (referenceMapObj *)(argp1);
19409 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19410 0 : if (!SWIG_IsOK(ecode2)) {
19411 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_markersize_set" "', argument " "2"" of type '" "int""'");
19412 : }
19413 0 : arg2 = (int)(val2);
19414 0 : if (arg1) (arg1)->markersize = arg2;
19415 0 : ST(argvi) = sv_newmortal();
19416 :
19417 :
19418 0 : XSRETURN(argvi);
19419 : fail:
19420 :
19421 :
19422 0 : SWIG_croak_null();
19423 : }
19424 : }
19425 :
19426 :
19427 0 : XS(_wrap_referenceMapObj_markersize_get) {
19428 : {
19429 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19430 0 : void *argp1 = 0 ;
19431 : int res1 = 0 ;
19432 : int argvi = 0;
19433 : int result;
19434 0 : dXSARGS;
19435 :
19436 0 : if ((items < 1) || (items > 1)) {
19437 0 : SWIG_croak("Usage: referenceMapObj_markersize_get(self);");
19438 : }
19439 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19440 0 : if (!SWIG_IsOK(res1)) {
19441 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19442 : }
19443 0 : arg1 = (referenceMapObj *)(argp1);
19444 0 : result = (int) ((arg1)->markersize);
19445 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19446 :
19447 0 : XSRETURN(argvi);
19448 : fail:
19449 :
19450 0 : SWIG_croak_null();
19451 : }
19452 : }
19453 :
19454 :
19455 0 : XS(_wrap_referenceMapObj_minboxsize_set) {
19456 : {
19457 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19458 : int arg2 ;
19459 0 : void *argp1 = 0 ;
19460 : int res1 = 0 ;
19461 : int val2 ;
19462 : int ecode2 = 0 ;
19463 : int argvi = 0;
19464 0 : dXSARGS;
19465 :
19466 0 : if ((items < 2) || (items > 2)) {
19467 0 : SWIG_croak("Usage: referenceMapObj_minboxsize_set(self,minboxsize);");
19468 : }
19469 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19470 0 : if (!SWIG_IsOK(res1)) {
19471 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19472 : }
19473 0 : arg1 = (referenceMapObj *)(argp1);
19474 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19475 0 : if (!SWIG_IsOK(ecode2)) {
19476 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_minboxsize_set" "', argument " "2"" of type '" "int""'");
19477 : }
19478 0 : arg2 = (int)(val2);
19479 0 : if (arg1) (arg1)->minboxsize = arg2;
19480 0 : ST(argvi) = sv_newmortal();
19481 :
19482 :
19483 0 : XSRETURN(argvi);
19484 : fail:
19485 :
19486 :
19487 0 : SWIG_croak_null();
19488 : }
19489 : }
19490 :
19491 :
19492 0 : XS(_wrap_referenceMapObj_minboxsize_get) {
19493 : {
19494 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19495 0 : void *argp1 = 0 ;
19496 : int res1 = 0 ;
19497 : int argvi = 0;
19498 : int result;
19499 0 : dXSARGS;
19500 :
19501 0 : if ((items < 1) || (items > 1)) {
19502 0 : SWIG_croak("Usage: referenceMapObj_minboxsize_get(self);");
19503 : }
19504 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19505 0 : if (!SWIG_IsOK(res1)) {
19506 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19507 : }
19508 0 : arg1 = (referenceMapObj *)(argp1);
19509 0 : result = (int) ((arg1)->minboxsize);
19510 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19511 :
19512 0 : XSRETURN(argvi);
19513 : fail:
19514 :
19515 0 : SWIG_croak_null();
19516 : }
19517 : }
19518 :
19519 :
19520 0 : XS(_wrap_referenceMapObj_maxboxsize_set) {
19521 : {
19522 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19523 : int arg2 ;
19524 0 : void *argp1 = 0 ;
19525 : int res1 = 0 ;
19526 : int val2 ;
19527 : int ecode2 = 0 ;
19528 : int argvi = 0;
19529 0 : dXSARGS;
19530 :
19531 0 : if ((items < 2) || (items > 2)) {
19532 0 : SWIG_croak("Usage: referenceMapObj_maxboxsize_set(self,maxboxsize);");
19533 : }
19534 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19535 0 : if (!SWIG_IsOK(res1)) {
19536 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19537 : }
19538 0 : arg1 = (referenceMapObj *)(argp1);
19539 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19540 0 : if (!SWIG_IsOK(ecode2)) {
19541 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "2"" of type '" "int""'");
19542 : }
19543 0 : arg2 = (int)(val2);
19544 0 : if (arg1) (arg1)->maxboxsize = arg2;
19545 0 : ST(argvi) = sv_newmortal();
19546 :
19547 :
19548 0 : XSRETURN(argvi);
19549 : fail:
19550 :
19551 :
19552 0 : SWIG_croak_null();
19553 : }
19554 : }
19555 :
19556 :
19557 0 : XS(_wrap_referenceMapObj_maxboxsize_get) {
19558 : {
19559 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19560 0 : void *argp1 = 0 ;
19561 : int res1 = 0 ;
19562 : int argvi = 0;
19563 : int result;
19564 0 : dXSARGS;
19565 :
19566 0 : if ((items < 1) || (items > 1)) {
19567 0 : SWIG_croak("Usage: referenceMapObj_maxboxsize_get(self);");
19568 : }
19569 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19570 0 : if (!SWIG_IsOK(res1)) {
19571 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19572 : }
19573 0 : arg1 = (referenceMapObj *)(argp1);
19574 0 : result = (int) ((arg1)->maxboxsize);
19575 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19576 :
19577 0 : XSRETURN(argvi);
19578 : fail:
19579 :
19580 0 : SWIG_croak_null();
19581 : }
19582 : }
19583 :
19584 :
19585 0 : XS(_wrap_referenceMapObj_map_get) {
19586 : {
19587 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19588 0 : void *argp1 = 0 ;
19589 : int res1 = 0 ;
19590 : int argvi = 0;
19591 : struct mapObj *result = 0 ;
19592 0 : dXSARGS;
19593 :
19594 0 : if ((items < 1) || (items > 1)) {
19595 0 : SWIG_croak("Usage: referenceMapObj_map_get(self);");
19596 : }
19597 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19598 0 : if (!SWIG_IsOK(res1)) {
19599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_map_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19600 : }
19601 0 : arg1 = (referenceMapObj *)(argp1);
19602 : {
19603 : /* Accessing map */
19604 0 : result = (struct mapObj *) ((arg1)->map);;
19605 0 : MS_REFCNT_INCR(result);
19606 : }
19607 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
19608 :
19609 0 : XSRETURN(argvi);
19610 : fail:
19611 :
19612 0 : SWIG_croak_null();
19613 : }
19614 : }
19615 :
19616 :
19617 0 : XS(_wrap_referenceMapObj_updateFromString) {
19618 : {
19619 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19620 : char *arg2 = (char *) 0 ;
19621 0 : void *argp1 = 0 ;
19622 : int res1 = 0 ;
19623 : int res2 ;
19624 0 : char *buf2 = 0 ;
19625 0 : int alloc2 = 0 ;
19626 : int argvi = 0;
19627 : int result;
19628 0 : dXSARGS;
19629 :
19630 0 : if ((items < 2) || (items > 2)) {
19631 0 : SWIG_croak("Usage: referenceMapObj_updateFromString(self,snippet);");
19632 : }
19633 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19634 0 : if (!SWIG_IsOK(res1)) {
19635 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_updateFromString" "', argument " "1"" of type '" "referenceMapObj *""'");
19636 : }
19637 0 : arg1 = (referenceMapObj *)(argp1);
19638 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19639 0 : if (!SWIG_IsOK(res2)) {
19640 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
19641 : }
19642 0 : arg2 = (char *)(buf2);
19643 : result = (int)referenceMapObj_updateFromString(arg1,arg2);
19644 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19645 :
19646 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19647 0 : XSRETURN(argvi);
19648 : fail:
19649 :
19650 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19651 0 : SWIG_croak_null();
19652 : }
19653 : }
19654 :
19655 :
19656 0 : XS(_wrap_referenceMapObj_convertToString) {
19657 : {
19658 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19659 0 : void *argp1 = 0 ;
19660 : int res1 = 0 ;
19661 : int argvi = 0;
19662 : char *result = 0 ;
19663 0 : dXSARGS;
19664 :
19665 0 : if ((items < 1) || (items > 1)) {
19666 0 : SWIG_croak("Usage: referenceMapObj_convertToString(self);");
19667 : }
19668 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19669 0 : if (!SWIG_IsOK(res1)) {
19670 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_convertToString" "', argument " "1"" of type '" "referenceMapObj *""'");
19671 : }
19672 0 : arg1 = (referenceMapObj *)(argp1);
19673 : result = (char *)referenceMapObj_convertToString(arg1);
19674 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19675 :
19676 0 : free((char*)result);
19677 0 : XSRETURN(argvi);
19678 : fail:
19679 :
19680 0 : SWIG_croak_null();
19681 : }
19682 : }
19683 :
19684 :
19685 0 : XS(_wrap_new_referenceMapObj) {
19686 : {
19687 : int argvi = 0;
19688 : referenceMapObj *result = 0 ;
19689 0 : dXSARGS;
19690 :
19691 0 : if ((items < 0) || (items > 0)) {
19692 0 : SWIG_croak("Usage: new_referenceMapObj();");
19693 : }
19694 0 : result = (referenceMapObj *)calloc(1, sizeof(referenceMapObj));
19695 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
19696 0 : XSRETURN(argvi);
19697 : fail:
19698 0 : SWIG_croak_null();
19699 : }
19700 : }
19701 :
19702 :
19703 0 : XS(_wrap_delete_referenceMapObj) {
19704 : {
19705 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19706 0 : void *argp1 = 0 ;
19707 : int res1 = 0 ;
19708 : int argvi = 0;
19709 0 : dXSARGS;
19710 :
19711 0 : if ((items < 1) || (items > 1)) {
19712 0 : SWIG_croak("Usage: delete_referenceMapObj(self);");
19713 : }
19714 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, SWIG_POINTER_DISOWN | 0 );
19715 0 : if (!SWIG_IsOK(res1)) {
19716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_referenceMapObj" "', argument " "1"" of type '" "referenceMapObj *""'");
19717 : }
19718 0 : arg1 = (referenceMapObj *)(argp1);
19719 0 : free((char *) arg1);
19720 0 : ST(argvi) = sv_newmortal();
19721 :
19722 0 : XSRETURN(argvi);
19723 : fail:
19724 :
19725 0 : SWIG_croak_null();
19726 : }
19727 : }
19728 :
19729 :
19730 0 : XS(_wrap_scalebarObj_imagecolor_set) {
19731 : {
19732 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19733 : colorObj *arg2 = (colorObj *) 0 ;
19734 0 : void *argp1 = 0 ;
19735 : int res1 = 0 ;
19736 0 : void *argp2 = 0 ;
19737 : int res2 = 0 ;
19738 : int argvi = 0;
19739 0 : dXSARGS;
19740 :
19741 0 : if ((items < 2) || (items > 2)) {
19742 0 : SWIG_croak("Usage: scalebarObj_imagecolor_set(self,imagecolor);");
19743 : }
19744 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19745 0 : if (!SWIG_IsOK(res1)) {
19746 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
19747 : }
19748 0 : arg1 = (scalebarObj *)(argp1);
19749 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
19750 0 : if (!SWIG_IsOK(res2)) {
19751 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
19752 : }
19753 0 : arg2 = (colorObj *)(argp2);
19754 0 : if (arg1) (arg1)->imagecolor = *arg2;
19755 0 : ST(argvi) = sv_newmortal();
19756 :
19757 :
19758 0 : XSRETURN(argvi);
19759 : fail:
19760 :
19761 :
19762 0 : SWIG_croak_null();
19763 : }
19764 : }
19765 :
19766 :
19767 0 : XS(_wrap_scalebarObj_imagecolor_get) {
19768 : {
19769 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19770 0 : void *argp1 = 0 ;
19771 : int res1 = 0 ;
19772 : int argvi = 0;
19773 : colorObj *result = 0 ;
19774 0 : dXSARGS;
19775 :
19776 0 : if ((items < 1) || (items > 1)) {
19777 0 : SWIG_croak("Usage: scalebarObj_imagecolor_get(self);");
19778 : }
19779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19780 0 : if (!SWIG_IsOK(res1)) {
19781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
19782 : }
19783 0 : arg1 = (scalebarObj *)(argp1);
19784 0 : result = (colorObj *)& ((arg1)->imagecolor);
19785 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19786 :
19787 0 : XSRETURN(argvi);
19788 : fail:
19789 :
19790 0 : SWIG_croak_null();
19791 : }
19792 : }
19793 :
19794 :
19795 0 : XS(_wrap_scalebarObj_height_set) {
19796 : {
19797 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19798 : int arg2 ;
19799 0 : void *argp1 = 0 ;
19800 : int res1 = 0 ;
19801 : int val2 ;
19802 : int ecode2 = 0 ;
19803 : int argvi = 0;
19804 0 : dXSARGS;
19805 :
19806 0 : if ((items < 2) || (items > 2)) {
19807 0 : SWIG_croak("Usage: scalebarObj_height_set(self,height);");
19808 : }
19809 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19810 0 : if (!SWIG_IsOK(res1)) {
19811 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_set" "', argument " "1"" of type '" "scalebarObj *""'");
19812 : }
19813 0 : arg1 = (scalebarObj *)(argp1);
19814 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19815 0 : if (!SWIG_IsOK(ecode2)) {
19816 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_height_set" "', argument " "2"" of type '" "int""'");
19817 : }
19818 0 : arg2 = (int)(val2);
19819 0 : if (arg1) (arg1)->height = arg2;
19820 0 : ST(argvi) = sv_newmortal();
19821 :
19822 :
19823 0 : XSRETURN(argvi);
19824 : fail:
19825 :
19826 :
19827 0 : SWIG_croak_null();
19828 : }
19829 : }
19830 :
19831 :
19832 0 : XS(_wrap_scalebarObj_height_get) {
19833 : {
19834 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19835 0 : void *argp1 = 0 ;
19836 : int res1 = 0 ;
19837 : int argvi = 0;
19838 : int result;
19839 0 : dXSARGS;
19840 :
19841 0 : if ((items < 1) || (items > 1)) {
19842 0 : SWIG_croak("Usage: scalebarObj_height_get(self);");
19843 : }
19844 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19845 0 : if (!SWIG_IsOK(res1)) {
19846 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_get" "', argument " "1"" of type '" "scalebarObj *""'");
19847 : }
19848 0 : arg1 = (scalebarObj *)(argp1);
19849 0 : result = (int) ((arg1)->height);
19850 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19851 :
19852 0 : XSRETURN(argvi);
19853 : fail:
19854 :
19855 0 : SWIG_croak_null();
19856 : }
19857 : }
19858 :
19859 :
19860 0 : XS(_wrap_scalebarObj_width_set) {
19861 : {
19862 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19863 : int arg2 ;
19864 0 : void *argp1 = 0 ;
19865 : int res1 = 0 ;
19866 : int val2 ;
19867 : int ecode2 = 0 ;
19868 : int argvi = 0;
19869 0 : dXSARGS;
19870 :
19871 0 : if ((items < 2) || (items > 2)) {
19872 0 : SWIG_croak("Usage: scalebarObj_width_set(self,width);");
19873 : }
19874 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19875 0 : if (!SWIG_IsOK(res1)) {
19876 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_set" "', argument " "1"" of type '" "scalebarObj *""'");
19877 : }
19878 0 : arg1 = (scalebarObj *)(argp1);
19879 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19880 0 : if (!SWIG_IsOK(ecode2)) {
19881 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_width_set" "', argument " "2"" of type '" "int""'");
19882 : }
19883 0 : arg2 = (int)(val2);
19884 0 : if (arg1) (arg1)->width = arg2;
19885 0 : ST(argvi) = sv_newmortal();
19886 :
19887 :
19888 0 : XSRETURN(argvi);
19889 : fail:
19890 :
19891 :
19892 0 : SWIG_croak_null();
19893 : }
19894 : }
19895 :
19896 :
19897 0 : XS(_wrap_scalebarObj_width_get) {
19898 : {
19899 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19900 0 : void *argp1 = 0 ;
19901 : int res1 = 0 ;
19902 : int argvi = 0;
19903 : int result;
19904 0 : dXSARGS;
19905 :
19906 0 : if ((items < 1) || (items > 1)) {
19907 0 : SWIG_croak("Usage: scalebarObj_width_get(self);");
19908 : }
19909 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19910 0 : if (!SWIG_IsOK(res1)) {
19911 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_get" "', argument " "1"" of type '" "scalebarObj *""'");
19912 : }
19913 0 : arg1 = (scalebarObj *)(argp1);
19914 0 : result = (int) ((arg1)->width);
19915 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19916 :
19917 0 : XSRETURN(argvi);
19918 : fail:
19919 :
19920 0 : SWIG_croak_null();
19921 : }
19922 : }
19923 :
19924 :
19925 0 : XS(_wrap_scalebarObj_style_set) {
19926 : {
19927 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19928 : int arg2 ;
19929 0 : void *argp1 = 0 ;
19930 : int res1 = 0 ;
19931 : int val2 ;
19932 : int ecode2 = 0 ;
19933 : int argvi = 0;
19934 0 : dXSARGS;
19935 :
19936 0 : if ((items < 2) || (items > 2)) {
19937 0 : SWIG_croak("Usage: scalebarObj_style_set(self,style);");
19938 : }
19939 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19940 0 : if (!SWIG_IsOK(res1)) {
19941 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_set" "', argument " "1"" of type '" "scalebarObj *""'");
19942 : }
19943 0 : arg1 = (scalebarObj *)(argp1);
19944 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19945 0 : if (!SWIG_IsOK(ecode2)) {
19946 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_style_set" "', argument " "2"" of type '" "int""'");
19947 : }
19948 0 : arg2 = (int)(val2);
19949 0 : if (arg1) (arg1)->style = arg2;
19950 0 : ST(argvi) = sv_newmortal();
19951 :
19952 :
19953 0 : XSRETURN(argvi);
19954 : fail:
19955 :
19956 :
19957 0 : SWIG_croak_null();
19958 : }
19959 : }
19960 :
19961 :
19962 0 : XS(_wrap_scalebarObj_style_get) {
19963 : {
19964 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19965 0 : void *argp1 = 0 ;
19966 : int res1 = 0 ;
19967 : int argvi = 0;
19968 : int result;
19969 0 : dXSARGS;
19970 :
19971 0 : if ((items < 1) || (items > 1)) {
19972 0 : SWIG_croak("Usage: scalebarObj_style_get(self);");
19973 : }
19974 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19975 0 : if (!SWIG_IsOK(res1)) {
19976 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_get" "', argument " "1"" of type '" "scalebarObj *""'");
19977 : }
19978 0 : arg1 = (scalebarObj *)(argp1);
19979 0 : result = (int) ((arg1)->style);
19980 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19981 :
19982 0 : XSRETURN(argvi);
19983 : fail:
19984 :
19985 0 : SWIG_croak_null();
19986 : }
19987 : }
19988 :
19989 :
19990 0 : XS(_wrap_scalebarObj_intervals_set) {
19991 : {
19992 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19993 : int arg2 ;
19994 0 : void *argp1 = 0 ;
19995 : int res1 = 0 ;
19996 : int val2 ;
19997 : int ecode2 = 0 ;
19998 : int argvi = 0;
19999 0 : dXSARGS;
20000 :
20001 0 : if ((items < 2) || (items > 2)) {
20002 0 : SWIG_croak("Usage: scalebarObj_intervals_set(self,intervals);");
20003 : }
20004 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20005 0 : if (!SWIG_IsOK(res1)) {
20006 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_set" "', argument " "1"" of type '" "scalebarObj *""'");
20007 : }
20008 0 : arg1 = (scalebarObj *)(argp1);
20009 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20010 0 : if (!SWIG_IsOK(ecode2)) {
20011 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_intervals_set" "', argument " "2"" of type '" "int""'");
20012 : }
20013 0 : arg2 = (int)(val2);
20014 0 : if (arg1) (arg1)->intervals = arg2;
20015 0 : ST(argvi) = sv_newmortal();
20016 :
20017 :
20018 0 : XSRETURN(argvi);
20019 : fail:
20020 :
20021 :
20022 0 : SWIG_croak_null();
20023 : }
20024 : }
20025 :
20026 :
20027 0 : XS(_wrap_scalebarObj_intervals_get) {
20028 : {
20029 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20030 0 : void *argp1 = 0 ;
20031 : int res1 = 0 ;
20032 : int argvi = 0;
20033 : int result;
20034 0 : dXSARGS;
20035 :
20036 0 : if ((items < 1) || (items > 1)) {
20037 0 : SWIG_croak("Usage: scalebarObj_intervals_get(self);");
20038 : }
20039 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20040 0 : if (!SWIG_IsOK(res1)) {
20041 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_get" "', argument " "1"" of type '" "scalebarObj *""'");
20042 : }
20043 0 : arg1 = (scalebarObj *)(argp1);
20044 0 : result = (int) ((arg1)->intervals);
20045 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20046 :
20047 0 : XSRETURN(argvi);
20048 : fail:
20049 :
20050 0 : SWIG_croak_null();
20051 : }
20052 : }
20053 :
20054 :
20055 0 : XS(_wrap_scalebarObj_label_set) {
20056 : {
20057 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20058 : labelObj *arg2 = (labelObj *) 0 ;
20059 0 : void *argp1 = 0 ;
20060 : int res1 = 0 ;
20061 0 : void *argp2 = 0 ;
20062 : int res2 = 0 ;
20063 : int argvi = 0;
20064 0 : dXSARGS;
20065 :
20066 0 : if ((items < 2) || (items > 2)) {
20067 0 : SWIG_croak("Usage: scalebarObj_label_set(self,label);");
20068 : }
20069 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20070 0 : if (!SWIG_IsOK(res1)) {
20071 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_set" "', argument " "1"" of type '" "scalebarObj *""'");
20072 : }
20073 0 : arg1 = (scalebarObj *)(argp1);
20074 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 | 0 );
20075 0 : if (!SWIG_IsOK(res2)) {
20076 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_label_set" "', argument " "2"" of type '" "labelObj *""'");
20077 : }
20078 0 : arg2 = (labelObj *)(argp2);
20079 0 : if (arg1) (arg1)->label = *arg2;
20080 0 : ST(argvi) = sv_newmortal();
20081 :
20082 :
20083 0 : XSRETURN(argvi);
20084 : fail:
20085 :
20086 :
20087 0 : SWIG_croak_null();
20088 : }
20089 : }
20090 :
20091 :
20092 0 : XS(_wrap_scalebarObj_label_get) {
20093 : {
20094 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20095 0 : void *argp1 = 0 ;
20096 : int res1 = 0 ;
20097 : int argvi = 0;
20098 : labelObj *result = 0 ;
20099 0 : dXSARGS;
20100 :
20101 0 : if ((items < 1) || (items > 1)) {
20102 0 : SWIG_croak("Usage: scalebarObj_label_get(self);");
20103 : }
20104 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20105 0 : if (!SWIG_IsOK(res1)) {
20106 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_get" "', argument " "1"" of type '" "scalebarObj *""'");
20107 : }
20108 0 : arg1 = (scalebarObj *)(argp1);
20109 0 : result = (labelObj *)& ((arg1)->label);
20110 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
20111 :
20112 0 : XSRETURN(argvi);
20113 : fail:
20114 :
20115 0 : SWIG_croak_null();
20116 : }
20117 : }
20118 :
20119 :
20120 0 : XS(_wrap_scalebarObj_color_set) {
20121 : {
20122 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20123 : colorObj *arg2 = (colorObj *) 0 ;
20124 0 : void *argp1 = 0 ;
20125 : int res1 = 0 ;
20126 0 : void *argp2 = 0 ;
20127 : int res2 = 0 ;
20128 : int argvi = 0;
20129 0 : dXSARGS;
20130 :
20131 0 : if ((items < 2) || (items > 2)) {
20132 0 : SWIG_croak("Usage: scalebarObj_color_set(self,color);");
20133 : }
20134 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20135 0 : if (!SWIG_IsOK(res1)) {
20136 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_set" "', argument " "1"" of type '" "scalebarObj *""'");
20137 : }
20138 0 : arg1 = (scalebarObj *)(argp1);
20139 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20140 0 : if (!SWIG_IsOK(res2)) {
20141 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
20142 : }
20143 0 : arg2 = (colorObj *)(argp2);
20144 0 : if (arg1) (arg1)->color = *arg2;
20145 0 : ST(argvi) = sv_newmortal();
20146 :
20147 :
20148 0 : XSRETURN(argvi);
20149 : fail:
20150 :
20151 :
20152 0 : SWIG_croak_null();
20153 : }
20154 : }
20155 :
20156 :
20157 0 : XS(_wrap_scalebarObj_color_get) {
20158 : {
20159 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20160 0 : void *argp1 = 0 ;
20161 : int res1 = 0 ;
20162 : int argvi = 0;
20163 : colorObj *result = 0 ;
20164 0 : dXSARGS;
20165 :
20166 0 : if ((items < 1) || (items > 1)) {
20167 0 : SWIG_croak("Usage: scalebarObj_color_get(self);");
20168 : }
20169 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20170 0 : if (!SWIG_IsOK(res1)) {
20171 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_get" "', argument " "1"" of type '" "scalebarObj *""'");
20172 : }
20173 0 : arg1 = (scalebarObj *)(argp1);
20174 0 : result = (colorObj *)& ((arg1)->color);
20175 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20176 :
20177 0 : XSRETURN(argvi);
20178 : fail:
20179 :
20180 0 : SWIG_croak_null();
20181 : }
20182 : }
20183 :
20184 :
20185 0 : XS(_wrap_scalebarObj_backgroundcolor_set) {
20186 : {
20187 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20188 : colorObj *arg2 = (colorObj *) 0 ;
20189 0 : void *argp1 = 0 ;
20190 : int res1 = 0 ;
20191 0 : void *argp2 = 0 ;
20192 : int res2 = 0 ;
20193 : int argvi = 0;
20194 0 : dXSARGS;
20195 :
20196 0 : if ((items < 2) || (items > 2)) {
20197 0 : SWIG_croak("Usage: scalebarObj_backgroundcolor_set(self,backgroundcolor);");
20198 : }
20199 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20200 0 : if (!SWIG_IsOK(res1)) {
20201 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
20202 : }
20203 0 : arg1 = (scalebarObj *)(argp1);
20204 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20205 0 : if (!SWIG_IsOK(res2)) {
20206 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'");
20207 : }
20208 0 : arg2 = (colorObj *)(argp2);
20209 0 : if (arg1) (arg1)->backgroundcolor = *arg2;
20210 0 : ST(argvi) = sv_newmortal();
20211 :
20212 :
20213 0 : XSRETURN(argvi);
20214 : fail:
20215 :
20216 :
20217 0 : SWIG_croak_null();
20218 : }
20219 : }
20220 :
20221 :
20222 0 : XS(_wrap_scalebarObj_backgroundcolor_get) {
20223 : {
20224 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20225 0 : void *argp1 = 0 ;
20226 : int res1 = 0 ;
20227 : int argvi = 0;
20228 : colorObj *result = 0 ;
20229 0 : dXSARGS;
20230 :
20231 0 : if ((items < 1) || (items > 1)) {
20232 0 : SWIG_croak("Usage: scalebarObj_backgroundcolor_get(self);");
20233 : }
20234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20235 0 : if (!SWIG_IsOK(res1)) {
20236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
20237 : }
20238 0 : arg1 = (scalebarObj *)(argp1);
20239 0 : result = (colorObj *)& ((arg1)->backgroundcolor);
20240 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20241 :
20242 0 : XSRETURN(argvi);
20243 : fail:
20244 :
20245 0 : SWIG_croak_null();
20246 : }
20247 : }
20248 :
20249 :
20250 0 : XS(_wrap_scalebarObj_outlinecolor_set) {
20251 : {
20252 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20253 : colorObj *arg2 = (colorObj *) 0 ;
20254 0 : void *argp1 = 0 ;
20255 : int res1 = 0 ;
20256 0 : void *argp2 = 0 ;
20257 : int res2 = 0 ;
20258 : int argvi = 0;
20259 0 : dXSARGS;
20260 :
20261 0 : if ((items < 2) || (items > 2)) {
20262 0 : SWIG_croak("Usage: scalebarObj_outlinecolor_set(self,outlinecolor);");
20263 : }
20264 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20265 0 : if (!SWIG_IsOK(res1)) {
20266 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
20267 : }
20268 0 : arg1 = (scalebarObj *)(argp1);
20269 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20270 0 : if (!SWIG_IsOK(res2)) {
20271 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
20272 : }
20273 0 : arg2 = (colorObj *)(argp2);
20274 0 : if (arg1) (arg1)->outlinecolor = *arg2;
20275 0 : ST(argvi) = sv_newmortal();
20276 :
20277 :
20278 0 : XSRETURN(argvi);
20279 : fail:
20280 :
20281 :
20282 0 : SWIG_croak_null();
20283 : }
20284 : }
20285 :
20286 :
20287 0 : XS(_wrap_scalebarObj_outlinecolor_get) {
20288 : {
20289 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20290 0 : void *argp1 = 0 ;
20291 : int res1 = 0 ;
20292 : int argvi = 0;
20293 : colorObj *result = 0 ;
20294 0 : dXSARGS;
20295 :
20296 0 : if ((items < 1) || (items > 1)) {
20297 0 : SWIG_croak("Usage: scalebarObj_outlinecolor_get(self);");
20298 : }
20299 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20300 0 : if (!SWIG_IsOK(res1)) {
20301 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
20302 : }
20303 0 : arg1 = (scalebarObj *)(argp1);
20304 0 : result = (colorObj *)& ((arg1)->outlinecolor);
20305 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20306 :
20307 0 : XSRETURN(argvi);
20308 : fail:
20309 :
20310 0 : SWIG_croak_null();
20311 : }
20312 : }
20313 :
20314 :
20315 0 : XS(_wrap_scalebarObj_units_set) {
20316 : {
20317 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20318 : int arg2 ;
20319 0 : void *argp1 = 0 ;
20320 : int res1 = 0 ;
20321 : int val2 ;
20322 : int ecode2 = 0 ;
20323 : int argvi = 0;
20324 0 : dXSARGS;
20325 :
20326 0 : if ((items < 2) || (items > 2)) {
20327 0 : SWIG_croak("Usage: scalebarObj_units_set(self,units);");
20328 : }
20329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20330 0 : if (!SWIG_IsOK(res1)) {
20331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_set" "', argument " "1"" of type '" "scalebarObj *""'");
20332 : }
20333 0 : arg1 = (scalebarObj *)(argp1);
20334 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20335 0 : if (!SWIG_IsOK(ecode2)) {
20336 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_units_set" "', argument " "2"" of type '" "int""'");
20337 : }
20338 0 : arg2 = (int)(val2);
20339 0 : if (arg1) (arg1)->units = arg2;
20340 0 : ST(argvi) = sv_newmortal();
20341 :
20342 :
20343 0 : XSRETURN(argvi);
20344 : fail:
20345 :
20346 :
20347 0 : SWIG_croak_null();
20348 : }
20349 : }
20350 :
20351 :
20352 0 : XS(_wrap_scalebarObj_units_get) {
20353 : {
20354 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20355 0 : void *argp1 = 0 ;
20356 : int res1 = 0 ;
20357 : int argvi = 0;
20358 : int result;
20359 0 : dXSARGS;
20360 :
20361 0 : if ((items < 1) || (items > 1)) {
20362 0 : SWIG_croak("Usage: scalebarObj_units_get(self);");
20363 : }
20364 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20365 0 : if (!SWIG_IsOK(res1)) {
20366 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_get" "', argument " "1"" of type '" "scalebarObj *""'");
20367 : }
20368 0 : arg1 = (scalebarObj *)(argp1);
20369 0 : result = (int) ((arg1)->units);
20370 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20371 :
20372 0 : XSRETURN(argvi);
20373 : fail:
20374 :
20375 0 : SWIG_croak_null();
20376 : }
20377 : }
20378 :
20379 :
20380 0 : XS(_wrap_scalebarObj_status_set) {
20381 : {
20382 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20383 : int arg2 ;
20384 0 : void *argp1 = 0 ;
20385 : int res1 = 0 ;
20386 : int val2 ;
20387 : int ecode2 = 0 ;
20388 : int argvi = 0;
20389 0 : dXSARGS;
20390 :
20391 0 : if ((items < 2) || (items > 2)) {
20392 0 : SWIG_croak("Usage: scalebarObj_status_set(self,status);");
20393 : }
20394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20395 0 : if (!SWIG_IsOK(res1)) {
20396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_set" "', argument " "1"" of type '" "scalebarObj *""'");
20397 : }
20398 0 : arg1 = (scalebarObj *)(argp1);
20399 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20400 0 : if (!SWIG_IsOK(ecode2)) {
20401 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_status_set" "', argument " "2"" of type '" "int""'");
20402 : }
20403 0 : arg2 = (int)(val2);
20404 0 : if (arg1) (arg1)->status = arg2;
20405 0 : ST(argvi) = sv_newmortal();
20406 :
20407 :
20408 0 : XSRETURN(argvi);
20409 : fail:
20410 :
20411 :
20412 0 : SWIG_croak_null();
20413 : }
20414 : }
20415 :
20416 :
20417 0 : XS(_wrap_scalebarObj_status_get) {
20418 : {
20419 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20420 0 : void *argp1 = 0 ;
20421 : int res1 = 0 ;
20422 : int argvi = 0;
20423 : int result;
20424 0 : dXSARGS;
20425 :
20426 0 : if ((items < 1) || (items > 1)) {
20427 0 : SWIG_croak("Usage: scalebarObj_status_get(self);");
20428 : }
20429 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20430 0 : if (!SWIG_IsOK(res1)) {
20431 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_get" "', argument " "1"" of type '" "scalebarObj *""'");
20432 : }
20433 0 : arg1 = (scalebarObj *)(argp1);
20434 0 : result = (int) ((arg1)->status);
20435 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20436 :
20437 0 : XSRETURN(argvi);
20438 : fail:
20439 :
20440 0 : SWIG_croak_null();
20441 : }
20442 : }
20443 :
20444 :
20445 0 : XS(_wrap_scalebarObj_position_set) {
20446 : {
20447 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20448 : int arg2 ;
20449 0 : void *argp1 = 0 ;
20450 : int res1 = 0 ;
20451 : int val2 ;
20452 : int ecode2 = 0 ;
20453 : int argvi = 0;
20454 0 : dXSARGS;
20455 :
20456 0 : if ((items < 2) || (items > 2)) {
20457 0 : SWIG_croak("Usage: scalebarObj_position_set(self,position);");
20458 : }
20459 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20460 0 : if (!SWIG_IsOK(res1)) {
20461 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_set" "', argument " "1"" of type '" "scalebarObj *""'");
20462 : }
20463 0 : arg1 = (scalebarObj *)(argp1);
20464 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20465 0 : if (!SWIG_IsOK(ecode2)) {
20466 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_position_set" "', argument " "2"" of type '" "int""'");
20467 : }
20468 0 : arg2 = (int)(val2);
20469 0 : if (arg1) (arg1)->position = arg2;
20470 0 : ST(argvi) = sv_newmortal();
20471 :
20472 :
20473 0 : XSRETURN(argvi);
20474 : fail:
20475 :
20476 :
20477 0 : SWIG_croak_null();
20478 : }
20479 : }
20480 :
20481 :
20482 0 : XS(_wrap_scalebarObj_position_get) {
20483 : {
20484 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20485 0 : void *argp1 = 0 ;
20486 : int res1 = 0 ;
20487 : int argvi = 0;
20488 : int result;
20489 0 : dXSARGS;
20490 :
20491 0 : if ((items < 1) || (items > 1)) {
20492 0 : SWIG_croak("Usage: scalebarObj_position_get(self);");
20493 : }
20494 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20495 0 : if (!SWIG_IsOK(res1)) {
20496 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_get" "', argument " "1"" of type '" "scalebarObj *""'");
20497 : }
20498 0 : arg1 = (scalebarObj *)(argp1);
20499 0 : result = (int) ((arg1)->position);
20500 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20501 :
20502 0 : XSRETURN(argvi);
20503 : fail:
20504 :
20505 0 : SWIG_croak_null();
20506 : }
20507 : }
20508 :
20509 :
20510 0 : XS(_wrap_scalebarObj_postlabelcache_set) {
20511 : {
20512 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20513 : int arg2 ;
20514 0 : void *argp1 = 0 ;
20515 : int res1 = 0 ;
20516 : int val2 ;
20517 : int ecode2 = 0 ;
20518 : int argvi = 0;
20519 0 : dXSARGS;
20520 :
20521 0 : if ((items < 2) || (items > 2)) {
20522 0 : SWIG_croak("Usage: scalebarObj_postlabelcache_set(self,postlabelcache);");
20523 : }
20524 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20525 0 : if (!SWIG_IsOK(res1)) {
20526 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_set" "', argument " "1"" of type '" "scalebarObj *""'");
20527 : }
20528 0 : arg1 = (scalebarObj *)(argp1);
20529 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20530 0 : if (!SWIG_IsOK(ecode2)) {
20531 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
20532 : }
20533 0 : arg2 = (int)(val2);
20534 0 : if (arg1) (arg1)->postlabelcache = arg2;
20535 0 : ST(argvi) = sv_newmortal();
20536 :
20537 :
20538 0 : XSRETURN(argvi);
20539 : fail:
20540 :
20541 :
20542 0 : SWIG_croak_null();
20543 : }
20544 : }
20545 :
20546 :
20547 0 : XS(_wrap_scalebarObj_postlabelcache_get) {
20548 : {
20549 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20550 0 : void *argp1 = 0 ;
20551 : int res1 = 0 ;
20552 : int argvi = 0;
20553 : int result;
20554 0 : dXSARGS;
20555 :
20556 0 : if ((items < 1) || (items > 1)) {
20557 0 : SWIG_croak("Usage: scalebarObj_postlabelcache_get(self);");
20558 : }
20559 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20560 0 : if (!SWIG_IsOK(res1)) {
20561 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_get" "', argument " "1"" of type '" "scalebarObj *""'");
20562 : }
20563 0 : arg1 = (scalebarObj *)(argp1);
20564 0 : result = (int) ((arg1)->postlabelcache);
20565 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20566 :
20567 0 : XSRETURN(argvi);
20568 : fail:
20569 :
20570 0 : SWIG_croak_null();
20571 : }
20572 : }
20573 :
20574 :
20575 0 : XS(_wrap_scalebarObj_align_set) {
20576 : {
20577 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20578 : int arg2 ;
20579 0 : void *argp1 = 0 ;
20580 : int res1 = 0 ;
20581 : int val2 ;
20582 : int ecode2 = 0 ;
20583 : int argvi = 0;
20584 0 : dXSARGS;
20585 :
20586 0 : if ((items < 2) || (items > 2)) {
20587 0 : SWIG_croak("Usage: scalebarObj_align_set(self,align);");
20588 : }
20589 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20590 0 : if (!SWIG_IsOK(res1)) {
20591 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_set" "', argument " "1"" of type '" "scalebarObj *""'");
20592 : }
20593 0 : arg1 = (scalebarObj *)(argp1);
20594 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20595 0 : if (!SWIG_IsOK(ecode2)) {
20596 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_align_set" "', argument " "2"" of type '" "int""'");
20597 : }
20598 0 : arg2 = (int)(val2);
20599 0 : if (arg1) (arg1)->align = arg2;
20600 0 : ST(argvi) = sv_newmortal();
20601 :
20602 :
20603 0 : XSRETURN(argvi);
20604 : fail:
20605 :
20606 :
20607 0 : SWIG_croak_null();
20608 : }
20609 : }
20610 :
20611 :
20612 0 : XS(_wrap_scalebarObj_align_get) {
20613 : {
20614 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20615 0 : void *argp1 = 0 ;
20616 : int res1 = 0 ;
20617 : int argvi = 0;
20618 : int result;
20619 0 : dXSARGS;
20620 :
20621 0 : if ((items < 1) || (items > 1)) {
20622 0 : SWIG_croak("Usage: scalebarObj_align_get(self);");
20623 : }
20624 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20625 0 : if (!SWIG_IsOK(res1)) {
20626 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_get" "', argument " "1"" of type '" "scalebarObj *""'");
20627 : }
20628 0 : arg1 = (scalebarObj *)(argp1);
20629 0 : result = (int) ((arg1)->align);
20630 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20631 :
20632 0 : XSRETURN(argvi);
20633 : fail:
20634 :
20635 0 : SWIG_croak_null();
20636 : }
20637 : }
20638 :
20639 :
20640 0 : XS(_wrap_scalebarObj_offsetx_set) {
20641 : {
20642 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20643 : int arg2 ;
20644 0 : void *argp1 = 0 ;
20645 : int res1 = 0 ;
20646 : int val2 ;
20647 : int ecode2 = 0 ;
20648 : int argvi = 0;
20649 0 : dXSARGS;
20650 :
20651 0 : if ((items < 2) || (items > 2)) {
20652 0 : SWIG_croak("Usage: scalebarObj_offsetx_set(self,offsetx);");
20653 : }
20654 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20655 0 : if (!SWIG_IsOK(res1)) {
20656 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_set" "', argument " "1"" of type '" "scalebarObj *""'");
20657 : }
20658 0 : arg1 = (scalebarObj *)(argp1);
20659 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20660 0 : if (!SWIG_IsOK(ecode2)) {
20661 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsetx_set" "', argument " "2"" of type '" "int""'");
20662 : }
20663 0 : arg2 = (int)(val2);
20664 0 : if (arg1) (arg1)->offsetx = arg2;
20665 0 : ST(argvi) = sv_newmortal();
20666 :
20667 :
20668 0 : XSRETURN(argvi);
20669 : fail:
20670 :
20671 :
20672 0 : SWIG_croak_null();
20673 : }
20674 : }
20675 :
20676 :
20677 0 : XS(_wrap_scalebarObj_offsetx_get) {
20678 : {
20679 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20680 0 : void *argp1 = 0 ;
20681 : int res1 = 0 ;
20682 : int argvi = 0;
20683 : int result;
20684 0 : dXSARGS;
20685 :
20686 0 : if ((items < 1) || (items > 1)) {
20687 0 : SWIG_croak("Usage: scalebarObj_offsetx_get(self);");
20688 : }
20689 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20690 0 : if (!SWIG_IsOK(res1)) {
20691 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_get" "', argument " "1"" of type '" "scalebarObj *""'");
20692 : }
20693 0 : arg1 = (scalebarObj *)(argp1);
20694 0 : result = (int) ((arg1)->offsetx);
20695 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20696 :
20697 0 : XSRETURN(argvi);
20698 : fail:
20699 :
20700 0 : SWIG_croak_null();
20701 : }
20702 : }
20703 :
20704 :
20705 0 : XS(_wrap_scalebarObj_offsety_set) {
20706 : {
20707 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20708 : int arg2 ;
20709 0 : void *argp1 = 0 ;
20710 : int res1 = 0 ;
20711 : int val2 ;
20712 : int ecode2 = 0 ;
20713 : int argvi = 0;
20714 0 : dXSARGS;
20715 :
20716 0 : if ((items < 2) || (items > 2)) {
20717 0 : SWIG_croak("Usage: scalebarObj_offsety_set(self,offsety);");
20718 : }
20719 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20720 0 : if (!SWIG_IsOK(res1)) {
20721 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_set" "', argument " "1"" of type '" "scalebarObj *""'");
20722 : }
20723 0 : arg1 = (scalebarObj *)(argp1);
20724 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20725 0 : if (!SWIG_IsOK(ecode2)) {
20726 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsety_set" "', argument " "2"" of type '" "int""'");
20727 : }
20728 0 : arg2 = (int)(val2);
20729 0 : if (arg1) (arg1)->offsety = arg2;
20730 0 : ST(argvi) = sv_newmortal();
20731 :
20732 :
20733 0 : XSRETURN(argvi);
20734 : fail:
20735 :
20736 :
20737 0 : SWIG_croak_null();
20738 : }
20739 : }
20740 :
20741 :
20742 0 : XS(_wrap_scalebarObj_offsety_get) {
20743 : {
20744 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20745 0 : void *argp1 = 0 ;
20746 : int res1 = 0 ;
20747 : int argvi = 0;
20748 : int result;
20749 0 : dXSARGS;
20750 :
20751 0 : if ((items < 1) || (items > 1)) {
20752 0 : SWIG_croak("Usage: scalebarObj_offsety_get(self);");
20753 : }
20754 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20755 0 : if (!SWIG_IsOK(res1)) {
20756 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_get" "', argument " "1"" of type '" "scalebarObj *""'");
20757 : }
20758 0 : arg1 = (scalebarObj *)(argp1);
20759 0 : result = (int) ((arg1)->offsety);
20760 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20761 :
20762 0 : XSRETURN(argvi);
20763 : fail:
20764 :
20765 0 : SWIG_croak_null();
20766 : }
20767 : }
20768 :
20769 :
20770 0 : XS(_wrap_scalebarObj_updateFromString) {
20771 : {
20772 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20773 : char *arg2 = (char *) 0 ;
20774 0 : void *argp1 = 0 ;
20775 : int res1 = 0 ;
20776 : int res2 ;
20777 0 : char *buf2 = 0 ;
20778 0 : int alloc2 = 0 ;
20779 : int argvi = 0;
20780 : int result;
20781 0 : dXSARGS;
20782 :
20783 0 : if ((items < 2) || (items > 2)) {
20784 0 : SWIG_croak("Usage: scalebarObj_updateFromString(self,snippet);");
20785 : }
20786 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20787 0 : if (!SWIG_IsOK(res1)) {
20788 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_updateFromString" "', argument " "1"" of type '" "scalebarObj *""'");
20789 : }
20790 0 : arg1 = (scalebarObj *)(argp1);
20791 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
20792 0 : if (!SWIG_IsOK(res2)) {
20793 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_updateFromString" "', argument " "2"" of type '" "char *""'");
20794 : }
20795 0 : arg2 = (char *)(buf2);
20796 : result = (int)scalebarObj_updateFromString(arg1,arg2);
20797 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20798 :
20799 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20800 0 : XSRETURN(argvi);
20801 : fail:
20802 :
20803 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20804 0 : SWIG_croak_null();
20805 : }
20806 : }
20807 :
20808 :
20809 0 : XS(_wrap_scalebarObj_convertToString) {
20810 : {
20811 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20812 0 : void *argp1 = 0 ;
20813 : int res1 = 0 ;
20814 : int argvi = 0;
20815 : char *result = 0 ;
20816 0 : dXSARGS;
20817 :
20818 0 : if ((items < 1) || (items > 1)) {
20819 0 : SWIG_croak("Usage: scalebarObj_convertToString(self);");
20820 : }
20821 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20822 0 : if (!SWIG_IsOK(res1)) {
20823 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_convertToString" "', argument " "1"" of type '" "scalebarObj *""'");
20824 : }
20825 0 : arg1 = (scalebarObj *)(argp1);
20826 : result = (char *)scalebarObj_convertToString(arg1);
20827 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
20828 :
20829 0 : free((char*)result);
20830 0 : XSRETURN(argvi);
20831 : fail:
20832 :
20833 0 : SWIG_croak_null();
20834 : }
20835 : }
20836 :
20837 :
20838 0 : XS(_wrap_new_scalebarObj) {
20839 : {
20840 : int argvi = 0;
20841 : scalebarObj *result = 0 ;
20842 0 : dXSARGS;
20843 :
20844 0 : if ((items < 0) || (items > 0)) {
20845 0 : SWIG_croak("Usage: new_scalebarObj();");
20846 : }
20847 0 : result = (scalebarObj *)calloc(1, sizeof(scalebarObj));
20848 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
20849 0 : XSRETURN(argvi);
20850 : fail:
20851 0 : SWIG_croak_null();
20852 : }
20853 : }
20854 :
20855 :
20856 0 : XS(_wrap_delete_scalebarObj) {
20857 : {
20858 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20859 0 : void *argp1 = 0 ;
20860 : int res1 = 0 ;
20861 : int argvi = 0;
20862 0 : dXSARGS;
20863 :
20864 0 : if ((items < 1) || (items > 1)) {
20865 0 : SWIG_croak("Usage: delete_scalebarObj(self);");
20866 : }
20867 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, SWIG_POINTER_DISOWN | 0 );
20868 0 : if (!SWIG_IsOK(res1)) {
20869 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scalebarObj" "', argument " "1"" of type '" "scalebarObj *""'");
20870 : }
20871 0 : arg1 = (scalebarObj *)(argp1);
20872 0 : free((char *) arg1);
20873 0 : ST(argvi) = sv_newmortal();
20874 :
20875 0 : XSRETURN(argvi);
20876 : fail:
20877 :
20878 0 : SWIG_croak_null();
20879 : }
20880 : }
20881 :
20882 :
20883 0 : XS(_wrap_legendObj_imagecolor_set) {
20884 : {
20885 : legendObj *arg1 = (legendObj *) 0 ;
20886 : colorObj *arg2 = (colorObj *) 0 ;
20887 0 : void *argp1 = 0 ;
20888 : int res1 = 0 ;
20889 0 : void *argp2 = 0 ;
20890 : int res2 = 0 ;
20891 : int argvi = 0;
20892 0 : dXSARGS;
20893 :
20894 0 : if ((items < 2) || (items > 2)) {
20895 0 : SWIG_croak("Usage: legendObj_imagecolor_set(self,imagecolor);");
20896 : }
20897 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20898 0 : if (!SWIG_IsOK(res1)) {
20899 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_set" "', argument " "1"" of type '" "legendObj *""'");
20900 : }
20901 0 : arg1 = (legendObj *)(argp1);
20902 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20903 0 : if (!SWIG_IsOK(res2)) {
20904 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
20905 : }
20906 0 : arg2 = (colorObj *)(argp2);
20907 0 : if (arg1) (arg1)->imagecolor = *arg2;
20908 0 : ST(argvi) = sv_newmortal();
20909 :
20910 :
20911 0 : XSRETURN(argvi);
20912 : fail:
20913 :
20914 :
20915 0 : SWIG_croak_null();
20916 : }
20917 : }
20918 :
20919 :
20920 0 : XS(_wrap_legendObj_imagecolor_get) {
20921 : {
20922 : legendObj *arg1 = (legendObj *) 0 ;
20923 0 : void *argp1 = 0 ;
20924 : int res1 = 0 ;
20925 : int argvi = 0;
20926 : colorObj *result = 0 ;
20927 0 : dXSARGS;
20928 :
20929 0 : if ((items < 1) || (items > 1)) {
20930 0 : SWIG_croak("Usage: legendObj_imagecolor_get(self);");
20931 : }
20932 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20933 0 : if (!SWIG_IsOK(res1)) {
20934 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_get" "', argument " "1"" of type '" "legendObj *""'");
20935 : }
20936 0 : arg1 = (legendObj *)(argp1);
20937 0 : result = (colorObj *)& ((arg1)->imagecolor);
20938 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20939 :
20940 0 : XSRETURN(argvi);
20941 : fail:
20942 :
20943 0 : SWIG_croak_null();
20944 : }
20945 : }
20946 :
20947 :
20948 0 : XS(_wrap_legendObj_label_get) {
20949 : {
20950 : legendObj *arg1 = (legendObj *) 0 ;
20951 0 : void *argp1 = 0 ;
20952 : int res1 = 0 ;
20953 : int argvi = 0;
20954 : labelObj *result = 0 ;
20955 0 : dXSARGS;
20956 :
20957 0 : if ((items < 1) || (items > 1)) {
20958 0 : SWIG_croak("Usage: legendObj_label_get(self);");
20959 : }
20960 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20961 0 : if (!SWIG_IsOK(res1)) {
20962 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_label_get" "', argument " "1"" of type '" "legendObj *""'");
20963 : }
20964 0 : arg1 = (legendObj *)(argp1);
20965 0 : result = (labelObj *)& ((arg1)->label);
20966 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
20967 :
20968 0 : XSRETURN(argvi);
20969 : fail:
20970 :
20971 0 : SWIG_croak_null();
20972 : }
20973 : }
20974 :
20975 :
20976 0 : XS(_wrap_legendObj_keysizex_set) {
20977 : {
20978 : legendObj *arg1 = (legendObj *) 0 ;
20979 : int arg2 ;
20980 0 : void *argp1 = 0 ;
20981 : int res1 = 0 ;
20982 : int val2 ;
20983 : int ecode2 = 0 ;
20984 : int argvi = 0;
20985 0 : dXSARGS;
20986 :
20987 0 : if ((items < 2) || (items > 2)) {
20988 0 : SWIG_croak("Usage: legendObj_keysizex_set(self,keysizex);");
20989 : }
20990 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20991 0 : if (!SWIG_IsOK(res1)) {
20992 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_set" "', argument " "1"" of type '" "legendObj *""'");
20993 : }
20994 0 : arg1 = (legendObj *)(argp1);
20995 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20996 0 : if (!SWIG_IsOK(ecode2)) {
20997 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizex_set" "', argument " "2"" of type '" "int""'");
20998 : }
20999 0 : arg2 = (int)(val2);
21000 0 : if (arg1) (arg1)->keysizex = arg2;
21001 0 : ST(argvi) = sv_newmortal();
21002 :
21003 :
21004 0 : XSRETURN(argvi);
21005 : fail:
21006 :
21007 :
21008 0 : SWIG_croak_null();
21009 : }
21010 : }
21011 :
21012 :
21013 0 : XS(_wrap_legendObj_keysizex_get) {
21014 : {
21015 : legendObj *arg1 = (legendObj *) 0 ;
21016 0 : void *argp1 = 0 ;
21017 : int res1 = 0 ;
21018 : int argvi = 0;
21019 : int result;
21020 0 : dXSARGS;
21021 :
21022 0 : if ((items < 1) || (items > 1)) {
21023 0 : SWIG_croak("Usage: legendObj_keysizex_get(self);");
21024 : }
21025 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21026 0 : if (!SWIG_IsOK(res1)) {
21027 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_get" "', argument " "1"" of type '" "legendObj *""'");
21028 : }
21029 0 : arg1 = (legendObj *)(argp1);
21030 0 : result = (int) ((arg1)->keysizex);
21031 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21032 :
21033 0 : XSRETURN(argvi);
21034 : fail:
21035 :
21036 0 : SWIG_croak_null();
21037 : }
21038 : }
21039 :
21040 :
21041 0 : XS(_wrap_legendObj_keysizey_set) {
21042 : {
21043 : legendObj *arg1 = (legendObj *) 0 ;
21044 : int arg2 ;
21045 0 : void *argp1 = 0 ;
21046 : int res1 = 0 ;
21047 : int val2 ;
21048 : int ecode2 = 0 ;
21049 : int argvi = 0;
21050 0 : dXSARGS;
21051 :
21052 0 : if ((items < 2) || (items > 2)) {
21053 0 : SWIG_croak("Usage: legendObj_keysizey_set(self,keysizey);");
21054 : }
21055 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21056 0 : if (!SWIG_IsOK(res1)) {
21057 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_set" "', argument " "1"" of type '" "legendObj *""'");
21058 : }
21059 0 : arg1 = (legendObj *)(argp1);
21060 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21061 0 : if (!SWIG_IsOK(ecode2)) {
21062 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizey_set" "', argument " "2"" of type '" "int""'");
21063 : }
21064 0 : arg2 = (int)(val2);
21065 0 : if (arg1) (arg1)->keysizey = arg2;
21066 0 : ST(argvi) = sv_newmortal();
21067 :
21068 :
21069 0 : XSRETURN(argvi);
21070 : fail:
21071 :
21072 :
21073 0 : SWIG_croak_null();
21074 : }
21075 : }
21076 :
21077 :
21078 0 : XS(_wrap_legendObj_keysizey_get) {
21079 : {
21080 : legendObj *arg1 = (legendObj *) 0 ;
21081 0 : void *argp1 = 0 ;
21082 : int res1 = 0 ;
21083 : int argvi = 0;
21084 : int result;
21085 0 : dXSARGS;
21086 :
21087 0 : if ((items < 1) || (items > 1)) {
21088 0 : SWIG_croak("Usage: legendObj_keysizey_get(self);");
21089 : }
21090 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21091 0 : if (!SWIG_IsOK(res1)) {
21092 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_get" "', argument " "1"" of type '" "legendObj *""'");
21093 : }
21094 0 : arg1 = (legendObj *)(argp1);
21095 0 : result = (int) ((arg1)->keysizey);
21096 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21097 :
21098 0 : XSRETURN(argvi);
21099 : fail:
21100 :
21101 0 : SWIG_croak_null();
21102 : }
21103 : }
21104 :
21105 :
21106 0 : XS(_wrap_legendObj_keyspacingx_set) {
21107 : {
21108 : legendObj *arg1 = (legendObj *) 0 ;
21109 : int arg2 ;
21110 0 : void *argp1 = 0 ;
21111 : int res1 = 0 ;
21112 : int val2 ;
21113 : int ecode2 = 0 ;
21114 : int argvi = 0;
21115 0 : dXSARGS;
21116 :
21117 0 : if ((items < 2) || (items > 2)) {
21118 0 : SWIG_croak("Usage: legendObj_keyspacingx_set(self,keyspacingx);");
21119 : }
21120 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21121 0 : if (!SWIG_IsOK(res1)) {
21122 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_set" "', argument " "1"" of type '" "legendObj *""'");
21123 : }
21124 0 : arg1 = (legendObj *)(argp1);
21125 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21126 0 : if (!SWIG_IsOK(ecode2)) {
21127 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingx_set" "', argument " "2"" of type '" "int""'");
21128 : }
21129 0 : arg2 = (int)(val2);
21130 0 : if (arg1) (arg1)->keyspacingx = arg2;
21131 0 : ST(argvi) = sv_newmortal();
21132 :
21133 :
21134 0 : XSRETURN(argvi);
21135 : fail:
21136 :
21137 :
21138 0 : SWIG_croak_null();
21139 : }
21140 : }
21141 :
21142 :
21143 0 : XS(_wrap_legendObj_keyspacingx_get) {
21144 : {
21145 : legendObj *arg1 = (legendObj *) 0 ;
21146 0 : void *argp1 = 0 ;
21147 : int res1 = 0 ;
21148 : int argvi = 0;
21149 : int result;
21150 0 : dXSARGS;
21151 :
21152 0 : if ((items < 1) || (items > 1)) {
21153 0 : SWIG_croak("Usage: legendObj_keyspacingx_get(self);");
21154 : }
21155 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21156 0 : if (!SWIG_IsOK(res1)) {
21157 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_get" "', argument " "1"" of type '" "legendObj *""'");
21158 : }
21159 0 : arg1 = (legendObj *)(argp1);
21160 0 : result = (int) ((arg1)->keyspacingx);
21161 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21162 :
21163 0 : XSRETURN(argvi);
21164 : fail:
21165 :
21166 0 : SWIG_croak_null();
21167 : }
21168 : }
21169 :
21170 :
21171 0 : XS(_wrap_legendObj_keyspacingy_set) {
21172 : {
21173 : legendObj *arg1 = (legendObj *) 0 ;
21174 : int arg2 ;
21175 0 : void *argp1 = 0 ;
21176 : int res1 = 0 ;
21177 : int val2 ;
21178 : int ecode2 = 0 ;
21179 : int argvi = 0;
21180 0 : dXSARGS;
21181 :
21182 0 : if ((items < 2) || (items > 2)) {
21183 0 : SWIG_croak("Usage: legendObj_keyspacingy_set(self,keyspacingy);");
21184 : }
21185 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21186 0 : if (!SWIG_IsOK(res1)) {
21187 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_set" "', argument " "1"" of type '" "legendObj *""'");
21188 : }
21189 0 : arg1 = (legendObj *)(argp1);
21190 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21191 0 : if (!SWIG_IsOK(ecode2)) {
21192 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingy_set" "', argument " "2"" of type '" "int""'");
21193 : }
21194 0 : arg2 = (int)(val2);
21195 0 : if (arg1) (arg1)->keyspacingy = arg2;
21196 0 : ST(argvi) = sv_newmortal();
21197 :
21198 :
21199 0 : XSRETURN(argvi);
21200 : fail:
21201 :
21202 :
21203 0 : SWIG_croak_null();
21204 : }
21205 : }
21206 :
21207 :
21208 0 : XS(_wrap_legendObj_keyspacingy_get) {
21209 : {
21210 : legendObj *arg1 = (legendObj *) 0 ;
21211 0 : void *argp1 = 0 ;
21212 : int res1 = 0 ;
21213 : int argvi = 0;
21214 : int result;
21215 0 : dXSARGS;
21216 :
21217 0 : if ((items < 1) || (items > 1)) {
21218 0 : SWIG_croak("Usage: legendObj_keyspacingy_get(self);");
21219 : }
21220 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21221 0 : if (!SWIG_IsOK(res1)) {
21222 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_get" "', argument " "1"" of type '" "legendObj *""'");
21223 : }
21224 0 : arg1 = (legendObj *)(argp1);
21225 0 : result = (int) ((arg1)->keyspacingy);
21226 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21227 :
21228 0 : XSRETURN(argvi);
21229 : fail:
21230 :
21231 0 : SWIG_croak_null();
21232 : }
21233 : }
21234 :
21235 :
21236 0 : XS(_wrap_legendObj_outlinecolor_set) {
21237 : {
21238 : legendObj *arg1 = (legendObj *) 0 ;
21239 : colorObj *arg2 = (colorObj *) 0 ;
21240 0 : void *argp1 = 0 ;
21241 : int res1 = 0 ;
21242 0 : void *argp2 = 0 ;
21243 : int res2 = 0 ;
21244 : int argvi = 0;
21245 0 : dXSARGS;
21246 :
21247 0 : if ((items < 2) || (items > 2)) {
21248 0 : SWIG_croak("Usage: legendObj_outlinecolor_set(self,outlinecolor);");
21249 : }
21250 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21251 0 : if (!SWIG_IsOK(res1)) {
21252 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_set" "', argument " "1"" of type '" "legendObj *""'");
21253 : }
21254 0 : arg1 = (legendObj *)(argp1);
21255 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
21256 0 : if (!SWIG_IsOK(res2)) {
21257 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
21258 : }
21259 0 : arg2 = (colorObj *)(argp2);
21260 0 : if (arg1) (arg1)->outlinecolor = *arg2;
21261 0 : ST(argvi) = sv_newmortal();
21262 :
21263 :
21264 0 : XSRETURN(argvi);
21265 : fail:
21266 :
21267 :
21268 0 : SWIG_croak_null();
21269 : }
21270 : }
21271 :
21272 :
21273 0 : XS(_wrap_legendObj_outlinecolor_get) {
21274 : {
21275 : legendObj *arg1 = (legendObj *) 0 ;
21276 0 : void *argp1 = 0 ;
21277 : int res1 = 0 ;
21278 : int argvi = 0;
21279 : colorObj *result = 0 ;
21280 0 : dXSARGS;
21281 :
21282 0 : if ((items < 1) || (items > 1)) {
21283 0 : SWIG_croak("Usage: legendObj_outlinecolor_get(self);");
21284 : }
21285 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21286 0 : if (!SWIG_IsOK(res1)) {
21287 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_get" "', argument " "1"" of type '" "legendObj *""'");
21288 : }
21289 0 : arg1 = (legendObj *)(argp1);
21290 0 : result = (colorObj *)& ((arg1)->outlinecolor);
21291 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
21292 :
21293 0 : XSRETURN(argvi);
21294 : fail:
21295 :
21296 0 : SWIG_croak_null();
21297 : }
21298 : }
21299 :
21300 :
21301 0 : XS(_wrap_legendObj_status_set) {
21302 : {
21303 : legendObj *arg1 = (legendObj *) 0 ;
21304 : int arg2 ;
21305 0 : void *argp1 = 0 ;
21306 : int res1 = 0 ;
21307 : int val2 ;
21308 : int ecode2 = 0 ;
21309 : int argvi = 0;
21310 0 : dXSARGS;
21311 :
21312 0 : if ((items < 2) || (items > 2)) {
21313 0 : SWIG_croak("Usage: legendObj_status_set(self,status);");
21314 : }
21315 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21316 0 : if (!SWIG_IsOK(res1)) {
21317 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_set" "', argument " "1"" of type '" "legendObj *""'");
21318 : }
21319 0 : arg1 = (legendObj *)(argp1);
21320 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21321 0 : if (!SWIG_IsOK(ecode2)) {
21322 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_status_set" "', argument " "2"" of type '" "int""'");
21323 : }
21324 0 : arg2 = (int)(val2);
21325 0 : if (arg1) (arg1)->status = arg2;
21326 0 : ST(argvi) = sv_newmortal();
21327 :
21328 :
21329 0 : XSRETURN(argvi);
21330 : fail:
21331 :
21332 :
21333 0 : SWIG_croak_null();
21334 : }
21335 : }
21336 :
21337 :
21338 0 : XS(_wrap_legendObj_status_get) {
21339 : {
21340 : legendObj *arg1 = (legendObj *) 0 ;
21341 0 : void *argp1 = 0 ;
21342 : int res1 = 0 ;
21343 : int argvi = 0;
21344 : int result;
21345 0 : dXSARGS;
21346 :
21347 0 : if ((items < 1) || (items > 1)) {
21348 0 : SWIG_croak("Usage: legendObj_status_get(self);");
21349 : }
21350 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21351 0 : if (!SWIG_IsOK(res1)) {
21352 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_get" "', argument " "1"" of type '" "legendObj *""'");
21353 : }
21354 0 : arg1 = (legendObj *)(argp1);
21355 0 : result = (int) ((arg1)->status);
21356 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21357 :
21358 0 : XSRETURN(argvi);
21359 : fail:
21360 :
21361 0 : SWIG_croak_null();
21362 : }
21363 : }
21364 :
21365 :
21366 0 : XS(_wrap_legendObj_height_set) {
21367 : {
21368 : legendObj *arg1 = (legendObj *) 0 ;
21369 : int arg2 ;
21370 0 : void *argp1 = 0 ;
21371 : int res1 = 0 ;
21372 : int val2 ;
21373 : int ecode2 = 0 ;
21374 : int argvi = 0;
21375 0 : dXSARGS;
21376 :
21377 0 : if ((items < 2) || (items > 2)) {
21378 0 : SWIG_croak("Usage: legendObj_height_set(self,height);");
21379 : }
21380 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21381 0 : if (!SWIG_IsOK(res1)) {
21382 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_set" "', argument " "1"" of type '" "legendObj *""'");
21383 : }
21384 0 : arg1 = (legendObj *)(argp1);
21385 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21386 0 : if (!SWIG_IsOK(ecode2)) {
21387 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_height_set" "', argument " "2"" of type '" "int""'");
21388 : }
21389 0 : arg2 = (int)(val2);
21390 0 : if (arg1) (arg1)->height = arg2;
21391 0 : ST(argvi) = sv_newmortal();
21392 :
21393 :
21394 0 : XSRETURN(argvi);
21395 : fail:
21396 :
21397 :
21398 0 : SWIG_croak_null();
21399 : }
21400 : }
21401 :
21402 :
21403 0 : XS(_wrap_legendObj_height_get) {
21404 : {
21405 : legendObj *arg1 = (legendObj *) 0 ;
21406 0 : void *argp1 = 0 ;
21407 : int res1 = 0 ;
21408 : int argvi = 0;
21409 : int result;
21410 0 : dXSARGS;
21411 :
21412 0 : if ((items < 1) || (items > 1)) {
21413 0 : SWIG_croak("Usage: legendObj_height_get(self);");
21414 : }
21415 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21416 0 : if (!SWIG_IsOK(res1)) {
21417 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_get" "', argument " "1"" of type '" "legendObj *""'");
21418 : }
21419 0 : arg1 = (legendObj *)(argp1);
21420 0 : result = (int) ((arg1)->height);
21421 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21422 :
21423 0 : XSRETURN(argvi);
21424 : fail:
21425 :
21426 0 : SWIG_croak_null();
21427 : }
21428 : }
21429 :
21430 :
21431 0 : XS(_wrap_legendObj_width_set) {
21432 : {
21433 : legendObj *arg1 = (legendObj *) 0 ;
21434 : int arg2 ;
21435 0 : void *argp1 = 0 ;
21436 : int res1 = 0 ;
21437 : int val2 ;
21438 : int ecode2 = 0 ;
21439 : int argvi = 0;
21440 0 : dXSARGS;
21441 :
21442 0 : if ((items < 2) || (items > 2)) {
21443 0 : SWIG_croak("Usage: legendObj_width_set(self,width);");
21444 : }
21445 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21446 0 : if (!SWIG_IsOK(res1)) {
21447 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_set" "', argument " "1"" of type '" "legendObj *""'");
21448 : }
21449 0 : arg1 = (legendObj *)(argp1);
21450 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21451 0 : if (!SWIG_IsOK(ecode2)) {
21452 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_width_set" "', argument " "2"" of type '" "int""'");
21453 : }
21454 0 : arg2 = (int)(val2);
21455 0 : if (arg1) (arg1)->width = arg2;
21456 0 : ST(argvi) = sv_newmortal();
21457 :
21458 :
21459 0 : XSRETURN(argvi);
21460 : fail:
21461 :
21462 :
21463 0 : SWIG_croak_null();
21464 : }
21465 : }
21466 :
21467 :
21468 0 : XS(_wrap_legendObj_width_get) {
21469 : {
21470 : legendObj *arg1 = (legendObj *) 0 ;
21471 0 : void *argp1 = 0 ;
21472 : int res1 = 0 ;
21473 : int argvi = 0;
21474 : int result;
21475 0 : dXSARGS;
21476 :
21477 0 : if ((items < 1) || (items > 1)) {
21478 0 : SWIG_croak("Usage: legendObj_width_get(self);");
21479 : }
21480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21481 0 : if (!SWIG_IsOK(res1)) {
21482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_get" "', argument " "1"" of type '" "legendObj *""'");
21483 : }
21484 0 : arg1 = (legendObj *)(argp1);
21485 0 : result = (int) ((arg1)->width);
21486 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21487 :
21488 0 : XSRETURN(argvi);
21489 : fail:
21490 :
21491 0 : SWIG_croak_null();
21492 : }
21493 : }
21494 :
21495 :
21496 0 : XS(_wrap_legendObj_position_set) {
21497 : {
21498 : legendObj *arg1 = (legendObj *) 0 ;
21499 : int arg2 ;
21500 0 : void *argp1 = 0 ;
21501 : int res1 = 0 ;
21502 : int val2 ;
21503 : int ecode2 = 0 ;
21504 : int argvi = 0;
21505 0 : dXSARGS;
21506 :
21507 0 : if ((items < 2) || (items > 2)) {
21508 0 : SWIG_croak("Usage: legendObj_position_set(self,position);");
21509 : }
21510 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21511 0 : if (!SWIG_IsOK(res1)) {
21512 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_set" "', argument " "1"" of type '" "legendObj *""'");
21513 : }
21514 0 : arg1 = (legendObj *)(argp1);
21515 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21516 0 : if (!SWIG_IsOK(ecode2)) {
21517 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_position_set" "', argument " "2"" of type '" "int""'");
21518 : }
21519 0 : arg2 = (int)(val2);
21520 0 : if (arg1) (arg1)->position = arg2;
21521 0 : ST(argvi) = sv_newmortal();
21522 :
21523 :
21524 0 : XSRETURN(argvi);
21525 : fail:
21526 :
21527 :
21528 0 : SWIG_croak_null();
21529 : }
21530 : }
21531 :
21532 :
21533 0 : XS(_wrap_legendObj_position_get) {
21534 : {
21535 : legendObj *arg1 = (legendObj *) 0 ;
21536 0 : void *argp1 = 0 ;
21537 : int res1 = 0 ;
21538 : int argvi = 0;
21539 : int result;
21540 0 : dXSARGS;
21541 :
21542 0 : if ((items < 1) || (items > 1)) {
21543 0 : SWIG_croak("Usage: legendObj_position_get(self);");
21544 : }
21545 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21546 0 : if (!SWIG_IsOK(res1)) {
21547 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_get" "', argument " "1"" of type '" "legendObj *""'");
21548 : }
21549 0 : arg1 = (legendObj *)(argp1);
21550 0 : result = (int) ((arg1)->position);
21551 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21552 :
21553 0 : XSRETURN(argvi);
21554 : fail:
21555 :
21556 0 : SWIG_croak_null();
21557 : }
21558 : }
21559 :
21560 :
21561 0 : XS(_wrap_legendObj_postlabelcache_set) {
21562 : {
21563 : legendObj *arg1 = (legendObj *) 0 ;
21564 : int arg2 ;
21565 0 : void *argp1 = 0 ;
21566 : int res1 = 0 ;
21567 : int val2 ;
21568 : int ecode2 = 0 ;
21569 : int argvi = 0;
21570 0 : dXSARGS;
21571 :
21572 0 : if ((items < 2) || (items > 2)) {
21573 0 : SWIG_croak("Usage: legendObj_postlabelcache_set(self,postlabelcache);");
21574 : }
21575 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21576 0 : if (!SWIG_IsOK(res1)) {
21577 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_set" "', argument " "1"" of type '" "legendObj *""'");
21578 : }
21579 0 : arg1 = (legendObj *)(argp1);
21580 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21581 0 : if (!SWIG_IsOK(ecode2)) {
21582 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
21583 : }
21584 0 : arg2 = (int)(val2);
21585 0 : if (arg1) (arg1)->postlabelcache = arg2;
21586 0 : ST(argvi) = sv_newmortal();
21587 :
21588 :
21589 0 : XSRETURN(argvi);
21590 : fail:
21591 :
21592 :
21593 0 : SWIG_croak_null();
21594 : }
21595 : }
21596 :
21597 :
21598 0 : XS(_wrap_legendObj_postlabelcache_get) {
21599 : {
21600 : legendObj *arg1 = (legendObj *) 0 ;
21601 0 : void *argp1 = 0 ;
21602 : int res1 = 0 ;
21603 : int argvi = 0;
21604 : int result;
21605 0 : dXSARGS;
21606 :
21607 0 : if ((items < 1) || (items > 1)) {
21608 0 : SWIG_croak("Usage: legendObj_postlabelcache_get(self);");
21609 : }
21610 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21611 0 : if (!SWIG_IsOK(res1)) {
21612 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_get" "', argument " "1"" of type '" "legendObj *""'");
21613 : }
21614 0 : arg1 = (legendObj *)(argp1);
21615 0 : result = (int) ((arg1)->postlabelcache);
21616 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21617 :
21618 0 : XSRETURN(argvi);
21619 : fail:
21620 :
21621 0 : SWIG_croak_null();
21622 : }
21623 : }
21624 :
21625 :
21626 0 : XS(_wrap_legendObj_template_set) {
21627 : {
21628 : legendObj *arg1 = (legendObj *) 0 ;
21629 : char *arg2 = (char *) 0 ;
21630 0 : void *argp1 = 0 ;
21631 : int res1 = 0 ;
21632 : int res2 ;
21633 0 : char *buf2 = 0 ;
21634 0 : int alloc2 = 0 ;
21635 : int argvi = 0;
21636 0 : dXSARGS;
21637 :
21638 0 : if ((items < 2) || (items > 2)) {
21639 0 : SWIG_croak("Usage: legendObj_template_set(self,template);");
21640 : }
21641 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21642 0 : if (!SWIG_IsOK(res1)) {
21643 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_set" "', argument " "1"" of type '" "legendObj *""'");
21644 : }
21645 0 : arg1 = (legendObj *)(argp1);
21646 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
21647 0 : if (!SWIG_IsOK(res2)) {
21648 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_template_set" "', argument " "2"" of type '" "char *""'");
21649 : }
21650 0 : arg2 = (char *)(buf2);
21651 : {
21652 0 : if (arg1->template) free((char*)arg1->template);
21653 0 : if (arg2) {
21654 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
21655 : strcpy((char*)arg1->template,arg2);
21656 : } else {
21657 0 : arg1->template = 0;
21658 : }
21659 : }
21660 0 : ST(argvi) = sv_newmortal();
21661 :
21662 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21663 0 : XSRETURN(argvi);
21664 : fail:
21665 :
21666 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21667 0 : SWIG_croak_null();
21668 : }
21669 : }
21670 :
21671 :
21672 0 : XS(_wrap_legendObj_template_get) {
21673 : {
21674 : legendObj *arg1 = (legendObj *) 0 ;
21675 0 : void *argp1 = 0 ;
21676 : int res1 = 0 ;
21677 : int argvi = 0;
21678 : char *result = 0 ;
21679 0 : dXSARGS;
21680 :
21681 0 : if ((items < 1) || (items > 1)) {
21682 0 : SWIG_croak("Usage: legendObj_template_get(self);");
21683 : }
21684 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21685 0 : if (!SWIG_IsOK(res1)) {
21686 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_get" "', argument " "1"" of type '" "legendObj *""'");
21687 : }
21688 0 : arg1 = (legendObj *)(argp1);
21689 0 : result = (char *) ((arg1)->template);
21690 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21691 :
21692 0 : XSRETURN(argvi);
21693 : fail:
21694 :
21695 0 : SWIG_croak_null();
21696 : }
21697 : }
21698 :
21699 :
21700 0 : XS(_wrap_legendObj_map_get) {
21701 : {
21702 : legendObj *arg1 = (legendObj *) 0 ;
21703 0 : void *argp1 = 0 ;
21704 : int res1 = 0 ;
21705 : int argvi = 0;
21706 : struct mapObj *result = 0 ;
21707 0 : dXSARGS;
21708 :
21709 0 : if ((items < 1) || (items > 1)) {
21710 0 : SWIG_croak("Usage: legendObj_map_get(self);");
21711 : }
21712 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21713 0 : if (!SWIG_IsOK(res1)) {
21714 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_map_get" "', argument " "1"" of type '" "legendObj *""'");
21715 : }
21716 0 : arg1 = (legendObj *)(argp1);
21717 : {
21718 : /* Accessing map */
21719 0 : result = (struct mapObj *) ((arg1)->map);;
21720 0 : MS_REFCNT_INCR(result);
21721 : }
21722 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
21723 :
21724 0 : XSRETURN(argvi);
21725 : fail:
21726 :
21727 0 : SWIG_croak_null();
21728 : }
21729 : }
21730 :
21731 :
21732 0 : XS(_wrap_legendObj_updateFromString) {
21733 : {
21734 : legendObj *arg1 = (legendObj *) 0 ;
21735 : char *arg2 = (char *) 0 ;
21736 0 : void *argp1 = 0 ;
21737 : int res1 = 0 ;
21738 : int res2 ;
21739 0 : char *buf2 = 0 ;
21740 0 : int alloc2 = 0 ;
21741 : int argvi = 0;
21742 : int result;
21743 0 : dXSARGS;
21744 :
21745 0 : if ((items < 2) || (items > 2)) {
21746 0 : SWIG_croak("Usage: legendObj_updateFromString(self,snippet);");
21747 : }
21748 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21749 0 : if (!SWIG_IsOK(res1)) {
21750 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_updateFromString" "', argument " "1"" of type '" "legendObj *""'");
21751 : }
21752 0 : arg1 = (legendObj *)(argp1);
21753 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
21754 0 : if (!SWIG_IsOK(res2)) {
21755 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_updateFromString" "', argument " "2"" of type '" "char *""'");
21756 : }
21757 0 : arg2 = (char *)(buf2);
21758 : result = (int)legendObj_updateFromString(arg1,arg2);
21759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21760 :
21761 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21762 0 : XSRETURN(argvi);
21763 : fail:
21764 :
21765 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21766 0 : SWIG_croak_null();
21767 : }
21768 : }
21769 :
21770 :
21771 0 : XS(_wrap_legendObj_convertToString) {
21772 : {
21773 : legendObj *arg1 = (legendObj *) 0 ;
21774 0 : void *argp1 = 0 ;
21775 : int res1 = 0 ;
21776 : int argvi = 0;
21777 : char *result = 0 ;
21778 0 : dXSARGS;
21779 :
21780 0 : if ((items < 1) || (items > 1)) {
21781 0 : SWIG_croak("Usage: legendObj_convertToString(self);");
21782 : }
21783 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21784 0 : if (!SWIG_IsOK(res1)) {
21785 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_convertToString" "', argument " "1"" of type '" "legendObj *""'");
21786 : }
21787 0 : arg1 = (legendObj *)(argp1);
21788 : result = (char *)legendObj_convertToString(arg1);
21789 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21790 :
21791 0 : free((char*)result);
21792 0 : XSRETURN(argvi);
21793 : fail:
21794 :
21795 0 : SWIG_croak_null();
21796 : }
21797 : }
21798 :
21799 :
21800 0 : XS(_wrap_new_legendObj) {
21801 : {
21802 : int argvi = 0;
21803 : legendObj *result = 0 ;
21804 0 : dXSARGS;
21805 :
21806 0 : if ((items < 0) || (items > 0)) {
21807 0 : SWIG_croak("Usage: new_legendObj();");
21808 : }
21809 0 : result = (legendObj *)calloc(1, sizeof(legendObj));
21810 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
21811 0 : XSRETURN(argvi);
21812 : fail:
21813 0 : SWIG_croak_null();
21814 : }
21815 : }
21816 :
21817 :
21818 0 : XS(_wrap_delete_legendObj) {
21819 : {
21820 : legendObj *arg1 = (legendObj *) 0 ;
21821 0 : void *argp1 = 0 ;
21822 : int res1 = 0 ;
21823 : int argvi = 0;
21824 0 : dXSARGS;
21825 :
21826 0 : if ((items < 1) || (items > 1)) {
21827 0 : SWIG_croak("Usage: delete_legendObj(self);");
21828 : }
21829 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, SWIG_POINTER_DISOWN | 0 );
21830 0 : if (!SWIG_IsOK(res1)) {
21831 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_legendObj" "', argument " "1"" of type '" "legendObj *""'");
21832 : }
21833 0 : arg1 = (legendObj *)(argp1);
21834 0 : free((char *) arg1);
21835 0 : ST(argvi) = sv_newmortal();
21836 :
21837 0 : XSRETURN(argvi);
21838 : fail:
21839 :
21840 0 : SWIG_croak_null();
21841 : }
21842 : }
21843 :
21844 :
21845 0 : XS(_wrap_imageObj_width_get) {
21846 : {
21847 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21848 0 : void *argp1 = 0 ;
21849 : int res1 = 0 ;
21850 : int argvi = 0;
21851 : int result;
21852 0 : dXSARGS;
21853 :
21854 0 : if ((items < 1) || (items > 1)) {
21855 0 : SWIG_croak("Usage: imageObj_width_get(self);");
21856 : }
21857 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21858 0 : if (!SWIG_IsOK(res1)) {
21859 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_width_get" "', argument " "1"" of type '" "struct imageObj *""'");
21860 : }
21861 0 : arg1 = (struct imageObj *)(argp1);
21862 0 : result = (int) ((arg1)->width);
21863 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21864 :
21865 0 : XSRETURN(argvi);
21866 : fail:
21867 :
21868 0 : SWIG_croak_null();
21869 : }
21870 : }
21871 :
21872 :
21873 0 : XS(_wrap_imageObj_height_get) {
21874 : {
21875 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21876 0 : void *argp1 = 0 ;
21877 : int res1 = 0 ;
21878 : int argvi = 0;
21879 : int result;
21880 0 : dXSARGS;
21881 :
21882 0 : if ((items < 1) || (items > 1)) {
21883 0 : SWIG_croak("Usage: imageObj_height_get(self);");
21884 : }
21885 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21886 0 : if (!SWIG_IsOK(res1)) {
21887 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_height_get" "', argument " "1"" of type '" "struct imageObj *""'");
21888 : }
21889 0 : arg1 = (struct imageObj *)(argp1);
21890 0 : result = (int) ((arg1)->height);
21891 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21892 :
21893 0 : XSRETURN(argvi);
21894 : fail:
21895 :
21896 0 : SWIG_croak_null();
21897 : }
21898 : }
21899 :
21900 :
21901 0 : XS(_wrap_imageObj_resolution_get) {
21902 : {
21903 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21904 0 : void *argp1 = 0 ;
21905 : int res1 = 0 ;
21906 : int argvi = 0;
21907 : double result;
21908 0 : dXSARGS;
21909 :
21910 0 : if ((items < 1) || (items > 1)) {
21911 0 : SWIG_croak("Usage: imageObj_resolution_get(self);");
21912 : }
21913 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21914 0 : if (!SWIG_IsOK(res1)) {
21915 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolution_get" "', argument " "1"" of type '" "struct imageObj *""'");
21916 : }
21917 0 : arg1 = (struct imageObj *)(argp1);
21918 0 : result = (double) ((arg1)->resolution);
21919 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
21920 :
21921 0 : XSRETURN(argvi);
21922 : fail:
21923 :
21924 0 : SWIG_croak_null();
21925 : }
21926 : }
21927 :
21928 :
21929 0 : XS(_wrap_imageObj_resolutionfactor_get) {
21930 : {
21931 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21932 0 : void *argp1 = 0 ;
21933 : int res1 = 0 ;
21934 : int argvi = 0;
21935 : double result;
21936 0 : dXSARGS;
21937 :
21938 0 : if ((items < 1) || (items > 1)) {
21939 0 : SWIG_croak("Usage: imageObj_resolutionfactor_get(self);");
21940 : }
21941 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21942 0 : if (!SWIG_IsOK(res1)) {
21943 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolutionfactor_get" "', argument " "1"" of type '" "struct imageObj *""'");
21944 : }
21945 0 : arg1 = (struct imageObj *)(argp1);
21946 0 : result = (double) ((arg1)->resolutionfactor);
21947 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
21948 :
21949 0 : XSRETURN(argvi);
21950 : fail:
21951 :
21952 0 : SWIG_croak_null();
21953 : }
21954 : }
21955 :
21956 :
21957 0 : XS(_wrap_imageObj_imagepath_get) {
21958 : {
21959 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21960 0 : void *argp1 = 0 ;
21961 : int res1 = 0 ;
21962 : int argvi = 0;
21963 : char *result = 0 ;
21964 0 : dXSARGS;
21965 :
21966 0 : if ((items < 1) || (items > 1)) {
21967 0 : SWIG_croak("Usage: imageObj_imagepath_get(self);");
21968 : }
21969 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21970 0 : if (!SWIG_IsOK(res1)) {
21971 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imagepath_get" "', argument " "1"" of type '" "struct imageObj *""'");
21972 : }
21973 0 : arg1 = (struct imageObj *)(argp1);
21974 0 : result = (char *) ((arg1)->imagepath);
21975 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21976 :
21977 0 : XSRETURN(argvi);
21978 : fail:
21979 :
21980 0 : SWIG_croak_null();
21981 : }
21982 : }
21983 :
21984 :
21985 0 : XS(_wrap_imageObj_imageurl_get) {
21986 : {
21987 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21988 0 : void *argp1 = 0 ;
21989 : int res1 = 0 ;
21990 : int argvi = 0;
21991 : char *result = 0 ;
21992 0 : dXSARGS;
21993 :
21994 0 : if ((items < 1) || (items > 1)) {
21995 0 : SWIG_croak("Usage: imageObj_imageurl_get(self);");
21996 : }
21997 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21998 0 : if (!SWIG_IsOK(res1)) {
21999 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imageurl_get" "', argument " "1"" of type '" "struct imageObj *""'");
22000 : }
22001 0 : arg1 = (struct imageObj *)(argp1);
22002 0 : result = (char *) ((arg1)->imageurl);
22003 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22004 :
22005 0 : XSRETURN(argvi);
22006 : fail:
22007 :
22008 0 : SWIG_croak_null();
22009 : }
22010 : }
22011 :
22012 :
22013 0 : XS(_wrap_imageObj_format_get) {
22014 : {
22015 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22016 0 : void *argp1 = 0 ;
22017 : int res1 = 0 ;
22018 : int argvi = 0;
22019 : outputFormatObj *result = 0 ;
22020 0 : dXSARGS;
22021 :
22022 0 : if ((items < 1) || (items > 1)) {
22023 0 : SWIG_croak("Usage: imageObj_format_get(self);");
22024 : }
22025 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22026 0 : if (!SWIG_IsOK(res1)) {
22027 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_format_get" "', argument " "1"" of type '" "struct imageObj *""'");
22028 : }
22029 0 : arg1 = (struct imageObj *)(argp1);
22030 0 : result = (outputFormatObj *) ((arg1)->format);
22031 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
22032 :
22033 0 : XSRETURN(argvi);
22034 : fail:
22035 :
22036 0 : SWIG_croak_null();
22037 : }
22038 : }
22039 :
22040 :
22041 0 : XS(_wrap_new_imageObj) {
22042 : {
22043 : int arg1 ;
22044 : int arg2 ;
22045 : outputFormatObj *arg3 = (outputFormatObj *) NULL ;
22046 : char *arg4 = (char *) NULL ;
22047 : double arg5 = (double) MS_DEFAULT_RESOLUTION ;
22048 : double arg6 = (double) MS_DEFAULT_RESOLUTION ;
22049 : int val1 ;
22050 : int ecode1 = 0 ;
22051 : int val2 ;
22052 : int ecode2 = 0 ;
22053 0 : void *argp3 = 0 ;
22054 : int res3 = 0 ;
22055 : int res4 ;
22056 0 : char *buf4 = 0 ;
22057 0 : int alloc4 = 0 ;
22058 : double val5 ;
22059 : int ecode5 = 0 ;
22060 : double val6 ;
22061 : int ecode6 = 0 ;
22062 : int argvi = 0;
22063 : struct imageObj *result = 0 ;
22064 0 : dXSARGS;
22065 :
22066 0 : if ((items < 2) || (items > 6)) {
22067 0 : SWIG_croak("Usage: new_imageObj(width,height,input_format,file,resolution,defresolution);");
22068 : }
22069 0 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
22070 0 : if (!SWIG_IsOK(ecode1)) {
22071 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_imageObj" "', argument " "1"" of type '" "int""'");
22072 : }
22073 0 : arg1 = (int)(val1);
22074 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22075 0 : if (!SWIG_IsOK(ecode2)) {
22076 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_imageObj" "', argument " "2"" of type '" "int""'");
22077 : }
22078 0 : arg2 = (int)(val2);
22079 0 : if (items > 2) {
22080 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_outputFormatObj, 0 | 0 );
22081 0 : if (!SWIG_IsOK(res3)) {
22082 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_imageObj" "', argument " "3"" of type '" "outputFormatObj *""'");
22083 : }
22084 0 : arg3 = (outputFormatObj *)(argp3);
22085 : }
22086 0 : if (items > 3) {
22087 0 : res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
22088 0 : if (!SWIG_IsOK(res4)) {
22089 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_imageObj" "', argument " "4"" of type '" "char const *""'");
22090 : }
22091 0 : arg4 = (char *)(buf4);
22092 : }
22093 0 : if (items > 4) {
22094 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
22095 0 : if (!SWIG_IsOK(ecode5)) {
22096 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_imageObj" "', argument " "5"" of type '" "double""'");
22097 : }
22098 0 : arg5 = (double)(val5);
22099 : }
22100 0 : if (items > 5) {
22101 0 : ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
22102 0 : if (!SWIG_IsOK(ecode6)) {
22103 0 : SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_imageObj" "', argument " "6"" of type '" "double""'");
22104 : }
22105 0 : arg6 = (double)(val6);
22106 : }
22107 0 : result = (struct imageObj *)new_imageObj(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
22108 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22109 :
22110 :
22111 :
22112 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
22113 :
22114 :
22115 0 : XSRETURN(argvi);
22116 : fail:
22117 :
22118 :
22119 :
22120 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
22121 :
22122 :
22123 0 : SWIG_croak_null();
22124 : }
22125 : }
22126 :
22127 :
22128 0 : XS(_wrap_delete_imageObj) {
22129 : {
22130 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22131 0 : void *argp1 = 0 ;
22132 : int res1 = 0 ;
22133 : int argvi = 0;
22134 0 : dXSARGS;
22135 :
22136 0 : if ((items < 1) || (items > 1)) {
22137 0 : SWIG_croak("Usage: delete_imageObj(self);");
22138 : }
22139 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, SWIG_POINTER_DISOWN | 0 );
22140 0 : if (!SWIG_IsOK(res1)) {
22141 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imageObj" "', argument " "1"" of type '" "struct imageObj *""'");
22142 : }
22143 0 : arg1 = (struct imageObj *)(argp1);
22144 : delete_imageObj(arg1);
22145 0 : ST(argvi) = sv_newmortal();
22146 :
22147 0 : XSRETURN(argvi);
22148 : fail:
22149 :
22150 0 : SWIG_croak_null();
22151 : }
22152 : }
22153 :
22154 :
22155 0 : XS(_wrap_imageObj_save) {
22156 : {
22157 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22158 : char *arg2 = (char *) 0 ;
22159 : mapObj *arg3 = (mapObj *) NULL ;
22160 0 : void *argp1 = 0 ;
22161 : int res1 = 0 ;
22162 : int res2 ;
22163 0 : char *buf2 = 0 ;
22164 0 : int alloc2 = 0 ;
22165 0 : void *argp3 = 0 ;
22166 : int res3 = 0 ;
22167 : int argvi = 0;
22168 0 : dXSARGS;
22169 :
22170 0 : if ((items < 2) || (items > 3)) {
22171 0 : SWIG_croak("Usage: imageObj_save(self,filename,map);");
22172 : }
22173 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22174 0 : if (!SWIG_IsOK(res1)) {
22175 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_save" "', argument " "1"" of type '" "struct imageObj *""'");
22176 : }
22177 0 : arg1 = (struct imageObj *)(argp1);
22178 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22179 0 : if (!SWIG_IsOK(res2)) {
22180 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imageObj_save" "', argument " "2"" of type '" "char *""'");
22181 : }
22182 0 : arg2 = (char *)(buf2);
22183 0 : if (items > 2) {
22184 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_mapObj, 0 | 0 );
22185 0 : if (!SWIG_IsOK(res3)) {
22186 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "imageObj_save" "', argument " "3"" of type '" "mapObj *""'");
22187 : }
22188 0 : arg3 = (mapObj *)(argp3);
22189 : }
22190 : imageObj_save(arg1,arg2,arg3);
22191 0 : ST(argvi) = sv_newmortal();
22192 :
22193 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22194 :
22195 0 : XSRETURN(argvi);
22196 : fail:
22197 :
22198 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22199 :
22200 0 : SWIG_croak_null();
22201 : }
22202 : }
22203 :
22204 :
22205 0 : XS(_wrap_imageObj_write) {
22206 : {
22207 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22208 : FILE *arg2 = (FILE *) NULL ;
22209 0 : void *argp1 = 0 ;
22210 : int res1 = 0 ;
22211 : int argvi = 0;
22212 : int result;
22213 0 : dXSARGS;
22214 :
22215 0 : if ((items < 1) || (items > 2)) {
22216 0 : SWIG_croak("Usage: imageObj_write(self,file);");
22217 : }
22218 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22219 0 : if (!SWIG_IsOK(res1)) {
22220 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_write" "', argument " "1"" of type '" "struct imageObj *""'");
22221 : }
22222 0 : arg1 = (struct imageObj *)(argp1);
22223 0 : if (items > 1) {
22224 : {
22225 0 : arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
22226 : }
22227 : }
22228 0 : result = (int)imageObj_write(arg1,arg2);
22229 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22230 :
22231 :
22232 0 : XSRETURN(argvi);
22233 : fail:
22234 :
22235 :
22236 0 : SWIG_croak_null();
22237 : }
22238 : }
22239 :
22240 :
22241 0 : XS(_wrap_imageObj_getBytes) {
22242 : {
22243 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22244 0 : void *argp1 = 0 ;
22245 : int res1 = 0 ;
22246 : int argvi = 0;
22247 : gdBuffer result;
22248 0 : dXSARGS;
22249 :
22250 0 : if ((items < 1) || (items > 1)) {
22251 0 : SWIG_croak("Usage: imageObj_getBytes(self);");
22252 : }
22253 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22254 0 : if (!SWIG_IsOK(res1)) {
22255 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getBytes" "', argument " "1"" of type '" "struct imageObj *""'");
22256 : }
22257 0 : arg1 = (struct imageObj *)(argp1);
22258 0 : result = imageObj_getBytes(arg1);
22259 : {
22260 : SV *mysv;
22261 0 : mysv = sv_newmortal();
22262 0 : if ((&result)->data == NULL)
22263 0 : sv_setpv(mysv,"");
22264 : else
22265 0 : sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
22266 0 : ST(argvi) = newRV(mysv);
22267 0 : sv_2mortal(ST(argvi));
22268 : argvi++;
22269 0 : if( (&result)->owns_data )
22270 0 : msFree((&result)->data);
22271 : }
22272 :
22273 0 : XSRETURN(argvi);
22274 : fail:
22275 :
22276 0 : SWIG_croak_null();
22277 : }
22278 : }
22279 :
22280 :
22281 0 : XS(_wrap_imageObj_getSize) {
22282 : {
22283 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22284 0 : void *argp1 = 0 ;
22285 : int res1 = 0 ;
22286 : int argvi = 0;
22287 : int result;
22288 0 : dXSARGS;
22289 :
22290 0 : if ((items < 1) || (items > 1)) {
22291 0 : SWIG_croak("Usage: imageObj_getSize(self);");
22292 : }
22293 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22294 0 : if (!SWIG_IsOK(res1)) {
22295 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getSize" "', argument " "1"" of type '" "struct imageObj *""'");
22296 : }
22297 0 : arg1 = (struct imageObj *)(argp1);
22298 0 : result = (int)imageObj_getSize(arg1);
22299 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22300 :
22301 0 : XSRETURN(argvi);
22302 : fail:
22303 :
22304 0 : SWIG_croak_null();
22305 : }
22306 : }
22307 :
22308 :
22309 0 : XS(_wrap_scaleTokenEntryObj_minscale_set) {
22310 : {
22311 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22312 : double arg2 ;
22313 0 : void *argp1 = 0 ;
22314 : int res1 = 0 ;
22315 : double val2 ;
22316 : int ecode2 = 0 ;
22317 : int argvi = 0;
22318 0 : dXSARGS;
22319 :
22320 0 : if ((items < 2) || (items > 2)) {
22321 0 : SWIG_croak("Usage: scaleTokenEntryObj_minscale_set(self,minscale);");
22322 : }
22323 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22324 0 : if (!SWIG_IsOK(res1)) {
22325 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22326 : }
22327 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22328 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22329 0 : if (!SWIG_IsOK(ecode2)) {
22330 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "2"" of type '" "double""'");
22331 : }
22332 0 : arg2 = (double)(val2);
22333 0 : if (arg1) (arg1)->minscale = arg2;
22334 0 : ST(argvi) = sv_newmortal();
22335 :
22336 :
22337 0 : XSRETURN(argvi);
22338 : fail:
22339 :
22340 :
22341 0 : SWIG_croak_null();
22342 : }
22343 : }
22344 :
22345 :
22346 0 : XS(_wrap_scaleTokenEntryObj_minscale_get) {
22347 : {
22348 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22349 0 : void *argp1 = 0 ;
22350 : int res1 = 0 ;
22351 : int argvi = 0;
22352 : double result;
22353 0 : dXSARGS;
22354 :
22355 0 : if ((items < 1) || (items > 1)) {
22356 0 : SWIG_croak("Usage: scaleTokenEntryObj_minscale_get(self);");
22357 : }
22358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22359 0 : if (!SWIG_IsOK(res1)) {
22360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22361 : }
22362 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22363 0 : result = (double) ((arg1)->minscale);
22364 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
22365 :
22366 0 : XSRETURN(argvi);
22367 : fail:
22368 :
22369 0 : SWIG_croak_null();
22370 : }
22371 : }
22372 :
22373 :
22374 0 : XS(_wrap_scaleTokenEntryObj_maxscale_set) {
22375 : {
22376 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22377 : double arg2 ;
22378 0 : void *argp1 = 0 ;
22379 : int res1 = 0 ;
22380 : double val2 ;
22381 : int ecode2 = 0 ;
22382 : int argvi = 0;
22383 0 : dXSARGS;
22384 :
22385 0 : if ((items < 2) || (items > 2)) {
22386 0 : SWIG_croak("Usage: scaleTokenEntryObj_maxscale_set(self,maxscale);");
22387 : }
22388 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22389 0 : if (!SWIG_IsOK(res1)) {
22390 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22391 : }
22392 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22393 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22394 0 : if (!SWIG_IsOK(ecode2)) {
22395 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "2"" of type '" "double""'");
22396 : }
22397 0 : arg2 = (double)(val2);
22398 0 : if (arg1) (arg1)->maxscale = arg2;
22399 0 : ST(argvi) = sv_newmortal();
22400 :
22401 :
22402 0 : XSRETURN(argvi);
22403 : fail:
22404 :
22405 :
22406 0 : SWIG_croak_null();
22407 : }
22408 : }
22409 :
22410 :
22411 0 : XS(_wrap_scaleTokenEntryObj_maxscale_get) {
22412 : {
22413 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22414 0 : void *argp1 = 0 ;
22415 : int res1 = 0 ;
22416 : int argvi = 0;
22417 : double result;
22418 0 : dXSARGS;
22419 :
22420 0 : if ((items < 1) || (items > 1)) {
22421 0 : SWIG_croak("Usage: scaleTokenEntryObj_maxscale_get(self);");
22422 : }
22423 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22424 0 : if (!SWIG_IsOK(res1)) {
22425 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22426 : }
22427 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22428 0 : result = (double) ((arg1)->maxscale);
22429 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
22430 :
22431 0 : XSRETURN(argvi);
22432 : fail:
22433 :
22434 0 : SWIG_croak_null();
22435 : }
22436 : }
22437 :
22438 :
22439 0 : XS(_wrap_scaleTokenEntryObj_value_set) {
22440 : {
22441 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22442 : char *arg2 = (char *) 0 ;
22443 0 : void *argp1 = 0 ;
22444 : int res1 = 0 ;
22445 : int res2 ;
22446 0 : char *buf2 = 0 ;
22447 0 : int alloc2 = 0 ;
22448 : int argvi = 0;
22449 0 : dXSARGS;
22450 :
22451 0 : if ((items < 2) || (items > 2)) {
22452 0 : SWIG_croak("Usage: scaleTokenEntryObj_value_set(self,value);");
22453 : }
22454 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22455 0 : if (!SWIG_IsOK(res1)) {
22456 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22457 : }
22458 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22459 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22460 0 : if (!SWIG_IsOK(res2)) {
22461 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenEntryObj_value_set" "', argument " "2"" of type '" "char *""'");
22462 : }
22463 0 : arg2 = (char *)(buf2);
22464 : {
22465 0 : if (arg1->value) free((char*)arg1->value);
22466 0 : if (arg2) {
22467 0 : arg1->value = (char *) malloc(strlen(arg2)+1);
22468 : strcpy((char*)arg1->value,arg2);
22469 : } else {
22470 0 : arg1->value = 0;
22471 : }
22472 : }
22473 0 : ST(argvi) = sv_newmortal();
22474 :
22475 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22476 0 : XSRETURN(argvi);
22477 : fail:
22478 :
22479 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22480 0 : SWIG_croak_null();
22481 : }
22482 : }
22483 :
22484 :
22485 0 : XS(_wrap_scaleTokenEntryObj_value_get) {
22486 : {
22487 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22488 0 : void *argp1 = 0 ;
22489 : int res1 = 0 ;
22490 : int argvi = 0;
22491 : char *result = 0 ;
22492 0 : dXSARGS;
22493 :
22494 0 : if ((items < 1) || (items > 1)) {
22495 0 : SWIG_croak("Usage: scaleTokenEntryObj_value_get(self);");
22496 : }
22497 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22498 0 : if (!SWIG_IsOK(res1)) {
22499 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22500 : }
22501 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22502 0 : result = (char *) ((arg1)->value);
22503 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22504 :
22505 0 : XSRETURN(argvi);
22506 : fail:
22507 :
22508 0 : SWIG_croak_null();
22509 : }
22510 : }
22511 :
22512 :
22513 0 : XS(_wrap_new_scaleTokenEntryObj) {
22514 : {
22515 : int argvi = 0;
22516 : scaleTokenEntryObj *result = 0 ;
22517 0 : dXSARGS;
22518 :
22519 0 : if ((items < 0) || (items > 0)) {
22520 0 : SWIG_croak("Usage: new_scaleTokenEntryObj();");
22521 : }
22522 0 : result = (scaleTokenEntryObj *)calloc(1, sizeof(scaleTokenEntryObj));
22523 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22524 0 : XSRETURN(argvi);
22525 : fail:
22526 0 : SWIG_croak_null();
22527 : }
22528 : }
22529 :
22530 :
22531 0 : XS(_wrap_delete_scaleTokenEntryObj) {
22532 : {
22533 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22534 0 : void *argp1 = 0 ;
22535 : int res1 = 0 ;
22536 : int argvi = 0;
22537 0 : dXSARGS;
22538 :
22539 0 : if ((items < 1) || (items > 1)) {
22540 0 : SWIG_croak("Usage: delete_scaleTokenEntryObj(self);");
22541 : }
22542 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN | 0 );
22543 0 : if (!SWIG_IsOK(res1)) {
22544 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenEntryObj" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22545 : }
22546 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22547 0 : free((char *) arg1);
22548 0 : ST(argvi) = sv_newmortal();
22549 :
22550 0 : XSRETURN(argvi);
22551 : fail:
22552 :
22553 0 : SWIG_croak_null();
22554 : }
22555 : }
22556 :
22557 :
22558 0 : XS(_wrap_scaleTokenObj_name_set) {
22559 : {
22560 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22561 : char *arg2 = (char *) 0 ;
22562 0 : void *argp1 = 0 ;
22563 : int res1 = 0 ;
22564 : int res2 ;
22565 0 : char *buf2 = 0 ;
22566 0 : int alloc2 = 0 ;
22567 : int argvi = 0;
22568 0 : dXSARGS;
22569 :
22570 0 : if ((items < 2) || (items > 2)) {
22571 0 : SWIG_croak("Usage: scaleTokenObj_name_set(self,name);");
22572 : }
22573 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22574 0 : if (!SWIG_IsOK(res1)) {
22575 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22576 : }
22577 0 : arg1 = (scaleTokenObj *)(argp1);
22578 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22579 0 : if (!SWIG_IsOK(res2)) {
22580 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_name_set" "', argument " "2"" of type '" "char *""'");
22581 : }
22582 0 : arg2 = (char *)(buf2);
22583 : {
22584 0 : if (arg1->name) free((char*)arg1->name);
22585 0 : if (arg2) {
22586 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
22587 : strcpy((char*)arg1->name,arg2);
22588 : } else {
22589 0 : arg1->name = 0;
22590 : }
22591 : }
22592 0 : ST(argvi) = sv_newmortal();
22593 :
22594 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22595 0 : XSRETURN(argvi);
22596 : fail:
22597 :
22598 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22599 0 : SWIG_croak_null();
22600 : }
22601 : }
22602 :
22603 :
22604 0 : XS(_wrap_scaleTokenObj_name_get) {
22605 : {
22606 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22607 0 : void *argp1 = 0 ;
22608 : int res1 = 0 ;
22609 : int argvi = 0;
22610 : char *result = 0 ;
22611 0 : dXSARGS;
22612 :
22613 0 : if ((items < 1) || (items > 1)) {
22614 0 : SWIG_croak("Usage: scaleTokenObj_name_get(self);");
22615 : }
22616 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22617 0 : if (!SWIG_IsOK(res1)) {
22618 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22619 : }
22620 0 : arg1 = (scaleTokenObj *)(argp1);
22621 0 : result = (char *) ((arg1)->name);
22622 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22623 :
22624 0 : XSRETURN(argvi);
22625 : fail:
22626 :
22627 0 : SWIG_croak_null();
22628 : }
22629 : }
22630 :
22631 :
22632 0 : XS(_wrap_scaleTokenObj_n_entries_set) {
22633 : {
22634 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22635 : int arg2 ;
22636 0 : void *argp1 = 0 ;
22637 : int res1 = 0 ;
22638 : int val2 ;
22639 : int ecode2 = 0 ;
22640 : int argvi = 0;
22641 0 : dXSARGS;
22642 :
22643 0 : if ((items < 2) || (items > 2)) {
22644 0 : SWIG_croak("Usage: scaleTokenObj_n_entries_set(self,n_entries);");
22645 : }
22646 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22647 0 : if (!SWIG_IsOK(res1)) {
22648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22649 : }
22650 0 : arg1 = (scaleTokenObj *)(argp1);
22651 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22652 0 : if (!SWIG_IsOK(ecode2)) {
22653 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenObj_n_entries_set" "', argument " "2"" of type '" "int""'");
22654 : }
22655 0 : arg2 = (int)(val2);
22656 0 : if (arg1) (arg1)->n_entries = arg2;
22657 0 : ST(argvi) = sv_newmortal();
22658 :
22659 :
22660 0 : XSRETURN(argvi);
22661 : fail:
22662 :
22663 :
22664 0 : SWIG_croak_null();
22665 : }
22666 : }
22667 :
22668 :
22669 0 : XS(_wrap_scaleTokenObj_n_entries_get) {
22670 : {
22671 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22672 0 : void *argp1 = 0 ;
22673 : int res1 = 0 ;
22674 : int argvi = 0;
22675 : int result;
22676 0 : dXSARGS;
22677 :
22678 0 : if ((items < 1) || (items > 1)) {
22679 0 : SWIG_croak("Usage: scaleTokenObj_n_entries_get(self);");
22680 : }
22681 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22682 0 : if (!SWIG_IsOK(res1)) {
22683 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22684 : }
22685 0 : arg1 = (scaleTokenObj *)(argp1);
22686 0 : result = (int) ((arg1)->n_entries);
22687 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22688 :
22689 0 : XSRETURN(argvi);
22690 : fail:
22691 :
22692 0 : SWIG_croak_null();
22693 : }
22694 : }
22695 :
22696 :
22697 0 : XS(_wrap_scaleTokenObj_tokens_set) {
22698 : {
22699 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22700 : scaleTokenEntryObj *arg2 = (scaleTokenEntryObj *) 0 ;
22701 0 : void *argp1 = 0 ;
22702 : int res1 = 0 ;
22703 0 : void *argp2 = 0 ;
22704 : int res2 = 0 ;
22705 : int argvi = 0;
22706 0 : dXSARGS;
22707 :
22708 0 : if ((items < 2) || (items > 2)) {
22709 0 : SWIG_croak("Usage: scaleTokenObj_tokens_set(self,tokens);");
22710 : }
22711 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22712 0 : if (!SWIG_IsOK(res1)) {
22713 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22714 : }
22715 0 : arg1 = (scaleTokenObj *)(argp1);
22716 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN | 0 );
22717 0 : if (!SWIG_IsOK(res2)) {
22718 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_tokens_set" "', argument " "2"" of type '" "scaleTokenEntryObj *""'");
22719 : }
22720 0 : arg2 = (scaleTokenEntryObj *)(argp2);
22721 0 : if (arg1) (arg1)->tokens = arg2;
22722 0 : ST(argvi) = sv_newmortal();
22723 :
22724 :
22725 0 : XSRETURN(argvi);
22726 : fail:
22727 :
22728 :
22729 0 : SWIG_croak_null();
22730 : }
22731 : }
22732 :
22733 :
22734 0 : XS(_wrap_scaleTokenObj_tokens_get) {
22735 : {
22736 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22737 0 : void *argp1 = 0 ;
22738 : int res1 = 0 ;
22739 : int argvi = 0;
22740 : scaleTokenEntryObj *result = 0 ;
22741 0 : dXSARGS;
22742 :
22743 0 : if ((items < 1) || (items > 1)) {
22744 0 : SWIG_croak("Usage: scaleTokenObj_tokens_get(self);");
22745 : }
22746 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22747 0 : if (!SWIG_IsOK(res1)) {
22748 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22749 : }
22750 0 : arg1 = (scaleTokenObj *)(argp1);
22751 0 : result = (scaleTokenEntryObj *) ((arg1)->tokens);
22752 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, 0 | SWIG_SHADOW); argvi++ ;
22753 :
22754 0 : XSRETURN(argvi);
22755 : fail:
22756 :
22757 0 : SWIG_croak_null();
22758 : }
22759 : }
22760 :
22761 :
22762 0 : XS(_wrap_new_scaleTokenObj) {
22763 : {
22764 : int argvi = 0;
22765 : scaleTokenObj *result = 0 ;
22766 0 : dXSARGS;
22767 :
22768 0 : if ((items < 0) || (items > 0)) {
22769 0 : SWIG_croak("Usage: new_scaleTokenObj();");
22770 : }
22771 0 : result = (scaleTokenObj *)calloc(1, sizeof(scaleTokenObj));
22772 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22773 0 : XSRETURN(argvi);
22774 : fail:
22775 0 : SWIG_croak_null();
22776 : }
22777 : }
22778 :
22779 :
22780 0 : XS(_wrap_delete_scaleTokenObj) {
22781 : {
22782 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22783 0 : void *argp1 = 0 ;
22784 : int res1 = 0 ;
22785 : int argvi = 0;
22786 0 : dXSARGS;
22787 :
22788 0 : if ((items < 1) || (items > 1)) {
22789 0 : SWIG_croak("Usage: delete_scaleTokenObj(self);");
22790 : }
22791 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, SWIG_POINTER_DISOWN | 0 );
22792 0 : if (!SWIG_IsOK(res1)) {
22793 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenObj" "', argument " "1"" of type '" "scaleTokenObj *""'");
22794 : }
22795 0 : arg1 = (scaleTokenObj *)(argp1);
22796 0 : free((char *) arg1);
22797 0 : ST(argvi) = sv_newmortal();
22798 :
22799 0 : XSRETURN(argvi);
22800 : fail:
22801 :
22802 0 : SWIG_croak_null();
22803 : }
22804 : }
22805 :
22806 :
22807 0 : XS(_wrap_layerObj_classitem_set) {
22808 : {
22809 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22810 : char *arg2 = (char *) 0 ;
22811 0 : void *argp1 = 0 ;
22812 : int res1 = 0 ;
22813 : int res2 ;
22814 0 : char *buf2 = 0 ;
22815 0 : int alloc2 = 0 ;
22816 : int argvi = 0;
22817 0 : dXSARGS;
22818 :
22819 0 : if ((items < 2) || (items > 2)) {
22820 0 : SWIG_croak("Usage: layerObj_classitem_set(self,classitem);");
22821 : }
22822 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22823 0 : if (!SWIG_IsOK(res1)) {
22824 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
22825 : }
22826 0 : arg1 = (struct layerObj *)(argp1);
22827 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22828 0 : if (!SWIG_IsOK(res2)) {
22829 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classitem_set" "', argument " "2"" of type '" "char *""'");
22830 : }
22831 0 : arg2 = (char *)(buf2);
22832 : {
22833 0 : if (arg1->classitem) free((char*)arg1->classitem);
22834 0 : if (arg2) {
22835 0 : arg1->classitem = (char *) malloc(strlen(arg2)+1);
22836 : strcpy((char*)arg1->classitem,arg2);
22837 : } else {
22838 0 : arg1->classitem = 0;
22839 : }
22840 : }
22841 0 : ST(argvi) = sv_newmortal();
22842 :
22843 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22844 0 : XSRETURN(argvi);
22845 : fail:
22846 :
22847 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22848 0 : SWIG_croak_null();
22849 : }
22850 : }
22851 :
22852 :
22853 0 : XS(_wrap_layerObj_classitem_get) {
22854 : {
22855 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22856 0 : void *argp1 = 0 ;
22857 : int res1 = 0 ;
22858 : int argvi = 0;
22859 : char *result = 0 ;
22860 0 : dXSARGS;
22861 :
22862 0 : if ((items < 1) || (items > 1)) {
22863 0 : SWIG_croak("Usage: layerObj_classitem_get(self);");
22864 : }
22865 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22866 0 : if (!SWIG_IsOK(res1)) {
22867 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
22868 : }
22869 0 : arg1 = (struct layerObj *)(argp1);
22870 0 : result = (char *) ((arg1)->classitem);
22871 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22872 :
22873 0 : XSRETURN(argvi);
22874 : fail:
22875 :
22876 0 : SWIG_croak_null();
22877 : }
22878 : }
22879 :
22880 :
22881 0 : XS(_wrap_layerObj_refcount_get) {
22882 : {
22883 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22884 0 : void *argp1 = 0 ;
22885 : int res1 = 0 ;
22886 : int argvi = 0;
22887 : int result;
22888 0 : dXSARGS;
22889 :
22890 0 : if ((items < 1) || (items > 1)) {
22891 0 : SWIG_croak("Usage: layerObj_refcount_get(self);");
22892 : }
22893 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22894 0 : if (!SWIG_IsOK(res1)) {
22895 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_refcount_get" "', argument " "1"" of type '" "struct layerObj *""'");
22896 : }
22897 0 : arg1 = (struct layerObj *)(argp1);
22898 0 : result = (int) ((arg1)->refcount);
22899 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22900 :
22901 0 : XSRETURN(argvi);
22902 : fail:
22903 :
22904 0 : SWIG_croak_null();
22905 : }
22906 : }
22907 :
22908 :
22909 0 : XS(_wrap_layerObj_numclasses_get) {
22910 : {
22911 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22912 0 : void *argp1 = 0 ;
22913 : int res1 = 0 ;
22914 : int argvi = 0;
22915 : int result;
22916 0 : dXSARGS;
22917 :
22918 0 : if ((items < 1) || (items > 1)) {
22919 0 : SWIG_croak("Usage: layerObj_numclasses_get(self);");
22920 : }
22921 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22922 0 : if (!SWIG_IsOK(res1)) {
22923 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numclasses_get" "', argument " "1"" of type '" "struct layerObj *""'");
22924 : }
22925 0 : arg1 = (struct layerObj *)(argp1);
22926 0 : result = (int) ((arg1)->numclasses);
22927 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22928 :
22929 0 : XSRETURN(argvi);
22930 : fail:
22931 :
22932 0 : SWIG_croak_null();
22933 : }
22934 : }
22935 :
22936 :
22937 0 : XS(_wrap_layerObj_maxclasses_get) {
22938 : {
22939 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22940 0 : void *argp1 = 0 ;
22941 : int res1 = 0 ;
22942 : int argvi = 0;
22943 : int result;
22944 0 : dXSARGS;
22945 :
22946 0 : if ((items < 1) || (items > 1)) {
22947 0 : SWIG_croak("Usage: layerObj_maxclasses_get(self);");
22948 : }
22949 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22950 0 : if (!SWIG_IsOK(res1)) {
22951 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxclasses_get" "', argument " "1"" of type '" "struct layerObj *""'");
22952 : }
22953 0 : arg1 = (struct layerObj *)(argp1);
22954 0 : result = (int) ((arg1)->maxclasses);
22955 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22956 :
22957 0 : XSRETURN(argvi);
22958 : fail:
22959 :
22960 0 : SWIG_croak_null();
22961 : }
22962 : }
22963 :
22964 :
22965 0 : XS(_wrap_layerObj_index_get) {
22966 : {
22967 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22968 0 : void *argp1 = 0 ;
22969 : int res1 = 0 ;
22970 : int argvi = 0;
22971 : int result;
22972 0 : dXSARGS;
22973 :
22974 0 : if ((items < 1) || (items > 1)) {
22975 0 : SWIG_croak("Usage: layerObj_index_get(self);");
22976 : }
22977 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22978 0 : if (!SWIG_IsOK(res1)) {
22979 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_index_get" "', argument " "1"" of type '" "struct layerObj *""'");
22980 : }
22981 0 : arg1 = (struct layerObj *)(argp1);
22982 0 : result = (int) ((arg1)->index);
22983 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22984 :
22985 0 : XSRETURN(argvi);
22986 : fail:
22987 :
22988 0 : SWIG_croak_null();
22989 : }
22990 : }
22991 :
22992 :
22993 1 : XS(_wrap_layerObj_map_get) {
22994 : {
22995 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22996 1 : void *argp1 = 0 ;
22997 : int res1 = 0 ;
22998 : int argvi = 0;
22999 : struct mapObj *result = 0 ;
23000 1 : dXSARGS;
23001 :
23002 1 : if ((items < 1) || (items > 1)) {
23003 0 : SWIG_croak("Usage: layerObj_map_get(self);");
23004 : }
23005 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23006 1 : if (!SWIG_IsOK(res1)) {
23007 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_map_get" "', argument " "1"" of type '" "struct layerObj *""'");
23008 : }
23009 1 : arg1 = (struct layerObj *)(argp1);
23010 : {
23011 : /* Accessing map */
23012 1 : result = (struct mapObj *) ((arg1)->map);;
23013 1 : MS_REFCNT_INCR(result);
23014 : }
23015 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
23016 :
23017 1 : XSRETURN(argvi);
23018 : fail:
23019 :
23020 0 : SWIG_croak_null();
23021 : }
23022 : }
23023 :
23024 :
23025 0 : XS(_wrap_layerObj_header_set) {
23026 : {
23027 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23028 : char *arg2 = (char *) 0 ;
23029 0 : void *argp1 = 0 ;
23030 : int res1 = 0 ;
23031 : int res2 ;
23032 0 : char *buf2 = 0 ;
23033 0 : int alloc2 = 0 ;
23034 : int argvi = 0;
23035 0 : dXSARGS;
23036 :
23037 0 : if ((items < 2) || (items > 2)) {
23038 0 : SWIG_croak("Usage: layerObj_header_set(self,header);");
23039 : }
23040 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23041 0 : if (!SWIG_IsOK(res1)) {
23042 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_set" "', argument " "1"" of type '" "struct layerObj *""'");
23043 : }
23044 0 : arg1 = (struct layerObj *)(argp1);
23045 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23046 0 : if (!SWIG_IsOK(res2)) {
23047 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_header_set" "', argument " "2"" of type '" "char *""'");
23048 : }
23049 0 : arg2 = (char *)(buf2);
23050 : {
23051 0 : if (arg1->header) free((char*)arg1->header);
23052 0 : if (arg2) {
23053 0 : arg1->header = (char *) malloc(strlen(arg2)+1);
23054 : strcpy((char*)arg1->header,arg2);
23055 : } else {
23056 0 : arg1->header = 0;
23057 : }
23058 : }
23059 0 : ST(argvi) = sv_newmortal();
23060 :
23061 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23062 0 : XSRETURN(argvi);
23063 : fail:
23064 :
23065 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23066 0 : SWIG_croak_null();
23067 : }
23068 : }
23069 :
23070 :
23071 0 : XS(_wrap_layerObj_header_get) {
23072 : {
23073 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23074 0 : void *argp1 = 0 ;
23075 : int res1 = 0 ;
23076 : int argvi = 0;
23077 : char *result = 0 ;
23078 0 : dXSARGS;
23079 :
23080 0 : if ((items < 1) || (items > 1)) {
23081 0 : SWIG_croak("Usage: layerObj_header_get(self);");
23082 : }
23083 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23084 0 : if (!SWIG_IsOK(res1)) {
23085 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_get" "', argument " "1"" of type '" "struct layerObj *""'");
23086 : }
23087 0 : arg1 = (struct layerObj *)(argp1);
23088 0 : result = (char *) ((arg1)->header);
23089 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23090 :
23091 0 : XSRETURN(argvi);
23092 : fail:
23093 :
23094 0 : SWIG_croak_null();
23095 : }
23096 : }
23097 :
23098 :
23099 0 : XS(_wrap_layerObj_footer_set) {
23100 : {
23101 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23102 : char *arg2 = (char *) 0 ;
23103 0 : void *argp1 = 0 ;
23104 : int res1 = 0 ;
23105 : int res2 ;
23106 0 : char *buf2 = 0 ;
23107 0 : int alloc2 = 0 ;
23108 : int argvi = 0;
23109 0 : dXSARGS;
23110 :
23111 0 : if ((items < 2) || (items > 2)) {
23112 0 : SWIG_croak("Usage: layerObj_footer_set(self,footer);");
23113 : }
23114 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23115 0 : if (!SWIG_IsOK(res1)) {
23116 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_set" "', argument " "1"" of type '" "struct layerObj *""'");
23117 : }
23118 0 : arg1 = (struct layerObj *)(argp1);
23119 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23120 0 : if (!SWIG_IsOK(res2)) {
23121 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_footer_set" "', argument " "2"" of type '" "char *""'");
23122 : }
23123 0 : arg2 = (char *)(buf2);
23124 : {
23125 0 : if (arg1->footer) free((char*)arg1->footer);
23126 0 : if (arg2) {
23127 0 : arg1->footer = (char *) malloc(strlen(arg2)+1);
23128 : strcpy((char*)arg1->footer,arg2);
23129 : } else {
23130 0 : arg1->footer = 0;
23131 : }
23132 : }
23133 0 : ST(argvi) = sv_newmortal();
23134 :
23135 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23136 0 : XSRETURN(argvi);
23137 : fail:
23138 :
23139 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23140 0 : SWIG_croak_null();
23141 : }
23142 : }
23143 :
23144 :
23145 0 : XS(_wrap_layerObj_footer_get) {
23146 : {
23147 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23148 0 : void *argp1 = 0 ;
23149 : int res1 = 0 ;
23150 : int argvi = 0;
23151 : char *result = 0 ;
23152 0 : dXSARGS;
23153 :
23154 0 : if ((items < 1) || (items > 1)) {
23155 0 : SWIG_croak("Usage: layerObj_footer_get(self);");
23156 : }
23157 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23158 0 : if (!SWIG_IsOK(res1)) {
23159 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_get" "', argument " "1"" of type '" "struct layerObj *""'");
23160 : }
23161 0 : arg1 = (struct layerObj *)(argp1);
23162 0 : result = (char *) ((arg1)->footer);
23163 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23164 :
23165 0 : XSRETURN(argvi);
23166 : fail:
23167 :
23168 0 : SWIG_croak_null();
23169 : }
23170 : }
23171 :
23172 :
23173 0 : XS(_wrap_layerObj_template_set) {
23174 : {
23175 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23176 : char *arg2 = (char *) 0 ;
23177 0 : void *argp1 = 0 ;
23178 : int res1 = 0 ;
23179 : int res2 ;
23180 0 : char *buf2 = 0 ;
23181 0 : int alloc2 = 0 ;
23182 : int argvi = 0;
23183 0 : dXSARGS;
23184 :
23185 0 : if ((items < 2) || (items > 2)) {
23186 0 : SWIG_croak("Usage: layerObj_template_set(self,template);");
23187 : }
23188 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23189 0 : if (!SWIG_IsOK(res1)) {
23190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_set" "', argument " "1"" of type '" "struct layerObj *""'");
23191 : }
23192 0 : arg1 = (struct layerObj *)(argp1);
23193 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23194 0 : if (!SWIG_IsOK(res2)) {
23195 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_template_set" "', argument " "2"" of type '" "char *""'");
23196 : }
23197 0 : arg2 = (char *)(buf2);
23198 : {
23199 0 : if (arg1->template) free((char*)arg1->template);
23200 0 : if (arg2) {
23201 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
23202 : strcpy((char*)arg1->template,arg2);
23203 : } else {
23204 0 : arg1->template = 0;
23205 : }
23206 : }
23207 0 : ST(argvi) = sv_newmortal();
23208 :
23209 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23210 0 : XSRETURN(argvi);
23211 : fail:
23212 :
23213 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23214 0 : SWIG_croak_null();
23215 : }
23216 : }
23217 :
23218 :
23219 0 : XS(_wrap_layerObj_template_get) {
23220 : {
23221 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23222 0 : void *argp1 = 0 ;
23223 : int res1 = 0 ;
23224 : int argvi = 0;
23225 : char *result = 0 ;
23226 0 : dXSARGS;
23227 :
23228 0 : if ((items < 1) || (items > 1)) {
23229 0 : SWIG_croak("Usage: layerObj_template_get(self);");
23230 : }
23231 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23232 0 : if (!SWIG_IsOK(res1)) {
23233 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_get" "', argument " "1"" of type '" "struct layerObj *""'");
23234 : }
23235 0 : arg1 = (struct layerObj *)(argp1);
23236 0 : result = (char *) ((arg1)->template);
23237 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23238 :
23239 0 : XSRETURN(argvi);
23240 : fail:
23241 :
23242 0 : SWIG_croak_null();
23243 : }
23244 : }
23245 :
23246 :
23247 0 : XS(_wrap_layerObj_name_set) {
23248 : {
23249 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23250 : char *arg2 = (char *) 0 ;
23251 0 : void *argp1 = 0 ;
23252 : int res1 = 0 ;
23253 : int res2 ;
23254 0 : char *buf2 = 0 ;
23255 0 : int alloc2 = 0 ;
23256 : int argvi = 0;
23257 0 : dXSARGS;
23258 :
23259 0 : if ((items < 2) || (items > 2)) {
23260 0 : SWIG_croak("Usage: layerObj_name_set(self,name);");
23261 : }
23262 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23263 0 : if (!SWIG_IsOK(res1)) {
23264 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_set" "', argument " "1"" of type '" "struct layerObj *""'");
23265 : }
23266 0 : arg1 = (struct layerObj *)(argp1);
23267 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23268 0 : if (!SWIG_IsOK(res2)) {
23269 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_name_set" "', argument " "2"" of type '" "char *""'");
23270 : }
23271 0 : arg2 = (char *)(buf2);
23272 : {
23273 0 : if (arg1->name) free((char*)arg1->name);
23274 0 : if (arg2) {
23275 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
23276 : strcpy((char*)arg1->name,arg2);
23277 : } else {
23278 0 : arg1->name = 0;
23279 : }
23280 : }
23281 0 : ST(argvi) = sv_newmortal();
23282 :
23283 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23284 0 : XSRETURN(argvi);
23285 : fail:
23286 :
23287 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23288 0 : SWIG_croak_null();
23289 : }
23290 : }
23291 :
23292 :
23293 0 : XS(_wrap_layerObj_name_get) {
23294 : {
23295 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23296 0 : void *argp1 = 0 ;
23297 : int res1 = 0 ;
23298 : int argvi = 0;
23299 : char *result = 0 ;
23300 0 : dXSARGS;
23301 :
23302 0 : if ((items < 1) || (items > 1)) {
23303 0 : SWIG_croak("Usage: layerObj_name_get(self);");
23304 : }
23305 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23306 0 : if (!SWIG_IsOK(res1)) {
23307 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_get" "', argument " "1"" of type '" "struct layerObj *""'");
23308 : }
23309 0 : arg1 = (struct layerObj *)(argp1);
23310 0 : result = (char *) ((arg1)->name);
23311 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23312 :
23313 0 : XSRETURN(argvi);
23314 : fail:
23315 :
23316 0 : SWIG_croak_null();
23317 : }
23318 : }
23319 :
23320 :
23321 0 : XS(_wrap_layerObj_group_set) {
23322 : {
23323 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23324 : char *arg2 = (char *) 0 ;
23325 0 : void *argp1 = 0 ;
23326 : int res1 = 0 ;
23327 : int res2 ;
23328 0 : char *buf2 = 0 ;
23329 0 : int alloc2 = 0 ;
23330 : int argvi = 0;
23331 0 : dXSARGS;
23332 :
23333 0 : if ((items < 2) || (items > 2)) {
23334 0 : SWIG_croak("Usage: layerObj_group_set(self,group);");
23335 : }
23336 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23337 0 : if (!SWIG_IsOK(res1)) {
23338 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_set" "', argument " "1"" of type '" "struct layerObj *""'");
23339 : }
23340 0 : arg1 = (struct layerObj *)(argp1);
23341 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23342 0 : if (!SWIG_IsOK(res2)) {
23343 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_group_set" "', argument " "2"" of type '" "char *""'");
23344 : }
23345 0 : arg2 = (char *)(buf2);
23346 : {
23347 0 : if (arg1->group) free((char*)arg1->group);
23348 0 : if (arg2) {
23349 0 : arg1->group = (char *) malloc(strlen(arg2)+1);
23350 : strcpy((char*)arg1->group,arg2);
23351 : } else {
23352 0 : arg1->group = 0;
23353 : }
23354 : }
23355 0 : ST(argvi) = sv_newmortal();
23356 :
23357 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23358 0 : XSRETURN(argvi);
23359 : fail:
23360 :
23361 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23362 0 : SWIG_croak_null();
23363 : }
23364 : }
23365 :
23366 :
23367 0 : XS(_wrap_layerObj_group_get) {
23368 : {
23369 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23370 0 : void *argp1 = 0 ;
23371 : int res1 = 0 ;
23372 : int argvi = 0;
23373 : char *result = 0 ;
23374 0 : dXSARGS;
23375 :
23376 0 : if ((items < 1) || (items > 1)) {
23377 0 : SWIG_croak("Usage: layerObj_group_get(self);");
23378 : }
23379 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23380 0 : if (!SWIG_IsOK(res1)) {
23381 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_get" "', argument " "1"" of type '" "struct layerObj *""'");
23382 : }
23383 0 : arg1 = (struct layerObj *)(argp1);
23384 0 : result = (char *) ((arg1)->group);
23385 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23386 :
23387 0 : XSRETURN(argvi);
23388 : fail:
23389 :
23390 0 : SWIG_croak_null();
23391 : }
23392 : }
23393 :
23394 :
23395 0 : XS(_wrap_layerObj_status_set) {
23396 : {
23397 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23398 : int arg2 ;
23399 0 : void *argp1 = 0 ;
23400 : int res1 = 0 ;
23401 : int val2 ;
23402 : int ecode2 = 0 ;
23403 : int argvi = 0;
23404 0 : dXSARGS;
23405 :
23406 0 : if ((items < 2) || (items > 2)) {
23407 0 : SWIG_croak("Usage: layerObj_status_set(self,status);");
23408 : }
23409 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23410 0 : if (!SWIG_IsOK(res1)) {
23411 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_set" "', argument " "1"" of type '" "struct layerObj *""'");
23412 : }
23413 0 : arg1 = (struct layerObj *)(argp1);
23414 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23415 0 : if (!SWIG_IsOK(ecode2)) {
23416 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_status_set" "', argument " "2"" of type '" "int""'");
23417 : }
23418 0 : arg2 = (int)(val2);
23419 0 : if (arg1) (arg1)->status = arg2;
23420 0 : ST(argvi) = sv_newmortal();
23421 :
23422 :
23423 0 : XSRETURN(argvi);
23424 : fail:
23425 :
23426 :
23427 0 : SWIG_croak_null();
23428 : }
23429 : }
23430 :
23431 :
23432 0 : XS(_wrap_layerObj_status_get) {
23433 : {
23434 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23435 0 : void *argp1 = 0 ;
23436 : int res1 = 0 ;
23437 : int argvi = 0;
23438 : int result;
23439 0 : dXSARGS;
23440 :
23441 0 : if ((items < 1) || (items > 1)) {
23442 0 : SWIG_croak("Usage: layerObj_status_get(self);");
23443 : }
23444 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23445 0 : if (!SWIG_IsOK(res1)) {
23446 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_get" "', argument " "1"" of type '" "struct layerObj *""'");
23447 : }
23448 0 : arg1 = (struct layerObj *)(argp1);
23449 0 : result = (int) ((arg1)->status);
23450 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23451 :
23452 0 : XSRETURN(argvi);
23453 : fail:
23454 :
23455 0 : SWIG_croak_null();
23456 : }
23457 : }
23458 :
23459 :
23460 0 : XS(_wrap_layerObj_rendermode_set) {
23461 : {
23462 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23463 : enum MS_RENDER_MODE arg2 ;
23464 0 : void *argp1 = 0 ;
23465 : int res1 = 0 ;
23466 : int val2 ;
23467 : int ecode2 = 0 ;
23468 : int argvi = 0;
23469 0 : dXSARGS;
23470 :
23471 0 : if ((items < 2) || (items > 2)) {
23472 0 : SWIG_croak("Usage: layerObj_rendermode_set(self,rendermode);");
23473 : }
23474 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23475 0 : if (!SWIG_IsOK(res1)) {
23476 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_rendermode_set" "', argument " "1"" of type '" "struct layerObj *""'");
23477 : }
23478 0 : arg1 = (struct layerObj *)(argp1);
23479 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23480 0 : if (!SWIG_IsOK(ecode2)) {
23481 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_rendermode_set" "', argument " "2"" of type '" "enum MS_RENDER_MODE""'");
23482 : }
23483 0 : arg2 = (enum MS_RENDER_MODE)(val2);
23484 0 : if (arg1) (arg1)->rendermode = arg2;
23485 0 : ST(argvi) = sv_newmortal();
23486 :
23487 :
23488 0 : XSRETURN(argvi);
23489 : fail:
23490 :
23491 :
23492 0 : SWIG_croak_null();
23493 : }
23494 : }
23495 :
23496 :
23497 0 : XS(_wrap_layerObj_rendermode_get) {
23498 : {
23499 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23500 0 : void *argp1 = 0 ;
23501 : int res1 = 0 ;
23502 : int argvi = 0;
23503 : enum MS_RENDER_MODE result;
23504 0 : dXSARGS;
23505 :
23506 0 : if ((items < 1) || (items > 1)) {
23507 0 : SWIG_croak("Usage: layerObj_rendermode_get(self);");
23508 : }
23509 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23510 0 : if (!SWIG_IsOK(res1)) {
23511 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_rendermode_get" "', argument " "1"" of type '" "struct layerObj *""'");
23512 : }
23513 0 : arg1 = (struct layerObj *)(argp1);
23514 0 : result = (enum MS_RENDER_MODE) ((arg1)->rendermode);
23515 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23516 :
23517 0 : XSRETURN(argvi);
23518 : fail:
23519 :
23520 0 : SWIG_croak_null();
23521 : }
23522 : }
23523 :
23524 :
23525 0 : XS(_wrap_layerObj_data_set) {
23526 : {
23527 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23528 : char *arg2 = (char *) 0 ;
23529 0 : void *argp1 = 0 ;
23530 : int res1 = 0 ;
23531 : int res2 ;
23532 0 : char *buf2 = 0 ;
23533 0 : int alloc2 = 0 ;
23534 : int argvi = 0;
23535 0 : dXSARGS;
23536 :
23537 0 : if ((items < 2) || (items > 2)) {
23538 0 : SWIG_croak("Usage: layerObj_data_set(self,data);");
23539 : }
23540 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23541 0 : if (!SWIG_IsOK(res1)) {
23542 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_set" "', argument " "1"" of type '" "struct layerObj *""'");
23543 : }
23544 0 : arg1 = (struct layerObj *)(argp1);
23545 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23546 0 : if (!SWIG_IsOK(res2)) {
23547 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_data_set" "', argument " "2"" of type '" "char *""'");
23548 : }
23549 0 : arg2 = (char *)(buf2);
23550 : {
23551 0 : if (arg1->data) free((char*)arg1->data);
23552 0 : if (arg2) {
23553 0 : arg1->data = (char *) malloc(strlen(arg2)+1);
23554 : strcpy((char*)arg1->data,arg2);
23555 : } else {
23556 0 : arg1->data = 0;
23557 : }
23558 : }
23559 0 : ST(argvi) = sv_newmortal();
23560 :
23561 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23562 0 : XSRETURN(argvi);
23563 : fail:
23564 :
23565 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23566 0 : SWIG_croak_null();
23567 : }
23568 : }
23569 :
23570 :
23571 0 : XS(_wrap_layerObj_data_get) {
23572 : {
23573 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23574 0 : void *argp1 = 0 ;
23575 : int res1 = 0 ;
23576 : int argvi = 0;
23577 : char *result = 0 ;
23578 0 : dXSARGS;
23579 :
23580 0 : if ((items < 1) || (items > 1)) {
23581 0 : SWIG_croak("Usage: layerObj_data_get(self);");
23582 : }
23583 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23584 0 : if (!SWIG_IsOK(res1)) {
23585 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_get" "', argument " "1"" of type '" "struct layerObj *""'");
23586 : }
23587 0 : arg1 = (struct layerObj *)(argp1);
23588 0 : result = (char *) ((arg1)->data);
23589 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23590 :
23591 0 : XSRETURN(argvi);
23592 : fail:
23593 :
23594 0 : SWIG_croak_null();
23595 : }
23596 : }
23597 :
23598 :
23599 0 : XS(_wrap_layerObj_type_set) {
23600 : {
23601 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23602 : enum MS_LAYER_TYPE arg2 ;
23603 0 : void *argp1 = 0 ;
23604 : int res1 = 0 ;
23605 : int val2 ;
23606 : int ecode2 = 0 ;
23607 : int argvi = 0;
23608 0 : dXSARGS;
23609 :
23610 0 : if ((items < 2) || (items > 2)) {
23611 0 : SWIG_croak("Usage: layerObj_type_set(self,type);");
23612 : }
23613 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23614 0 : if (!SWIG_IsOK(res1)) {
23615 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_set" "', argument " "1"" of type '" "struct layerObj *""'");
23616 : }
23617 0 : arg1 = (struct layerObj *)(argp1);
23618 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23619 0 : if (!SWIG_IsOK(ecode2)) {
23620 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_type_set" "', argument " "2"" of type '" "enum MS_LAYER_TYPE""'");
23621 : }
23622 0 : arg2 = (enum MS_LAYER_TYPE)(val2);
23623 0 : if (arg1) (arg1)->type = arg2;
23624 0 : ST(argvi) = sv_newmortal();
23625 :
23626 :
23627 0 : XSRETURN(argvi);
23628 : fail:
23629 :
23630 :
23631 0 : SWIG_croak_null();
23632 : }
23633 : }
23634 :
23635 :
23636 0 : XS(_wrap_layerObj_type_get) {
23637 : {
23638 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23639 0 : void *argp1 = 0 ;
23640 : int res1 = 0 ;
23641 : int argvi = 0;
23642 : enum MS_LAYER_TYPE result;
23643 0 : dXSARGS;
23644 :
23645 0 : if ((items < 1) || (items > 1)) {
23646 0 : SWIG_croak("Usage: layerObj_type_get(self);");
23647 : }
23648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23649 0 : if (!SWIG_IsOK(res1)) {
23650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_get" "', argument " "1"" of type '" "struct layerObj *""'");
23651 : }
23652 0 : arg1 = (struct layerObj *)(argp1);
23653 0 : result = (enum MS_LAYER_TYPE) ((arg1)->type);
23654 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23655 :
23656 0 : XSRETURN(argvi);
23657 : fail:
23658 :
23659 0 : SWIG_croak_null();
23660 : }
23661 : }
23662 :
23663 :
23664 0 : XS(_wrap_layerObj_tolerance_set) {
23665 : {
23666 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23667 : double arg2 ;
23668 0 : void *argp1 = 0 ;
23669 : int res1 = 0 ;
23670 : double val2 ;
23671 : int ecode2 = 0 ;
23672 : int argvi = 0;
23673 0 : dXSARGS;
23674 :
23675 0 : if ((items < 2) || (items > 2)) {
23676 0 : SWIG_croak("Usage: layerObj_tolerance_set(self,tolerance);");
23677 : }
23678 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23679 0 : if (!SWIG_IsOK(res1)) {
23680 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_set" "', argument " "1"" of type '" "struct layerObj *""'");
23681 : }
23682 0 : arg1 = (struct layerObj *)(argp1);
23683 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23684 0 : if (!SWIG_IsOK(ecode2)) {
23685 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_tolerance_set" "', argument " "2"" of type '" "double""'");
23686 : }
23687 0 : arg2 = (double)(val2);
23688 0 : if (arg1) (arg1)->tolerance = arg2;
23689 0 : ST(argvi) = sv_newmortal();
23690 :
23691 :
23692 0 : XSRETURN(argvi);
23693 : fail:
23694 :
23695 :
23696 0 : SWIG_croak_null();
23697 : }
23698 : }
23699 :
23700 :
23701 0 : XS(_wrap_layerObj_tolerance_get) {
23702 : {
23703 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23704 0 : void *argp1 = 0 ;
23705 : int res1 = 0 ;
23706 : int argvi = 0;
23707 : double result;
23708 0 : dXSARGS;
23709 :
23710 0 : if ((items < 1) || (items > 1)) {
23711 0 : SWIG_croak("Usage: layerObj_tolerance_get(self);");
23712 : }
23713 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23714 0 : if (!SWIG_IsOK(res1)) {
23715 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_get" "', argument " "1"" of type '" "struct layerObj *""'");
23716 : }
23717 0 : arg1 = (struct layerObj *)(argp1);
23718 0 : result = (double) ((arg1)->tolerance);
23719 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23720 :
23721 0 : XSRETURN(argvi);
23722 : fail:
23723 :
23724 0 : SWIG_croak_null();
23725 : }
23726 : }
23727 :
23728 :
23729 0 : XS(_wrap_layerObj_toleranceunits_set) {
23730 : {
23731 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23732 : int arg2 ;
23733 0 : void *argp1 = 0 ;
23734 : int res1 = 0 ;
23735 : int val2 ;
23736 : int ecode2 = 0 ;
23737 : int argvi = 0;
23738 0 : dXSARGS;
23739 :
23740 0 : if ((items < 2) || (items > 2)) {
23741 0 : SWIG_croak("Usage: layerObj_toleranceunits_set(self,toleranceunits);");
23742 : }
23743 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23744 0 : if (!SWIG_IsOK(res1)) {
23745 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_set" "', argument " "1"" of type '" "struct layerObj *""'");
23746 : }
23747 0 : arg1 = (struct layerObj *)(argp1);
23748 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23749 0 : if (!SWIG_IsOK(ecode2)) {
23750 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_toleranceunits_set" "', argument " "2"" of type '" "int""'");
23751 : }
23752 0 : arg2 = (int)(val2);
23753 0 : if (arg1) (arg1)->toleranceunits = arg2;
23754 0 : ST(argvi) = sv_newmortal();
23755 :
23756 :
23757 0 : XSRETURN(argvi);
23758 : fail:
23759 :
23760 :
23761 0 : SWIG_croak_null();
23762 : }
23763 : }
23764 :
23765 :
23766 0 : XS(_wrap_layerObj_toleranceunits_get) {
23767 : {
23768 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23769 0 : void *argp1 = 0 ;
23770 : int res1 = 0 ;
23771 : int argvi = 0;
23772 : int result;
23773 0 : dXSARGS;
23774 :
23775 0 : if ((items < 1) || (items > 1)) {
23776 0 : SWIG_croak("Usage: layerObj_toleranceunits_get(self);");
23777 : }
23778 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23779 0 : if (!SWIG_IsOK(res1)) {
23780 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_get" "', argument " "1"" of type '" "struct layerObj *""'");
23781 : }
23782 0 : arg1 = (struct layerObj *)(argp1);
23783 0 : result = (int) ((arg1)->toleranceunits);
23784 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23785 :
23786 0 : XSRETURN(argvi);
23787 : fail:
23788 :
23789 0 : SWIG_croak_null();
23790 : }
23791 : }
23792 :
23793 :
23794 0 : XS(_wrap_layerObj_symbolscaledenom_set) {
23795 : {
23796 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23797 : double arg2 ;
23798 0 : void *argp1 = 0 ;
23799 : int res1 = 0 ;
23800 : double val2 ;
23801 : int ecode2 = 0 ;
23802 : int argvi = 0;
23803 0 : dXSARGS;
23804 :
23805 0 : if ((items < 2) || (items > 2)) {
23806 0 : SWIG_croak("Usage: layerObj_symbolscaledenom_set(self,symbolscaledenom);");
23807 : }
23808 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23809 0 : if (!SWIG_IsOK(res1)) {
23810 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23811 : }
23812 0 : arg1 = (struct layerObj *)(argp1);
23813 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23814 0 : if (!SWIG_IsOK(ecode2)) {
23815 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_symbolscaledenom_set" "', argument " "2"" of type '" "double""'");
23816 : }
23817 0 : arg2 = (double)(val2);
23818 0 : if (arg1) (arg1)->symbolscaledenom = arg2;
23819 0 : ST(argvi) = sv_newmortal();
23820 :
23821 :
23822 0 : XSRETURN(argvi);
23823 : fail:
23824 :
23825 :
23826 0 : SWIG_croak_null();
23827 : }
23828 : }
23829 :
23830 :
23831 0 : XS(_wrap_layerObj_symbolscaledenom_get) {
23832 : {
23833 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23834 0 : void *argp1 = 0 ;
23835 : int res1 = 0 ;
23836 : int argvi = 0;
23837 : double result;
23838 0 : dXSARGS;
23839 :
23840 0 : if ((items < 1) || (items > 1)) {
23841 0 : SWIG_croak("Usage: layerObj_symbolscaledenom_get(self);");
23842 : }
23843 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23844 0 : if (!SWIG_IsOK(res1)) {
23845 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23846 : }
23847 0 : arg1 = (struct layerObj *)(argp1);
23848 0 : result = (double) ((arg1)->symbolscaledenom);
23849 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23850 :
23851 0 : XSRETURN(argvi);
23852 : fail:
23853 :
23854 0 : SWIG_croak_null();
23855 : }
23856 : }
23857 :
23858 :
23859 0 : XS(_wrap_layerObj_minscaledenom_set) {
23860 : {
23861 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23862 : double arg2 ;
23863 0 : void *argp1 = 0 ;
23864 : int res1 = 0 ;
23865 : double val2 ;
23866 : int ecode2 = 0 ;
23867 : int argvi = 0;
23868 0 : dXSARGS;
23869 :
23870 0 : if ((items < 2) || (items > 2)) {
23871 0 : SWIG_croak("Usage: layerObj_minscaledenom_set(self,minscaledenom);");
23872 : }
23873 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23874 0 : if (!SWIG_IsOK(res1)) {
23875 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23876 : }
23877 0 : arg1 = (struct layerObj *)(argp1);
23878 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23879 0 : if (!SWIG_IsOK(ecode2)) {
23880 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
23881 : }
23882 0 : arg2 = (double)(val2);
23883 0 : if (arg1) (arg1)->minscaledenom = arg2;
23884 0 : ST(argvi) = sv_newmortal();
23885 :
23886 :
23887 0 : XSRETURN(argvi);
23888 : fail:
23889 :
23890 :
23891 0 : SWIG_croak_null();
23892 : }
23893 : }
23894 :
23895 :
23896 0 : XS(_wrap_layerObj_minscaledenom_get) {
23897 : {
23898 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23899 0 : void *argp1 = 0 ;
23900 : int res1 = 0 ;
23901 : int argvi = 0;
23902 : double result;
23903 0 : dXSARGS;
23904 :
23905 0 : if ((items < 1) || (items > 1)) {
23906 0 : SWIG_croak("Usage: layerObj_minscaledenom_get(self);");
23907 : }
23908 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23909 0 : if (!SWIG_IsOK(res1)) {
23910 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23911 : }
23912 0 : arg1 = (struct layerObj *)(argp1);
23913 0 : result = (double) ((arg1)->minscaledenom);
23914 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23915 :
23916 0 : XSRETURN(argvi);
23917 : fail:
23918 :
23919 0 : SWIG_croak_null();
23920 : }
23921 : }
23922 :
23923 :
23924 0 : XS(_wrap_layerObj_maxscaledenom_set) {
23925 : {
23926 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23927 : double arg2 ;
23928 0 : void *argp1 = 0 ;
23929 : int res1 = 0 ;
23930 : double val2 ;
23931 : int ecode2 = 0 ;
23932 : int argvi = 0;
23933 0 : dXSARGS;
23934 :
23935 0 : if ((items < 2) || (items > 2)) {
23936 0 : SWIG_croak("Usage: layerObj_maxscaledenom_set(self,maxscaledenom);");
23937 : }
23938 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23939 0 : if (!SWIG_IsOK(res1)) {
23940 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23941 : }
23942 0 : arg1 = (struct layerObj *)(argp1);
23943 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23944 0 : if (!SWIG_IsOK(ecode2)) {
23945 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
23946 : }
23947 0 : arg2 = (double)(val2);
23948 0 : if (arg1) (arg1)->maxscaledenom = arg2;
23949 0 : ST(argvi) = sv_newmortal();
23950 :
23951 :
23952 0 : XSRETURN(argvi);
23953 : fail:
23954 :
23955 :
23956 0 : SWIG_croak_null();
23957 : }
23958 : }
23959 :
23960 :
23961 0 : XS(_wrap_layerObj_maxscaledenom_get) {
23962 : {
23963 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23964 0 : void *argp1 = 0 ;
23965 : int res1 = 0 ;
23966 : int argvi = 0;
23967 : double result;
23968 0 : dXSARGS;
23969 :
23970 0 : if ((items < 1) || (items > 1)) {
23971 0 : SWIG_croak("Usage: layerObj_maxscaledenom_get(self);");
23972 : }
23973 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23974 0 : if (!SWIG_IsOK(res1)) {
23975 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23976 : }
23977 0 : arg1 = (struct layerObj *)(argp1);
23978 0 : result = (double) ((arg1)->maxscaledenom);
23979 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23980 :
23981 0 : XSRETURN(argvi);
23982 : fail:
23983 :
23984 0 : SWIG_croak_null();
23985 : }
23986 : }
23987 :
23988 :
23989 0 : XS(_wrap_layerObj_minfeaturesize_set) {
23990 : {
23991 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23992 : int arg2 ;
23993 0 : void *argp1 = 0 ;
23994 : int res1 = 0 ;
23995 : int val2 ;
23996 : int ecode2 = 0 ;
23997 : int argvi = 0;
23998 0 : dXSARGS;
23999 :
24000 0 : if ((items < 2) || (items > 2)) {
24001 0 : SWIG_croak("Usage: layerObj_minfeaturesize_set(self,minfeaturesize);");
24002 : }
24003 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24004 0 : if (!SWIG_IsOK(res1)) {
24005 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_set" "', argument " "1"" of type '" "struct layerObj *""'");
24006 : }
24007 0 : arg1 = (struct layerObj *)(argp1);
24008 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24009 0 : if (!SWIG_IsOK(ecode2)) {
24010 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
24011 : }
24012 0 : arg2 = (int)(val2);
24013 0 : if (arg1) (arg1)->minfeaturesize = arg2;
24014 0 : ST(argvi) = sv_newmortal();
24015 :
24016 :
24017 0 : XSRETURN(argvi);
24018 : fail:
24019 :
24020 :
24021 0 : SWIG_croak_null();
24022 : }
24023 : }
24024 :
24025 :
24026 0 : XS(_wrap_layerObj_minfeaturesize_get) {
24027 : {
24028 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24029 0 : void *argp1 = 0 ;
24030 : int res1 = 0 ;
24031 : int argvi = 0;
24032 : int result;
24033 0 : dXSARGS;
24034 :
24035 0 : if ((items < 1) || (items > 1)) {
24036 0 : SWIG_croak("Usage: layerObj_minfeaturesize_get(self);");
24037 : }
24038 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24039 0 : if (!SWIG_IsOK(res1)) {
24040 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_get" "', argument " "1"" of type '" "struct layerObj *""'");
24041 : }
24042 0 : arg1 = (struct layerObj *)(argp1);
24043 0 : result = (int) ((arg1)->minfeaturesize);
24044 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24045 :
24046 0 : XSRETURN(argvi);
24047 : fail:
24048 :
24049 0 : SWIG_croak_null();
24050 : }
24051 : }
24052 :
24053 :
24054 0 : XS(_wrap_layerObj_labelminscaledenom_set) {
24055 : {
24056 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24057 : double arg2 ;
24058 0 : void *argp1 = 0 ;
24059 : int res1 = 0 ;
24060 : double val2 ;
24061 : int ecode2 = 0 ;
24062 : int argvi = 0;
24063 0 : dXSARGS;
24064 :
24065 0 : if ((items < 2) || (items > 2)) {
24066 0 : SWIG_croak("Usage: layerObj_labelminscaledenom_set(self,labelminscaledenom);");
24067 : }
24068 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24069 0 : if (!SWIG_IsOK(res1)) {
24070 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
24071 : }
24072 0 : arg1 = (struct layerObj *)(argp1);
24073 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24074 0 : if (!SWIG_IsOK(ecode2)) {
24075 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelminscaledenom_set" "', argument " "2"" of type '" "double""'");
24076 : }
24077 0 : arg2 = (double)(val2);
24078 0 : if (arg1) (arg1)->labelminscaledenom = arg2;
24079 0 : ST(argvi) = sv_newmortal();
24080 :
24081 :
24082 0 : XSRETURN(argvi);
24083 : fail:
24084 :
24085 :
24086 0 : SWIG_croak_null();
24087 : }
24088 : }
24089 :
24090 :
24091 0 : XS(_wrap_layerObj_labelminscaledenom_get) {
24092 : {
24093 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24094 0 : void *argp1 = 0 ;
24095 : int res1 = 0 ;
24096 : int argvi = 0;
24097 : double result;
24098 0 : dXSARGS;
24099 :
24100 0 : if ((items < 1) || (items > 1)) {
24101 0 : SWIG_croak("Usage: layerObj_labelminscaledenom_get(self);");
24102 : }
24103 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24104 0 : if (!SWIG_IsOK(res1)) {
24105 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
24106 : }
24107 0 : arg1 = (struct layerObj *)(argp1);
24108 0 : result = (double) ((arg1)->labelminscaledenom);
24109 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24110 :
24111 0 : XSRETURN(argvi);
24112 : fail:
24113 :
24114 0 : SWIG_croak_null();
24115 : }
24116 : }
24117 :
24118 :
24119 0 : XS(_wrap_layerObj_labelmaxscaledenom_set) {
24120 : {
24121 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24122 : double arg2 ;
24123 0 : void *argp1 = 0 ;
24124 : int res1 = 0 ;
24125 : double val2 ;
24126 : int ecode2 = 0 ;
24127 : int argvi = 0;
24128 0 : dXSARGS;
24129 :
24130 0 : if ((items < 2) || (items > 2)) {
24131 0 : SWIG_croak("Usage: layerObj_labelmaxscaledenom_set(self,labelmaxscaledenom);");
24132 : }
24133 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24134 0 : if (!SWIG_IsOK(res1)) {
24135 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
24136 : }
24137 0 : arg1 = (struct layerObj *)(argp1);
24138 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24139 0 : if (!SWIG_IsOK(ecode2)) {
24140 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "2"" of type '" "double""'");
24141 : }
24142 0 : arg2 = (double)(val2);
24143 0 : if (arg1) (arg1)->labelmaxscaledenom = arg2;
24144 0 : ST(argvi) = sv_newmortal();
24145 :
24146 :
24147 0 : XSRETURN(argvi);
24148 : fail:
24149 :
24150 :
24151 0 : SWIG_croak_null();
24152 : }
24153 : }
24154 :
24155 :
24156 0 : XS(_wrap_layerObj_labelmaxscaledenom_get) {
24157 : {
24158 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24159 0 : void *argp1 = 0 ;
24160 : int res1 = 0 ;
24161 : int argvi = 0;
24162 : double result;
24163 0 : dXSARGS;
24164 :
24165 0 : if ((items < 1) || (items > 1)) {
24166 0 : SWIG_croak("Usage: layerObj_labelmaxscaledenom_get(self);");
24167 : }
24168 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24169 0 : if (!SWIG_IsOK(res1)) {
24170 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
24171 : }
24172 0 : arg1 = (struct layerObj *)(argp1);
24173 0 : result = (double) ((arg1)->labelmaxscaledenom);
24174 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24175 :
24176 0 : XSRETURN(argvi);
24177 : fail:
24178 :
24179 0 : SWIG_croak_null();
24180 : }
24181 : }
24182 :
24183 :
24184 0 : XS(_wrap_layerObj_mingeowidth_set) {
24185 : {
24186 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24187 : double arg2 ;
24188 0 : void *argp1 = 0 ;
24189 : int res1 = 0 ;
24190 : double val2 ;
24191 : int ecode2 = 0 ;
24192 : int argvi = 0;
24193 0 : dXSARGS;
24194 :
24195 0 : if ((items < 2) || (items > 2)) {
24196 0 : SWIG_croak("Usage: layerObj_mingeowidth_set(self,mingeowidth);");
24197 : }
24198 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24199 0 : if (!SWIG_IsOK(res1)) {
24200 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'");
24201 : }
24202 0 : arg1 = (struct layerObj *)(argp1);
24203 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24204 0 : if (!SWIG_IsOK(ecode2)) {
24205 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_mingeowidth_set" "', argument " "2"" of type '" "double""'");
24206 : }
24207 0 : arg2 = (double)(val2);
24208 0 : if (arg1) (arg1)->mingeowidth = arg2;
24209 0 : ST(argvi) = sv_newmortal();
24210 :
24211 :
24212 0 : XSRETURN(argvi);
24213 : fail:
24214 :
24215 :
24216 0 : SWIG_croak_null();
24217 : }
24218 : }
24219 :
24220 :
24221 0 : XS(_wrap_layerObj_mingeowidth_get) {
24222 : {
24223 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24224 0 : void *argp1 = 0 ;
24225 : int res1 = 0 ;
24226 : int argvi = 0;
24227 : double result;
24228 0 : dXSARGS;
24229 :
24230 0 : if ((items < 1) || (items > 1)) {
24231 0 : SWIG_croak("Usage: layerObj_mingeowidth_get(self);");
24232 : }
24233 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24234 0 : if (!SWIG_IsOK(res1)) {
24235 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'");
24236 : }
24237 0 : arg1 = (struct layerObj *)(argp1);
24238 0 : result = (double) ((arg1)->mingeowidth);
24239 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24240 :
24241 0 : XSRETURN(argvi);
24242 : fail:
24243 :
24244 0 : SWIG_croak_null();
24245 : }
24246 : }
24247 :
24248 :
24249 0 : XS(_wrap_layerObj_maxgeowidth_set) {
24250 : {
24251 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24252 : double arg2 ;
24253 0 : void *argp1 = 0 ;
24254 : int res1 = 0 ;
24255 : double val2 ;
24256 : int ecode2 = 0 ;
24257 : int argvi = 0;
24258 0 : dXSARGS;
24259 :
24260 0 : if ((items < 2) || (items > 2)) {
24261 0 : SWIG_croak("Usage: layerObj_maxgeowidth_set(self,maxgeowidth);");
24262 : }
24263 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24264 0 : if (!SWIG_IsOK(res1)) {
24265 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'");
24266 : }
24267 0 : arg1 = (struct layerObj *)(argp1);
24268 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24269 0 : if (!SWIG_IsOK(ecode2)) {
24270 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxgeowidth_set" "', argument " "2"" of type '" "double""'");
24271 : }
24272 0 : arg2 = (double)(val2);
24273 0 : if (arg1) (arg1)->maxgeowidth = arg2;
24274 0 : ST(argvi) = sv_newmortal();
24275 :
24276 :
24277 0 : XSRETURN(argvi);
24278 : fail:
24279 :
24280 :
24281 0 : SWIG_croak_null();
24282 : }
24283 : }
24284 :
24285 :
24286 0 : XS(_wrap_layerObj_maxgeowidth_get) {
24287 : {
24288 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24289 0 : void *argp1 = 0 ;
24290 : int res1 = 0 ;
24291 : int argvi = 0;
24292 : double result;
24293 0 : dXSARGS;
24294 :
24295 0 : if ((items < 1) || (items > 1)) {
24296 0 : SWIG_croak("Usage: layerObj_maxgeowidth_get(self);");
24297 : }
24298 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24299 0 : if (!SWIG_IsOK(res1)) {
24300 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'");
24301 : }
24302 0 : arg1 = (struct layerObj *)(argp1);
24303 0 : result = (double) ((arg1)->maxgeowidth);
24304 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24305 :
24306 0 : XSRETURN(argvi);
24307 : fail:
24308 :
24309 0 : SWIG_croak_null();
24310 : }
24311 : }
24312 :
24313 :
24314 0 : XS(_wrap_layerObj_sizeunits_set) {
24315 : {
24316 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24317 : int arg2 ;
24318 0 : void *argp1 = 0 ;
24319 : int res1 = 0 ;
24320 : int val2 ;
24321 : int ecode2 = 0 ;
24322 : int argvi = 0;
24323 0 : dXSARGS;
24324 :
24325 0 : if ((items < 2) || (items > 2)) {
24326 0 : SWIG_croak("Usage: layerObj_sizeunits_set(self,sizeunits);");
24327 : }
24328 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24329 0 : if (!SWIG_IsOK(res1)) {
24330 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_set" "', argument " "1"" of type '" "struct layerObj *""'");
24331 : }
24332 0 : arg1 = (struct layerObj *)(argp1);
24333 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24334 0 : if (!SWIG_IsOK(ecode2)) {
24335 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
24336 : }
24337 0 : arg2 = (int)(val2);
24338 0 : if (arg1) (arg1)->sizeunits = arg2;
24339 0 : ST(argvi) = sv_newmortal();
24340 :
24341 :
24342 0 : XSRETURN(argvi);
24343 : fail:
24344 :
24345 :
24346 0 : SWIG_croak_null();
24347 : }
24348 : }
24349 :
24350 :
24351 0 : XS(_wrap_layerObj_sizeunits_get) {
24352 : {
24353 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24354 0 : void *argp1 = 0 ;
24355 : int res1 = 0 ;
24356 : int argvi = 0;
24357 : int result;
24358 0 : dXSARGS;
24359 :
24360 0 : if ((items < 1) || (items > 1)) {
24361 0 : SWIG_croak("Usage: layerObj_sizeunits_get(self);");
24362 : }
24363 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24364 0 : if (!SWIG_IsOK(res1)) {
24365 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_get" "', argument " "1"" of type '" "struct layerObj *""'");
24366 : }
24367 0 : arg1 = (struct layerObj *)(argp1);
24368 0 : result = (int) ((arg1)->sizeunits);
24369 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24370 :
24371 0 : XSRETURN(argvi);
24372 : fail:
24373 :
24374 0 : SWIG_croak_null();
24375 : }
24376 : }
24377 :
24378 :
24379 0 : XS(_wrap_layerObj_maxfeatures_set) {
24380 : {
24381 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24382 : int arg2 ;
24383 0 : void *argp1 = 0 ;
24384 : int res1 = 0 ;
24385 : int val2 ;
24386 : int ecode2 = 0 ;
24387 : int argvi = 0;
24388 0 : dXSARGS;
24389 :
24390 0 : if ((items < 2) || (items > 2)) {
24391 0 : SWIG_croak("Usage: layerObj_maxfeatures_set(self,maxfeatures);");
24392 : }
24393 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24394 0 : if (!SWIG_IsOK(res1)) {
24395 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_set" "', argument " "1"" of type '" "struct layerObj *""'");
24396 : }
24397 0 : arg1 = (struct layerObj *)(argp1);
24398 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24399 0 : if (!SWIG_IsOK(ecode2)) {
24400 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxfeatures_set" "', argument " "2"" of type '" "int""'");
24401 : }
24402 0 : arg2 = (int)(val2);
24403 0 : if (arg1) (arg1)->maxfeatures = arg2;
24404 0 : ST(argvi) = sv_newmortal();
24405 :
24406 :
24407 0 : XSRETURN(argvi);
24408 : fail:
24409 :
24410 :
24411 0 : SWIG_croak_null();
24412 : }
24413 : }
24414 :
24415 :
24416 0 : XS(_wrap_layerObj_maxfeatures_get) {
24417 : {
24418 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24419 0 : void *argp1 = 0 ;
24420 : int res1 = 0 ;
24421 : int argvi = 0;
24422 : int result;
24423 0 : dXSARGS;
24424 :
24425 0 : if ((items < 1) || (items > 1)) {
24426 0 : SWIG_croak("Usage: layerObj_maxfeatures_get(self);");
24427 : }
24428 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24429 0 : if (!SWIG_IsOK(res1)) {
24430 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_get" "', argument " "1"" of type '" "struct layerObj *""'");
24431 : }
24432 0 : arg1 = (struct layerObj *)(argp1);
24433 0 : result = (int) ((arg1)->maxfeatures);
24434 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24435 :
24436 0 : XSRETURN(argvi);
24437 : fail:
24438 :
24439 0 : SWIG_croak_null();
24440 : }
24441 : }
24442 :
24443 :
24444 0 : XS(_wrap_layerObj_startindex_set) {
24445 : {
24446 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24447 : int arg2 ;
24448 0 : void *argp1 = 0 ;
24449 : int res1 = 0 ;
24450 : int val2 ;
24451 : int ecode2 = 0 ;
24452 : int argvi = 0;
24453 0 : dXSARGS;
24454 :
24455 0 : if ((items < 2) || (items > 2)) {
24456 0 : SWIG_croak("Usage: layerObj_startindex_set(self,startindex);");
24457 : }
24458 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24459 0 : if (!SWIG_IsOK(res1)) {
24460 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
24461 : }
24462 0 : arg1 = (struct layerObj *)(argp1);
24463 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24464 0 : if (!SWIG_IsOK(ecode2)) {
24465 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_startindex_set" "', argument " "2"" of type '" "int""'");
24466 : }
24467 0 : arg2 = (int)(val2);
24468 0 : if (arg1) (arg1)->startindex = arg2;
24469 0 : ST(argvi) = sv_newmortal();
24470 :
24471 :
24472 0 : XSRETURN(argvi);
24473 : fail:
24474 :
24475 :
24476 0 : SWIG_croak_null();
24477 : }
24478 : }
24479 :
24480 :
24481 0 : XS(_wrap_layerObj_startindex_get) {
24482 : {
24483 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24484 0 : void *argp1 = 0 ;
24485 : int res1 = 0 ;
24486 : int argvi = 0;
24487 : int result;
24488 0 : dXSARGS;
24489 :
24490 0 : if ((items < 1) || (items > 1)) {
24491 0 : SWIG_croak("Usage: layerObj_startindex_get(self);");
24492 : }
24493 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24494 0 : if (!SWIG_IsOK(res1)) {
24495 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
24496 : }
24497 0 : arg1 = (struct layerObj *)(argp1);
24498 0 : result = (int) ((arg1)->startindex);
24499 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24500 :
24501 0 : XSRETURN(argvi);
24502 : fail:
24503 :
24504 0 : SWIG_croak_null();
24505 : }
24506 : }
24507 :
24508 :
24509 0 : XS(_wrap_layerObj_offsite_set) {
24510 : {
24511 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24512 : colorObj *arg2 = (colorObj *) 0 ;
24513 0 : void *argp1 = 0 ;
24514 : int res1 = 0 ;
24515 0 : void *argp2 = 0 ;
24516 : int res2 = 0 ;
24517 : int argvi = 0;
24518 0 : dXSARGS;
24519 :
24520 0 : if ((items < 2) || (items > 2)) {
24521 0 : SWIG_croak("Usage: layerObj_offsite_set(self,offsite);");
24522 : }
24523 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24524 0 : if (!SWIG_IsOK(res1)) {
24525 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_set" "', argument " "1"" of type '" "struct layerObj *""'");
24526 : }
24527 0 : arg1 = (struct layerObj *)(argp1);
24528 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
24529 0 : if (!SWIG_IsOK(res2)) {
24530 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_offsite_set" "', argument " "2"" of type '" "colorObj *""'");
24531 : }
24532 0 : arg2 = (colorObj *)(argp2);
24533 0 : if (arg1) (arg1)->offsite = *arg2;
24534 0 : ST(argvi) = sv_newmortal();
24535 :
24536 :
24537 0 : XSRETURN(argvi);
24538 : fail:
24539 :
24540 :
24541 0 : SWIG_croak_null();
24542 : }
24543 : }
24544 :
24545 :
24546 0 : XS(_wrap_layerObj_offsite_get) {
24547 : {
24548 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24549 0 : void *argp1 = 0 ;
24550 : int res1 = 0 ;
24551 : int argvi = 0;
24552 : colorObj *result = 0 ;
24553 0 : dXSARGS;
24554 :
24555 0 : if ((items < 1) || (items > 1)) {
24556 0 : SWIG_croak("Usage: layerObj_offsite_get(self);");
24557 : }
24558 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24559 0 : if (!SWIG_IsOK(res1)) {
24560 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_get" "', argument " "1"" of type '" "struct layerObj *""'");
24561 : }
24562 0 : arg1 = (struct layerObj *)(argp1);
24563 0 : result = (colorObj *)& ((arg1)->offsite);
24564 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
24565 :
24566 0 : XSRETURN(argvi);
24567 : fail:
24568 :
24569 0 : SWIG_croak_null();
24570 : }
24571 : }
24572 :
24573 :
24574 0 : XS(_wrap_layerObj_transform_set) {
24575 : {
24576 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24577 : int arg2 ;
24578 0 : void *argp1 = 0 ;
24579 : int res1 = 0 ;
24580 : int val2 ;
24581 : int ecode2 = 0 ;
24582 : int argvi = 0;
24583 0 : dXSARGS;
24584 :
24585 0 : if ((items < 2) || (items > 2)) {
24586 0 : SWIG_croak("Usage: layerObj_transform_set(self,transform);");
24587 : }
24588 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24589 0 : if (!SWIG_IsOK(res1)) {
24590 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_set" "', argument " "1"" of type '" "struct layerObj *""'");
24591 : }
24592 0 : arg1 = (struct layerObj *)(argp1);
24593 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24594 0 : if (!SWIG_IsOK(ecode2)) {
24595 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_transform_set" "', argument " "2"" of type '" "int""'");
24596 : }
24597 0 : arg2 = (int)(val2);
24598 0 : if (arg1) (arg1)->transform = arg2;
24599 0 : ST(argvi) = sv_newmortal();
24600 :
24601 :
24602 0 : XSRETURN(argvi);
24603 : fail:
24604 :
24605 :
24606 0 : SWIG_croak_null();
24607 : }
24608 : }
24609 :
24610 :
24611 0 : XS(_wrap_layerObj_transform_get) {
24612 : {
24613 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24614 0 : void *argp1 = 0 ;
24615 : int res1 = 0 ;
24616 : int argvi = 0;
24617 : int result;
24618 0 : dXSARGS;
24619 :
24620 0 : if ((items < 1) || (items > 1)) {
24621 0 : SWIG_croak("Usage: layerObj_transform_get(self);");
24622 : }
24623 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24624 0 : if (!SWIG_IsOK(res1)) {
24625 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_get" "', argument " "1"" of type '" "struct layerObj *""'");
24626 : }
24627 0 : arg1 = (struct layerObj *)(argp1);
24628 0 : result = (int) ((arg1)->transform);
24629 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24630 :
24631 0 : XSRETURN(argvi);
24632 : fail:
24633 :
24634 0 : SWIG_croak_null();
24635 : }
24636 : }
24637 :
24638 :
24639 0 : XS(_wrap_layerObj_labelcache_set) {
24640 : {
24641 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24642 : int arg2 ;
24643 0 : void *argp1 = 0 ;
24644 : int res1 = 0 ;
24645 : int val2 ;
24646 : int ecode2 = 0 ;
24647 : int argvi = 0;
24648 0 : dXSARGS;
24649 :
24650 0 : if ((items < 2) || (items > 2)) {
24651 0 : SWIG_croak("Usage: layerObj_labelcache_set(self,labelcache);");
24652 : }
24653 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24654 0 : if (!SWIG_IsOK(res1)) {
24655 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_set" "', argument " "1"" of type '" "struct layerObj *""'");
24656 : }
24657 0 : arg1 = (struct layerObj *)(argp1);
24658 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24659 0 : if (!SWIG_IsOK(ecode2)) {
24660 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelcache_set" "', argument " "2"" of type '" "int""'");
24661 : }
24662 0 : arg2 = (int)(val2);
24663 0 : if (arg1) (arg1)->labelcache = arg2;
24664 0 : ST(argvi) = sv_newmortal();
24665 :
24666 :
24667 0 : XSRETURN(argvi);
24668 : fail:
24669 :
24670 :
24671 0 : SWIG_croak_null();
24672 : }
24673 : }
24674 :
24675 :
24676 0 : XS(_wrap_layerObj_labelcache_get) {
24677 : {
24678 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24679 0 : void *argp1 = 0 ;
24680 : int res1 = 0 ;
24681 : int argvi = 0;
24682 : int result;
24683 0 : dXSARGS;
24684 :
24685 0 : if ((items < 1) || (items > 1)) {
24686 0 : SWIG_croak("Usage: layerObj_labelcache_get(self);");
24687 : }
24688 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24689 0 : if (!SWIG_IsOK(res1)) {
24690 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_get" "', argument " "1"" of type '" "struct layerObj *""'");
24691 : }
24692 0 : arg1 = (struct layerObj *)(argp1);
24693 0 : result = (int) ((arg1)->labelcache);
24694 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24695 :
24696 0 : XSRETURN(argvi);
24697 : fail:
24698 :
24699 0 : SWIG_croak_null();
24700 : }
24701 : }
24702 :
24703 :
24704 0 : XS(_wrap_layerObj_postlabelcache_set) {
24705 : {
24706 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24707 : int arg2 ;
24708 0 : void *argp1 = 0 ;
24709 : int res1 = 0 ;
24710 : int val2 ;
24711 : int ecode2 = 0 ;
24712 : int argvi = 0;
24713 0 : dXSARGS;
24714 :
24715 0 : if ((items < 2) || (items > 2)) {
24716 0 : SWIG_croak("Usage: layerObj_postlabelcache_set(self,postlabelcache);");
24717 : }
24718 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24719 0 : if (!SWIG_IsOK(res1)) {
24720 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_set" "', argument " "1"" of type '" "struct layerObj *""'");
24721 : }
24722 0 : arg1 = (struct layerObj *)(argp1);
24723 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24724 0 : if (!SWIG_IsOK(ecode2)) {
24725 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
24726 : }
24727 0 : arg2 = (int)(val2);
24728 0 : if (arg1) (arg1)->postlabelcache = arg2;
24729 0 : ST(argvi) = sv_newmortal();
24730 :
24731 :
24732 0 : XSRETURN(argvi);
24733 : fail:
24734 :
24735 :
24736 0 : SWIG_croak_null();
24737 : }
24738 : }
24739 :
24740 :
24741 0 : XS(_wrap_layerObj_postlabelcache_get) {
24742 : {
24743 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24744 0 : void *argp1 = 0 ;
24745 : int res1 = 0 ;
24746 : int argvi = 0;
24747 : int result;
24748 0 : dXSARGS;
24749 :
24750 0 : if ((items < 1) || (items > 1)) {
24751 0 : SWIG_croak("Usage: layerObj_postlabelcache_get(self);");
24752 : }
24753 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24754 0 : if (!SWIG_IsOK(res1)) {
24755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_get" "', argument " "1"" of type '" "struct layerObj *""'");
24756 : }
24757 0 : arg1 = (struct layerObj *)(argp1);
24758 0 : result = (int) ((arg1)->postlabelcache);
24759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24760 :
24761 0 : XSRETURN(argvi);
24762 : fail:
24763 :
24764 0 : SWIG_croak_null();
24765 : }
24766 : }
24767 :
24768 :
24769 0 : XS(_wrap_layerObj_labelitem_set) {
24770 : {
24771 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24772 : char *arg2 = (char *) 0 ;
24773 0 : void *argp1 = 0 ;
24774 : int res1 = 0 ;
24775 : int res2 ;
24776 0 : char *buf2 = 0 ;
24777 0 : int alloc2 = 0 ;
24778 : int argvi = 0;
24779 0 : dXSARGS;
24780 :
24781 0 : if ((items < 2) || (items > 2)) {
24782 0 : SWIG_croak("Usage: layerObj_labelitem_set(self,labelitem);");
24783 : }
24784 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24785 0 : if (!SWIG_IsOK(res1)) {
24786 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
24787 : }
24788 0 : arg1 = (struct layerObj *)(argp1);
24789 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24790 0 : if (!SWIG_IsOK(res2)) {
24791 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelitem_set" "', argument " "2"" of type '" "char *""'");
24792 : }
24793 0 : arg2 = (char *)(buf2);
24794 : {
24795 0 : if (arg1->labelitem) free((char*)arg1->labelitem);
24796 0 : if (arg2) {
24797 0 : arg1->labelitem = (char *) malloc(strlen(arg2)+1);
24798 : strcpy((char*)arg1->labelitem,arg2);
24799 : } else {
24800 0 : arg1->labelitem = 0;
24801 : }
24802 : }
24803 0 : ST(argvi) = sv_newmortal();
24804 :
24805 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24806 0 : XSRETURN(argvi);
24807 : fail:
24808 :
24809 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24810 0 : SWIG_croak_null();
24811 : }
24812 : }
24813 :
24814 :
24815 0 : XS(_wrap_layerObj_labelitem_get) {
24816 : {
24817 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24818 0 : void *argp1 = 0 ;
24819 : int res1 = 0 ;
24820 : int argvi = 0;
24821 : char *result = 0 ;
24822 0 : dXSARGS;
24823 :
24824 0 : if ((items < 1) || (items > 1)) {
24825 0 : SWIG_croak("Usage: layerObj_labelitem_get(self);");
24826 : }
24827 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24828 0 : if (!SWIG_IsOK(res1)) {
24829 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
24830 : }
24831 0 : arg1 = (struct layerObj *)(argp1);
24832 0 : result = (char *) ((arg1)->labelitem);
24833 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24834 :
24835 0 : XSRETURN(argvi);
24836 : fail:
24837 :
24838 0 : SWIG_croak_null();
24839 : }
24840 : }
24841 :
24842 :
24843 0 : XS(_wrap_layerObj_tileitem_set) {
24844 : {
24845 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24846 : char *arg2 = (char *) 0 ;
24847 0 : void *argp1 = 0 ;
24848 : int res1 = 0 ;
24849 : int res2 ;
24850 0 : char *buf2 = 0 ;
24851 0 : int alloc2 = 0 ;
24852 : int argvi = 0;
24853 0 : dXSARGS;
24854 :
24855 0 : if ((items < 2) || (items > 2)) {
24856 0 : SWIG_croak("Usage: layerObj_tileitem_set(self,tileitem);");
24857 : }
24858 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24859 0 : if (!SWIG_IsOK(res1)) {
24860 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
24861 : }
24862 0 : arg1 = (struct layerObj *)(argp1);
24863 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24864 0 : if (!SWIG_IsOK(res2)) {
24865 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileitem_set" "', argument " "2"" of type '" "char *""'");
24866 : }
24867 0 : arg2 = (char *)(buf2);
24868 : {
24869 0 : if (arg1->tileitem) free((char*)arg1->tileitem);
24870 0 : if (arg2) {
24871 0 : arg1->tileitem = (char *) malloc(strlen(arg2)+1);
24872 : strcpy((char*)arg1->tileitem,arg2);
24873 : } else {
24874 0 : arg1->tileitem = 0;
24875 : }
24876 : }
24877 0 : ST(argvi) = sv_newmortal();
24878 :
24879 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24880 0 : XSRETURN(argvi);
24881 : fail:
24882 :
24883 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24884 0 : SWIG_croak_null();
24885 : }
24886 : }
24887 :
24888 :
24889 0 : XS(_wrap_layerObj_tileitem_get) {
24890 : {
24891 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24892 0 : void *argp1 = 0 ;
24893 : int res1 = 0 ;
24894 : int argvi = 0;
24895 : char *result = 0 ;
24896 0 : dXSARGS;
24897 :
24898 0 : if ((items < 1) || (items > 1)) {
24899 0 : SWIG_croak("Usage: layerObj_tileitem_get(self);");
24900 : }
24901 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24902 0 : if (!SWIG_IsOK(res1)) {
24903 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
24904 : }
24905 0 : arg1 = (struct layerObj *)(argp1);
24906 0 : result = (char *) ((arg1)->tileitem);
24907 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24908 :
24909 0 : XSRETURN(argvi);
24910 : fail:
24911 :
24912 0 : SWIG_croak_null();
24913 : }
24914 : }
24915 :
24916 :
24917 0 : XS(_wrap_layerObj_tileindex_set) {
24918 : {
24919 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24920 : char *arg2 = (char *) 0 ;
24921 0 : void *argp1 = 0 ;
24922 : int res1 = 0 ;
24923 : int res2 ;
24924 0 : char *buf2 = 0 ;
24925 0 : int alloc2 = 0 ;
24926 : int argvi = 0;
24927 0 : dXSARGS;
24928 :
24929 0 : if ((items < 2) || (items > 2)) {
24930 0 : SWIG_croak("Usage: layerObj_tileindex_set(self,tileindex);");
24931 : }
24932 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24933 0 : if (!SWIG_IsOK(res1)) {
24934 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
24935 : }
24936 0 : arg1 = (struct layerObj *)(argp1);
24937 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24938 0 : if (!SWIG_IsOK(res2)) {
24939 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileindex_set" "', argument " "2"" of type '" "char *""'");
24940 : }
24941 0 : arg2 = (char *)(buf2);
24942 : {
24943 0 : if (arg1->tileindex) free((char*)arg1->tileindex);
24944 0 : if (arg2) {
24945 0 : arg1->tileindex = (char *) malloc(strlen(arg2)+1);
24946 : strcpy((char*)arg1->tileindex,arg2);
24947 : } else {
24948 0 : arg1->tileindex = 0;
24949 : }
24950 : }
24951 0 : ST(argvi) = sv_newmortal();
24952 :
24953 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24954 0 : XSRETURN(argvi);
24955 : fail:
24956 :
24957 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24958 0 : SWIG_croak_null();
24959 : }
24960 : }
24961 :
24962 :
24963 0 : XS(_wrap_layerObj_tileindex_get) {
24964 : {
24965 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24966 0 : void *argp1 = 0 ;
24967 : int res1 = 0 ;
24968 : int argvi = 0;
24969 : char *result = 0 ;
24970 0 : dXSARGS;
24971 :
24972 0 : if ((items < 1) || (items > 1)) {
24973 0 : SWIG_croak("Usage: layerObj_tileindex_get(self);");
24974 : }
24975 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24976 0 : if (!SWIG_IsOK(res1)) {
24977 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
24978 : }
24979 0 : arg1 = (struct layerObj *)(argp1);
24980 0 : result = (char *) ((arg1)->tileindex);
24981 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24982 :
24983 0 : XSRETURN(argvi);
24984 : fail:
24985 :
24986 0 : SWIG_croak_null();
24987 : }
24988 : }
24989 :
24990 :
24991 0 : XS(_wrap_layerObj_tilesrs_set) {
24992 : {
24993 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24994 : char *arg2 = (char *) 0 ;
24995 0 : void *argp1 = 0 ;
24996 : int res1 = 0 ;
24997 : int res2 ;
24998 0 : char *buf2 = 0 ;
24999 0 : int alloc2 = 0 ;
25000 : int argvi = 0;
25001 0 : dXSARGS;
25002 :
25003 0 : if ((items < 2) || (items > 2)) {
25004 0 : SWIG_croak("Usage: layerObj_tilesrs_set(self,tilesrs);");
25005 : }
25006 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25007 0 : if (!SWIG_IsOK(res1)) {
25008 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_set" "', argument " "1"" of type '" "struct layerObj *""'");
25009 : }
25010 0 : arg1 = (struct layerObj *)(argp1);
25011 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25012 0 : if (!SWIG_IsOK(res2)) {
25013 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tilesrs_set" "', argument " "2"" of type '" "char *""'");
25014 : }
25015 0 : arg2 = (char *)(buf2);
25016 : {
25017 0 : if (arg1->tilesrs) free((char*)arg1->tilesrs);
25018 0 : if (arg2) {
25019 0 : arg1->tilesrs = (char *) malloc(strlen(arg2)+1);
25020 : strcpy((char*)arg1->tilesrs,arg2);
25021 : } else {
25022 0 : arg1->tilesrs = 0;
25023 : }
25024 : }
25025 0 : ST(argvi) = sv_newmortal();
25026 :
25027 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25028 0 : XSRETURN(argvi);
25029 : fail:
25030 :
25031 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25032 0 : SWIG_croak_null();
25033 : }
25034 : }
25035 :
25036 :
25037 0 : XS(_wrap_layerObj_tilesrs_get) {
25038 : {
25039 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25040 0 : void *argp1 = 0 ;
25041 : int res1 = 0 ;
25042 : int argvi = 0;
25043 : char *result = 0 ;
25044 0 : dXSARGS;
25045 :
25046 0 : if ((items < 1) || (items > 1)) {
25047 0 : SWIG_croak("Usage: layerObj_tilesrs_get(self);");
25048 : }
25049 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25050 0 : if (!SWIG_IsOK(res1)) {
25051 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_get" "', argument " "1"" of type '" "struct layerObj *""'");
25052 : }
25053 0 : arg1 = (struct layerObj *)(argp1);
25054 0 : result = (char *) ((arg1)->tilesrs);
25055 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25056 :
25057 0 : XSRETURN(argvi);
25058 : fail:
25059 :
25060 0 : SWIG_croak_null();
25061 : }
25062 : }
25063 :
25064 :
25065 0 : XS(_wrap_layerObj_units_set) {
25066 : {
25067 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25068 : int arg2 ;
25069 0 : void *argp1 = 0 ;
25070 : int res1 = 0 ;
25071 : int val2 ;
25072 : int ecode2 = 0 ;
25073 : int argvi = 0;
25074 0 : dXSARGS;
25075 :
25076 0 : if ((items < 2) || (items > 2)) {
25077 0 : SWIG_croak("Usage: layerObj_units_set(self,units);");
25078 : }
25079 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25080 0 : if (!SWIG_IsOK(res1)) {
25081 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_set" "', argument " "1"" of type '" "struct layerObj *""'");
25082 : }
25083 0 : arg1 = (struct layerObj *)(argp1);
25084 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25085 0 : if (!SWIG_IsOK(ecode2)) {
25086 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_units_set" "', argument " "2"" of type '" "int""'");
25087 : }
25088 0 : arg2 = (int)(val2);
25089 0 : if (arg1) (arg1)->units = arg2;
25090 0 : ST(argvi) = sv_newmortal();
25091 :
25092 :
25093 0 : XSRETURN(argvi);
25094 : fail:
25095 :
25096 :
25097 0 : SWIG_croak_null();
25098 : }
25099 : }
25100 :
25101 :
25102 0 : XS(_wrap_layerObj_units_get) {
25103 : {
25104 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25105 0 : void *argp1 = 0 ;
25106 : int res1 = 0 ;
25107 : int argvi = 0;
25108 : int result;
25109 0 : dXSARGS;
25110 :
25111 0 : if ((items < 1) || (items > 1)) {
25112 0 : SWIG_croak("Usage: layerObj_units_get(self);");
25113 : }
25114 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25115 0 : if (!SWIG_IsOK(res1)) {
25116 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_get" "', argument " "1"" of type '" "struct layerObj *""'");
25117 : }
25118 0 : arg1 = (struct layerObj *)(argp1);
25119 0 : result = (int) ((arg1)->units);
25120 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25121 :
25122 0 : XSRETURN(argvi);
25123 : fail:
25124 :
25125 0 : SWIG_croak_null();
25126 : }
25127 : }
25128 :
25129 :
25130 0 : XS(_wrap_layerObj_connection_set) {
25131 : {
25132 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25133 : char *arg2 = (char *) 0 ;
25134 0 : void *argp1 = 0 ;
25135 : int res1 = 0 ;
25136 : int res2 ;
25137 0 : char *buf2 = 0 ;
25138 0 : int alloc2 = 0 ;
25139 : int argvi = 0;
25140 0 : dXSARGS;
25141 :
25142 0 : if ((items < 2) || (items > 2)) {
25143 0 : SWIG_croak("Usage: layerObj_connection_set(self,connection);");
25144 : }
25145 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25146 0 : if (!SWIG_IsOK(res1)) {
25147 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_set" "', argument " "1"" of type '" "struct layerObj *""'");
25148 : }
25149 0 : arg1 = (struct layerObj *)(argp1);
25150 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25151 0 : if (!SWIG_IsOK(res2)) {
25152 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connection_set" "', argument " "2"" of type '" "char *""'");
25153 : }
25154 0 : arg2 = (char *)(buf2);
25155 : {
25156 0 : if (arg1->connection) free((char*)arg1->connection);
25157 0 : if (arg2) {
25158 0 : arg1->connection = (char *) malloc(strlen(arg2)+1);
25159 : strcpy((char*)arg1->connection,arg2);
25160 : } else {
25161 0 : arg1->connection = 0;
25162 : }
25163 : }
25164 0 : ST(argvi) = sv_newmortal();
25165 :
25166 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25167 0 : XSRETURN(argvi);
25168 : fail:
25169 :
25170 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25171 0 : SWIG_croak_null();
25172 : }
25173 : }
25174 :
25175 :
25176 0 : XS(_wrap_layerObj_connection_get) {
25177 : {
25178 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25179 0 : void *argp1 = 0 ;
25180 : int res1 = 0 ;
25181 : int argvi = 0;
25182 : char *result = 0 ;
25183 0 : dXSARGS;
25184 :
25185 0 : if ((items < 1) || (items > 1)) {
25186 0 : SWIG_croak("Usage: layerObj_connection_get(self);");
25187 : }
25188 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25189 0 : if (!SWIG_IsOK(res1)) {
25190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_get" "', argument " "1"" of type '" "struct layerObj *""'");
25191 : }
25192 0 : arg1 = (struct layerObj *)(argp1);
25193 0 : result = (char *) ((arg1)->connection);
25194 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25195 :
25196 0 : XSRETURN(argvi);
25197 : fail:
25198 :
25199 0 : SWIG_croak_null();
25200 : }
25201 : }
25202 :
25203 :
25204 0 : XS(_wrap_layerObj_plugin_library_set) {
25205 : {
25206 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25207 : char *arg2 = (char *) 0 ;
25208 0 : void *argp1 = 0 ;
25209 : int res1 = 0 ;
25210 : int res2 ;
25211 0 : char *buf2 = 0 ;
25212 0 : int alloc2 = 0 ;
25213 : int argvi = 0;
25214 0 : dXSARGS;
25215 :
25216 0 : if ((items < 2) || (items > 2)) {
25217 0 : SWIG_croak("Usage: layerObj_plugin_library_set(self,plugin_library);");
25218 : }
25219 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25220 0 : if (!SWIG_IsOK(res1)) {
25221 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_set" "', argument " "1"" of type '" "struct layerObj *""'");
25222 : }
25223 0 : arg1 = (struct layerObj *)(argp1);
25224 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25225 0 : if (!SWIG_IsOK(res2)) {
25226 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_set" "', argument " "2"" of type '" "char *""'");
25227 : }
25228 0 : arg2 = (char *)(buf2);
25229 : {
25230 0 : if (arg1->plugin_library) free((char*)arg1->plugin_library);
25231 0 : if (arg2) {
25232 0 : arg1->plugin_library = (char *) malloc(strlen(arg2)+1);
25233 : strcpy((char*)arg1->plugin_library,arg2);
25234 : } else {
25235 0 : arg1->plugin_library = 0;
25236 : }
25237 : }
25238 0 : ST(argvi) = sv_newmortal();
25239 :
25240 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25241 0 : XSRETURN(argvi);
25242 : fail:
25243 :
25244 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25245 0 : SWIG_croak_null();
25246 : }
25247 : }
25248 :
25249 :
25250 0 : XS(_wrap_layerObj_plugin_library_get) {
25251 : {
25252 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25253 0 : void *argp1 = 0 ;
25254 : int res1 = 0 ;
25255 : int argvi = 0;
25256 : char *result = 0 ;
25257 0 : dXSARGS;
25258 :
25259 0 : if ((items < 1) || (items > 1)) {
25260 0 : SWIG_croak("Usage: layerObj_plugin_library_get(self);");
25261 : }
25262 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25263 0 : if (!SWIG_IsOK(res1)) {
25264 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_get" "', argument " "1"" of type '" "struct layerObj *""'");
25265 : }
25266 0 : arg1 = (struct layerObj *)(argp1);
25267 0 : result = (char *) ((arg1)->plugin_library);
25268 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25269 :
25270 0 : XSRETURN(argvi);
25271 : fail:
25272 :
25273 0 : SWIG_croak_null();
25274 : }
25275 : }
25276 :
25277 :
25278 0 : XS(_wrap_layerObj_plugin_library_original_set) {
25279 : {
25280 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25281 : char *arg2 = (char *) 0 ;
25282 0 : void *argp1 = 0 ;
25283 : int res1 = 0 ;
25284 : int res2 ;
25285 0 : char *buf2 = 0 ;
25286 0 : int alloc2 = 0 ;
25287 : int argvi = 0;
25288 0 : dXSARGS;
25289 :
25290 0 : if ((items < 2) || (items > 2)) {
25291 0 : SWIG_croak("Usage: layerObj_plugin_library_original_set(self,plugin_library_original);");
25292 : }
25293 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25294 0 : if (!SWIG_IsOK(res1)) {
25295 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_set" "', argument " "1"" of type '" "struct layerObj *""'");
25296 : }
25297 0 : arg1 = (struct layerObj *)(argp1);
25298 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25299 0 : if (!SWIG_IsOK(res2)) {
25300 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_original_set" "', argument " "2"" of type '" "char *""'");
25301 : }
25302 0 : arg2 = (char *)(buf2);
25303 : {
25304 0 : if (arg1->plugin_library_original) free((char*)arg1->plugin_library_original);
25305 0 : if (arg2) {
25306 0 : arg1->plugin_library_original = (char *) malloc(strlen(arg2)+1);
25307 : strcpy((char*)arg1->plugin_library_original,arg2);
25308 : } else {
25309 0 : arg1->plugin_library_original = 0;
25310 : }
25311 : }
25312 0 : ST(argvi) = sv_newmortal();
25313 :
25314 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25315 0 : XSRETURN(argvi);
25316 : fail:
25317 :
25318 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25319 0 : SWIG_croak_null();
25320 : }
25321 : }
25322 :
25323 :
25324 0 : XS(_wrap_layerObj_plugin_library_original_get) {
25325 : {
25326 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25327 0 : void *argp1 = 0 ;
25328 : int res1 = 0 ;
25329 : int argvi = 0;
25330 : char *result = 0 ;
25331 0 : dXSARGS;
25332 :
25333 0 : if ((items < 1) || (items > 1)) {
25334 0 : SWIG_croak("Usage: layerObj_plugin_library_original_get(self);");
25335 : }
25336 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25337 0 : if (!SWIG_IsOK(res1)) {
25338 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_get" "', argument " "1"" of type '" "struct layerObj *""'");
25339 : }
25340 0 : arg1 = (struct layerObj *)(argp1);
25341 0 : result = (char *) ((arg1)->plugin_library_original);
25342 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25343 :
25344 0 : XSRETURN(argvi);
25345 : fail:
25346 :
25347 0 : SWIG_croak_null();
25348 : }
25349 : }
25350 :
25351 :
25352 0 : XS(_wrap_layerObj_connectiontype_set) {
25353 : {
25354 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25355 : enum MS_CONNECTION_TYPE arg2 ;
25356 0 : void *argp1 = 0 ;
25357 : int res1 = 0 ;
25358 : int val2 ;
25359 : int ecode2 = 0 ;
25360 : int argvi = 0;
25361 0 : dXSARGS;
25362 :
25363 0 : if ((items < 2) || (items > 2)) {
25364 0 : SWIG_croak("Usage: layerObj_connectiontype_set(self,connectiontype);");
25365 : }
25366 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25367 0 : if (!SWIG_IsOK(res1)) {
25368 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_set" "', argument " "1"" of type '" "struct layerObj *""'");
25369 : }
25370 0 : arg1 = (struct layerObj *)(argp1);
25371 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25372 0 : if (!SWIG_IsOK(ecode2)) {
25373 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_connectiontype_set" "', argument " "2"" of type '" "enum MS_CONNECTION_TYPE""'");
25374 : }
25375 0 : arg2 = (enum MS_CONNECTION_TYPE)(val2);
25376 0 : if (arg1) (arg1)->connectiontype = arg2;
25377 0 : ST(argvi) = sv_newmortal();
25378 :
25379 :
25380 0 : XSRETURN(argvi);
25381 : fail:
25382 :
25383 :
25384 0 : SWIG_croak_null();
25385 : }
25386 : }
25387 :
25388 :
25389 0 : XS(_wrap_layerObj_connectiontype_get) {
25390 : {
25391 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25392 0 : void *argp1 = 0 ;
25393 : int res1 = 0 ;
25394 : int argvi = 0;
25395 : enum MS_CONNECTION_TYPE result;
25396 0 : dXSARGS;
25397 :
25398 0 : if ((items < 1) || (items > 1)) {
25399 0 : SWIG_croak("Usage: layerObj_connectiontype_get(self);");
25400 : }
25401 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25402 0 : if (!SWIG_IsOK(res1)) {
25403 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_get" "', argument " "1"" of type '" "struct layerObj *""'");
25404 : }
25405 0 : arg1 = (struct layerObj *)(argp1);
25406 0 : result = (enum MS_CONNECTION_TYPE) ((arg1)->connectiontype);
25407 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25408 :
25409 0 : XSRETURN(argvi);
25410 : fail:
25411 :
25412 0 : SWIG_croak_null();
25413 : }
25414 : }
25415 :
25416 :
25417 0 : XS(_wrap_layerObj_numitems_get) {
25418 : {
25419 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25420 0 : void *argp1 = 0 ;
25421 : int res1 = 0 ;
25422 : int argvi = 0;
25423 : int result;
25424 0 : dXSARGS;
25425 :
25426 0 : if ((items < 1) || (items > 1)) {
25427 0 : SWIG_croak("Usage: layerObj_numitems_get(self);");
25428 : }
25429 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25430 0 : if (!SWIG_IsOK(res1)) {
25431 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numitems_get" "', argument " "1"" of type '" "struct layerObj *""'");
25432 : }
25433 0 : arg1 = (struct layerObj *)(argp1);
25434 0 : result = (int) ((arg1)->numitems);
25435 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25436 :
25437 0 : XSRETURN(argvi);
25438 : fail:
25439 :
25440 0 : SWIG_croak_null();
25441 : }
25442 : }
25443 :
25444 :
25445 0 : XS(_wrap_layerObj_bandsitem_set) {
25446 : {
25447 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25448 : char *arg2 = (char *) 0 ;
25449 0 : void *argp1 = 0 ;
25450 : int res1 = 0 ;
25451 : int res2 ;
25452 0 : char *buf2 = 0 ;
25453 0 : int alloc2 = 0 ;
25454 : int argvi = 0;
25455 0 : dXSARGS;
25456 :
25457 0 : if ((items < 2) || (items > 2)) {
25458 0 : SWIG_croak("Usage: layerObj_bandsitem_set(self,bandsitem);");
25459 : }
25460 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25461 0 : if (!SWIG_IsOK(res1)) {
25462 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25463 : }
25464 0 : arg1 = (struct layerObj *)(argp1);
25465 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25466 0 : if (!SWIG_IsOK(res2)) {
25467 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_bandsitem_set" "', argument " "2"" of type '" "char *""'");
25468 : }
25469 0 : arg2 = (char *)(buf2);
25470 : {
25471 0 : if (arg1->bandsitem) free((char*)arg1->bandsitem);
25472 0 : if (arg2) {
25473 0 : arg1->bandsitem = (char *) malloc(strlen(arg2)+1);
25474 : strcpy((char*)arg1->bandsitem,arg2);
25475 : } else {
25476 0 : arg1->bandsitem = 0;
25477 : }
25478 : }
25479 0 : ST(argvi) = sv_newmortal();
25480 :
25481 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25482 0 : XSRETURN(argvi);
25483 : fail:
25484 :
25485 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25486 0 : SWIG_croak_null();
25487 : }
25488 : }
25489 :
25490 :
25491 0 : XS(_wrap_layerObj_bandsitem_get) {
25492 : {
25493 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25494 0 : void *argp1 = 0 ;
25495 : int res1 = 0 ;
25496 : int argvi = 0;
25497 : char *result = 0 ;
25498 0 : dXSARGS;
25499 :
25500 0 : if ((items < 1) || (items > 1)) {
25501 0 : SWIG_croak("Usage: layerObj_bandsitem_get(self);");
25502 : }
25503 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25504 0 : if (!SWIG_IsOK(res1)) {
25505 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25506 : }
25507 0 : arg1 = (struct layerObj *)(argp1);
25508 0 : result = (char *) ((arg1)->bandsitem);
25509 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25510 :
25511 0 : XSRETURN(argvi);
25512 : fail:
25513 :
25514 0 : SWIG_croak_null();
25515 : }
25516 : }
25517 :
25518 :
25519 0 : XS(_wrap_layerObj_filteritem_set) {
25520 : {
25521 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25522 : char *arg2 = (char *) 0 ;
25523 0 : void *argp1 = 0 ;
25524 : int res1 = 0 ;
25525 : int res2 ;
25526 0 : char *buf2 = 0 ;
25527 0 : int alloc2 = 0 ;
25528 : int argvi = 0;
25529 0 : dXSARGS;
25530 :
25531 0 : if ((items < 2) || (items > 2)) {
25532 0 : SWIG_croak("Usage: layerObj_filteritem_set(self,filteritem);");
25533 : }
25534 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25535 0 : if (!SWIG_IsOK(res1)) {
25536 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25537 : }
25538 0 : arg1 = (struct layerObj *)(argp1);
25539 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25540 0 : if (!SWIG_IsOK(res2)) {
25541 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_filteritem_set" "', argument " "2"" of type '" "char *""'");
25542 : }
25543 0 : arg2 = (char *)(buf2);
25544 : {
25545 0 : if (arg1->filteritem) free((char*)arg1->filteritem);
25546 0 : if (arg2) {
25547 0 : arg1->filteritem = (char *) malloc(strlen(arg2)+1);
25548 : strcpy((char*)arg1->filteritem,arg2);
25549 : } else {
25550 0 : arg1->filteritem = 0;
25551 : }
25552 : }
25553 0 : ST(argvi) = sv_newmortal();
25554 :
25555 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25556 0 : XSRETURN(argvi);
25557 : fail:
25558 :
25559 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25560 0 : SWIG_croak_null();
25561 : }
25562 : }
25563 :
25564 :
25565 0 : XS(_wrap_layerObj_filteritem_get) {
25566 : {
25567 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25568 0 : void *argp1 = 0 ;
25569 : int res1 = 0 ;
25570 : int argvi = 0;
25571 : char *result = 0 ;
25572 0 : dXSARGS;
25573 :
25574 0 : if ((items < 1) || (items > 1)) {
25575 0 : SWIG_croak("Usage: layerObj_filteritem_get(self);");
25576 : }
25577 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25578 0 : if (!SWIG_IsOK(res1)) {
25579 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25580 : }
25581 0 : arg1 = (struct layerObj *)(argp1);
25582 0 : result = (char *) ((arg1)->filteritem);
25583 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25584 :
25585 0 : XSRETURN(argvi);
25586 : fail:
25587 :
25588 0 : SWIG_croak_null();
25589 : }
25590 : }
25591 :
25592 :
25593 0 : XS(_wrap_layerObj_styleitem_set) {
25594 : {
25595 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25596 : char *arg2 = (char *) 0 ;
25597 0 : void *argp1 = 0 ;
25598 : int res1 = 0 ;
25599 : int res2 ;
25600 0 : char *buf2 = 0 ;
25601 0 : int alloc2 = 0 ;
25602 : int argvi = 0;
25603 0 : dXSARGS;
25604 :
25605 0 : if ((items < 2) || (items > 2)) {
25606 0 : SWIG_croak("Usage: layerObj_styleitem_set(self,styleitem);");
25607 : }
25608 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25609 0 : if (!SWIG_IsOK(res1)) {
25610 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25611 : }
25612 0 : arg1 = (struct layerObj *)(argp1);
25613 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25614 0 : if (!SWIG_IsOK(res2)) {
25615 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_styleitem_set" "', argument " "2"" of type '" "char *""'");
25616 : }
25617 0 : arg2 = (char *)(buf2);
25618 : {
25619 0 : if (arg1->styleitem) free((char*)arg1->styleitem);
25620 0 : if (arg2) {
25621 0 : arg1->styleitem = (char *) malloc(strlen(arg2)+1);
25622 : strcpy((char*)arg1->styleitem,arg2);
25623 : } else {
25624 0 : arg1->styleitem = 0;
25625 : }
25626 : }
25627 0 : ST(argvi) = sv_newmortal();
25628 :
25629 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25630 0 : XSRETURN(argvi);
25631 : fail:
25632 :
25633 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25634 0 : SWIG_croak_null();
25635 : }
25636 : }
25637 :
25638 :
25639 0 : XS(_wrap_layerObj_styleitem_get) {
25640 : {
25641 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25642 0 : void *argp1 = 0 ;
25643 : int res1 = 0 ;
25644 : int argvi = 0;
25645 : char *result = 0 ;
25646 0 : dXSARGS;
25647 :
25648 0 : if ((items < 1) || (items > 1)) {
25649 0 : SWIG_croak("Usage: layerObj_styleitem_get(self);");
25650 : }
25651 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25652 0 : if (!SWIG_IsOK(res1)) {
25653 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25654 : }
25655 0 : arg1 = (struct layerObj *)(argp1);
25656 0 : result = (char *) ((arg1)->styleitem);
25657 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25658 :
25659 0 : XSRETURN(argvi);
25660 : fail:
25661 :
25662 0 : SWIG_croak_null();
25663 : }
25664 : }
25665 :
25666 :
25667 0 : XS(_wrap_layerObj_requires_set) {
25668 : {
25669 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25670 : char *arg2 = (char *) 0 ;
25671 0 : void *argp1 = 0 ;
25672 : int res1 = 0 ;
25673 : int res2 ;
25674 0 : char *buf2 = 0 ;
25675 0 : int alloc2 = 0 ;
25676 : int argvi = 0;
25677 0 : dXSARGS;
25678 :
25679 0 : if ((items < 2) || (items > 2)) {
25680 0 : SWIG_croak("Usage: layerObj_requires_set(self,requires);");
25681 : }
25682 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25683 0 : if (!SWIG_IsOK(res1)) {
25684 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_set" "', argument " "1"" of type '" "struct layerObj *""'");
25685 : }
25686 0 : arg1 = (struct layerObj *)(argp1);
25687 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25688 0 : if (!SWIG_IsOK(res2)) {
25689 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_requires_set" "', argument " "2"" of type '" "char *""'");
25690 : }
25691 0 : arg2 = (char *)(buf2);
25692 : {
25693 0 : if (arg1->requires) free((char*)arg1->requires);
25694 0 : if (arg2) {
25695 0 : arg1->requires = (char *) malloc(strlen(arg2)+1);
25696 : strcpy((char*)arg1->requires,arg2);
25697 : } else {
25698 0 : arg1->requires = 0;
25699 : }
25700 : }
25701 0 : ST(argvi) = sv_newmortal();
25702 :
25703 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25704 0 : XSRETURN(argvi);
25705 : fail:
25706 :
25707 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25708 0 : SWIG_croak_null();
25709 : }
25710 : }
25711 :
25712 :
25713 0 : XS(_wrap_layerObj_requires_get) {
25714 : {
25715 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25716 0 : void *argp1 = 0 ;
25717 : int res1 = 0 ;
25718 : int argvi = 0;
25719 : char *result = 0 ;
25720 0 : dXSARGS;
25721 :
25722 0 : if ((items < 1) || (items > 1)) {
25723 0 : SWIG_croak("Usage: layerObj_requires_get(self);");
25724 : }
25725 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25726 0 : if (!SWIG_IsOK(res1)) {
25727 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_get" "', argument " "1"" of type '" "struct layerObj *""'");
25728 : }
25729 0 : arg1 = (struct layerObj *)(argp1);
25730 0 : result = (char *) ((arg1)->requires);
25731 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25732 :
25733 0 : XSRETURN(argvi);
25734 : fail:
25735 :
25736 0 : SWIG_croak_null();
25737 : }
25738 : }
25739 :
25740 :
25741 0 : XS(_wrap_layerObj_labelrequires_set) {
25742 : {
25743 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25744 : char *arg2 = (char *) 0 ;
25745 0 : void *argp1 = 0 ;
25746 : int res1 = 0 ;
25747 : int res2 ;
25748 0 : char *buf2 = 0 ;
25749 0 : int alloc2 = 0 ;
25750 : int argvi = 0;
25751 0 : dXSARGS;
25752 :
25753 0 : if ((items < 2) || (items > 2)) {
25754 0 : SWIG_croak("Usage: layerObj_labelrequires_set(self,labelrequires);");
25755 : }
25756 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25757 0 : if (!SWIG_IsOK(res1)) {
25758 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_set" "', argument " "1"" of type '" "struct layerObj *""'");
25759 : }
25760 0 : arg1 = (struct layerObj *)(argp1);
25761 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25762 0 : if (!SWIG_IsOK(res2)) {
25763 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelrequires_set" "', argument " "2"" of type '" "char *""'");
25764 : }
25765 0 : arg2 = (char *)(buf2);
25766 : {
25767 0 : if (arg1->labelrequires) free((char*)arg1->labelrequires);
25768 0 : if (arg2) {
25769 0 : arg1->labelrequires = (char *) malloc(strlen(arg2)+1);
25770 : strcpy((char*)arg1->labelrequires,arg2);
25771 : } else {
25772 0 : arg1->labelrequires = 0;
25773 : }
25774 : }
25775 0 : ST(argvi) = sv_newmortal();
25776 :
25777 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25778 0 : XSRETURN(argvi);
25779 : fail:
25780 :
25781 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25782 0 : SWIG_croak_null();
25783 : }
25784 : }
25785 :
25786 :
25787 0 : XS(_wrap_layerObj_labelrequires_get) {
25788 : {
25789 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25790 0 : void *argp1 = 0 ;
25791 : int res1 = 0 ;
25792 : int argvi = 0;
25793 : char *result = 0 ;
25794 0 : dXSARGS;
25795 :
25796 0 : if ((items < 1) || (items > 1)) {
25797 0 : SWIG_croak("Usage: layerObj_labelrequires_get(self);");
25798 : }
25799 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25800 0 : if (!SWIG_IsOK(res1)) {
25801 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_get" "', argument " "1"" of type '" "struct layerObj *""'");
25802 : }
25803 0 : arg1 = (struct layerObj *)(argp1);
25804 0 : result = (char *) ((arg1)->labelrequires);
25805 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25806 :
25807 0 : XSRETURN(argvi);
25808 : fail:
25809 :
25810 0 : SWIG_croak_null();
25811 : }
25812 : }
25813 :
25814 :
25815 0 : XS(_wrap_layerObj_metadata_get) {
25816 : {
25817 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25818 0 : void *argp1 = 0 ;
25819 : int res1 = 0 ;
25820 : int argvi = 0;
25821 : hashTableObj *result = 0 ;
25822 0 : dXSARGS;
25823 :
25824 0 : if ((items < 1) || (items > 1)) {
25825 0 : SWIG_croak("Usage: layerObj_metadata_get(self);");
25826 : }
25827 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25828 0 : if (!SWIG_IsOK(res1)) {
25829 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_metadata_get" "', argument " "1"" of type '" "struct layerObj *""'");
25830 : }
25831 0 : arg1 = (struct layerObj *)(argp1);
25832 0 : result = (hashTableObj *)& ((arg1)->metadata);
25833 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25834 :
25835 0 : XSRETURN(argvi);
25836 : fail:
25837 :
25838 0 : SWIG_croak_null();
25839 : }
25840 : }
25841 :
25842 :
25843 0 : XS(_wrap_layerObj_validation_get) {
25844 : {
25845 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25846 0 : void *argp1 = 0 ;
25847 : int res1 = 0 ;
25848 : int argvi = 0;
25849 : hashTableObj *result = 0 ;
25850 0 : dXSARGS;
25851 :
25852 0 : if ((items < 1) || (items > 1)) {
25853 0 : SWIG_croak("Usage: layerObj_validation_get(self);");
25854 : }
25855 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25856 0 : if (!SWIG_IsOK(res1)) {
25857 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_validation_get" "', argument " "1"" of type '" "struct layerObj *""'");
25858 : }
25859 0 : arg1 = (struct layerObj *)(argp1);
25860 0 : result = (hashTableObj *)& ((arg1)->validation);
25861 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25862 :
25863 0 : XSRETURN(argvi);
25864 : fail:
25865 :
25866 0 : SWIG_croak_null();
25867 : }
25868 : }
25869 :
25870 :
25871 0 : XS(_wrap_layerObj_bindvals_get) {
25872 : {
25873 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25874 0 : void *argp1 = 0 ;
25875 : int res1 = 0 ;
25876 : int argvi = 0;
25877 : hashTableObj *result = 0 ;
25878 0 : dXSARGS;
25879 :
25880 0 : if ((items < 1) || (items > 1)) {
25881 0 : SWIG_croak("Usage: layerObj_bindvals_get(self);");
25882 : }
25883 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25884 0 : if (!SWIG_IsOK(res1)) {
25885 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bindvals_get" "', argument " "1"" of type '" "struct layerObj *""'");
25886 : }
25887 0 : arg1 = (struct layerObj *)(argp1);
25888 0 : result = (hashTableObj *)& ((arg1)->bindvals);
25889 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25890 :
25891 0 : XSRETURN(argvi);
25892 : fail:
25893 :
25894 0 : SWIG_croak_null();
25895 : }
25896 : }
25897 :
25898 :
25899 0 : XS(_wrap_layerObj_cluster_get) {
25900 : {
25901 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25902 0 : void *argp1 = 0 ;
25903 : int res1 = 0 ;
25904 : int argvi = 0;
25905 : clusterObj *result = 0 ;
25906 0 : dXSARGS;
25907 :
25908 0 : if ((items < 1) || (items > 1)) {
25909 0 : SWIG_croak("Usage: layerObj_cluster_get(self);");
25910 : }
25911 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25912 0 : if (!SWIG_IsOK(res1)) {
25913 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_cluster_get" "', argument " "1"" of type '" "struct layerObj *""'");
25914 : }
25915 0 : arg1 = (struct layerObj *)(argp1);
25916 0 : result = (clusterObj *)& ((arg1)->cluster);
25917 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, 0 | SWIG_SHADOW); argvi++ ;
25918 :
25919 0 : XSRETURN(argvi);
25920 : fail:
25921 :
25922 0 : SWIG_croak_null();
25923 : }
25924 : }
25925 :
25926 :
25927 0 : XS(_wrap_layerObj_dump_set) {
25928 : {
25929 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25930 : int arg2 ;
25931 0 : void *argp1 = 0 ;
25932 : int res1 = 0 ;
25933 : int val2 ;
25934 : int ecode2 = 0 ;
25935 : int argvi = 0;
25936 0 : dXSARGS;
25937 :
25938 0 : if ((items < 2) || (items > 2)) {
25939 0 : SWIG_croak("Usage: layerObj_dump_set(self,dump);");
25940 : }
25941 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25942 0 : if (!SWIG_IsOK(res1)) {
25943 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_set" "', argument " "1"" of type '" "struct layerObj *""'");
25944 : }
25945 0 : arg1 = (struct layerObj *)(argp1);
25946 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25947 0 : if (!SWIG_IsOK(ecode2)) {
25948 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_dump_set" "', argument " "2"" of type '" "int""'");
25949 : }
25950 0 : arg2 = (int)(val2);
25951 0 : if (arg1) (arg1)->dump = arg2;
25952 0 : ST(argvi) = sv_newmortal();
25953 :
25954 :
25955 0 : XSRETURN(argvi);
25956 : fail:
25957 :
25958 :
25959 0 : SWIG_croak_null();
25960 : }
25961 : }
25962 :
25963 :
25964 0 : XS(_wrap_layerObj_dump_get) {
25965 : {
25966 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25967 0 : void *argp1 = 0 ;
25968 : int res1 = 0 ;
25969 : int argvi = 0;
25970 : int result;
25971 0 : dXSARGS;
25972 :
25973 0 : if ((items < 1) || (items > 1)) {
25974 0 : SWIG_croak("Usage: layerObj_dump_get(self);");
25975 : }
25976 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25977 0 : if (!SWIG_IsOK(res1)) {
25978 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_get" "', argument " "1"" of type '" "struct layerObj *""'");
25979 : }
25980 0 : arg1 = (struct layerObj *)(argp1);
25981 0 : result = (int) ((arg1)->dump);
25982 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25983 :
25984 0 : XSRETURN(argvi);
25985 : fail:
25986 :
25987 0 : SWIG_croak_null();
25988 : }
25989 : }
25990 :
25991 :
25992 0 : XS(_wrap_layerObj_debug_set) {
25993 : {
25994 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25995 : int arg2 ;
25996 0 : void *argp1 = 0 ;
25997 : int res1 = 0 ;
25998 : int val2 ;
25999 : int ecode2 = 0 ;
26000 : int argvi = 0;
26001 0 : dXSARGS;
26002 :
26003 0 : if ((items < 2) || (items > 2)) {
26004 0 : SWIG_croak("Usage: layerObj_debug_set(self,debug);");
26005 : }
26006 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26007 0 : if (!SWIG_IsOK(res1)) {
26008 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_set" "', argument " "1"" of type '" "struct layerObj *""'");
26009 : }
26010 0 : arg1 = (struct layerObj *)(argp1);
26011 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26012 0 : if (!SWIG_IsOK(ecode2)) {
26013 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_debug_set" "', argument " "2"" of type '" "int""'");
26014 : }
26015 0 : arg2 = (int)(val2);
26016 0 : if (arg1) (arg1)->debug = arg2;
26017 0 : ST(argvi) = sv_newmortal();
26018 :
26019 :
26020 0 : XSRETURN(argvi);
26021 : fail:
26022 :
26023 :
26024 0 : SWIG_croak_null();
26025 : }
26026 : }
26027 :
26028 :
26029 0 : XS(_wrap_layerObj_debug_get) {
26030 : {
26031 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26032 0 : void *argp1 = 0 ;
26033 : int res1 = 0 ;
26034 : int argvi = 0;
26035 : int result;
26036 0 : dXSARGS;
26037 :
26038 0 : if ((items < 1) || (items > 1)) {
26039 0 : SWIG_croak("Usage: layerObj_debug_get(self);");
26040 : }
26041 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26042 0 : if (!SWIG_IsOK(res1)) {
26043 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_get" "', argument " "1"" of type '" "struct layerObj *""'");
26044 : }
26045 0 : arg1 = (struct layerObj *)(argp1);
26046 0 : result = (int) ((arg1)->debug);
26047 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26048 :
26049 0 : XSRETURN(argvi);
26050 : fail:
26051 :
26052 0 : SWIG_croak_null();
26053 : }
26054 : }
26055 :
26056 :
26057 0 : XS(_wrap_layerObj_extent_get) {
26058 : {
26059 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26060 0 : void *argp1 = 0 ;
26061 : int res1 = 0 ;
26062 : int argvi = 0;
26063 : rectObj *result = 0 ;
26064 0 : dXSARGS;
26065 :
26066 0 : if ((items < 1) || (items > 1)) {
26067 0 : SWIG_croak("Usage: layerObj_extent_get(self);");
26068 : }
26069 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26070 0 : if (!SWIG_IsOK(res1)) {
26071 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_extent_get" "', argument " "1"" of type '" "struct layerObj *""'");
26072 : }
26073 0 : arg1 = (struct layerObj *)(argp1);
26074 0 : result = (rectObj *)& ((arg1)->extent);
26075 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
26076 :
26077 0 : XSRETURN(argvi);
26078 : fail:
26079 :
26080 0 : SWIG_croak_null();
26081 : }
26082 : }
26083 :
26084 :
26085 0 : XS(_wrap_layerObj_numprocessing_get) {
26086 : {
26087 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26088 0 : void *argp1 = 0 ;
26089 : int res1 = 0 ;
26090 : int argvi = 0;
26091 : int result;
26092 0 : dXSARGS;
26093 :
26094 0 : if ((items < 1) || (items > 1)) {
26095 0 : SWIG_croak("Usage: layerObj_numprocessing_get(self);");
26096 : }
26097 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26098 0 : if (!SWIG_IsOK(res1)) {
26099 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numprocessing_get" "', argument " "1"" of type '" "struct layerObj *""'");
26100 : }
26101 0 : arg1 = (struct layerObj *)(argp1);
26102 0 : result = (int) ((arg1)->numprocessing);
26103 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26104 :
26105 0 : XSRETURN(argvi);
26106 : fail:
26107 :
26108 0 : SWIG_croak_null();
26109 : }
26110 : }
26111 :
26112 :
26113 0 : XS(_wrap_layerObj_numjoins_get) {
26114 : {
26115 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26116 0 : void *argp1 = 0 ;
26117 : int res1 = 0 ;
26118 : int argvi = 0;
26119 : int result;
26120 0 : dXSARGS;
26121 :
26122 0 : if ((items < 1) || (items > 1)) {
26123 0 : SWIG_croak("Usage: layerObj_numjoins_get(self);");
26124 : }
26125 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26126 0 : if (!SWIG_IsOK(res1)) {
26127 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numjoins_get" "', argument " "1"" of type '" "struct layerObj *""'");
26128 : }
26129 0 : arg1 = (struct layerObj *)(argp1);
26130 0 : result = (int) ((arg1)->numjoins);
26131 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26132 :
26133 0 : XSRETURN(argvi);
26134 : fail:
26135 :
26136 0 : SWIG_croak_null();
26137 : }
26138 : }
26139 :
26140 :
26141 0 : XS(_wrap_layerObj_classgroup_set) {
26142 : {
26143 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26144 : char *arg2 = (char *) 0 ;
26145 0 : void *argp1 = 0 ;
26146 : int res1 = 0 ;
26147 : int res2 ;
26148 0 : char *buf2 = 0 ;
26149 0 : int alloc2 = 0 ;
26150 : int argvi = 0;
26151 0 : dXSARGS;
26152 :
26153 0 : if ((items < 2) || (items > 2)) {
26154 0 : SWIG_croak("Usage: layerObj_classgroup_set(self,classgroup);");
26155 : }
26156 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26157 0 : if (!SWIG_IsOK(res1)) {
26158 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_set" "', argument " "1"" of type '" "struct layerObj *""'");
26159 : }
26160 0 : arg1 = (struct layerObj *)(argp1);
26161 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26162 0 : if (!SWIG_IsOK(res2)) {
26163 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classgroup_set" "', argument " "2"" of type '" "char *""'");
26164 : }
26165 0 : arg2 = (char *)(buf2);
26166 : {
26167 0 : if (arg1->classgroup) free((char*)arg1->classgroup);
26168 0 : if (arg2) {
26169 0 : arg1->classgroup = (char *) malloc(strlen(arg2)+1);
26170 : strcpy((char*)arg1->classgroup,arg2);
26171 : } else {
26172 0 : arg1->classgroup = 0;
26173 : }
26174 : }
26175 0 : ST(argvi) = sv_newmortal();
26176 :
26177 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26178 0 : XSRETURN(argvi);
26179 : fail:
26180 :
26181 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26182 0 : SWIG_croak_null();
26183 : }
26184 : }
26185 :
26186 :
26187 0 : XS(_wrap_layerObj_classgroup_get) {
26188 : {
26189 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26190 0 : void *argp1 = 0 ;
26191 : int res1 = 0 ;
26192 : int argvi = 0;
26193 : char *result = 0 ;
26194 0 : dXSARGS;
26195 :
26196 0 : if ((items < 1) || (items > 1)) {
26197 0 : SWIG_croak("Usage: layerObj_classgroup_get(self);");
26198 : }
26199 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26200 0 : if (!SWIG_IsOK(res1)) {
26201 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_get" "', argument " "1"" of type '" "struct layerObj *""'");
26202 : }
26203 0 : arg1 = (struct layerObj *)(argp1);
26204 0 : result = (char *) ((arg1)->classgroup);
26205 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26206 :
26207 0 : XSRETURN(argvi);
26208 : fail:
26209 :
26210 0 : SWIG_croak_null();
26211 : }
26212 : }
26213 :
26214 :
26215 0 : XS(_wrap_layerObj_mask_set) {
26216 : {
26217 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26218 : char *arg2 = (char *) 0 ;
26219 0 : void *argp1 = 0 ;
26220 : int res1 = 0 ;
26221 : int res2 ;
26222 0 : char *buf2 = 0 ;
26223 0 : int alloc2 = 0 ;
26224 : int argvi = 0;
26225 0 : dXSARGS;
26226 :
26227 0 : if ((items < 2) || (items > 2)) {
26228 0 : SWIG_croak("Usage: layerObj_mask_set(self,mask);");
26229 : }
26230 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26231 0 : if (!SWIG_IsOK(res1)) {
26232 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_set" "', argument " "1"" of type '" "struct layerObj *""'");
26233 : }
26234 0 : arg1 = (struct layerObj *)(argp1);
26235 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26236 0 : if (!SWIG_IsOK(res2)) {
26237 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_mask_set" "', argument " "2"" of type '" "char *""'");
26238 : }
26239 0 : arg2 = (char *)(buf2);
26240 : {
26241 0 : if (arg1->mask) free((char*)arg1->mask);
26242 0 : if (arg2) {
26243 0 : arg1->mask = (char *) malloc(strlen(arg2)+1);
26244 : strcpy((char*)arg1->mask,arg2);
26245 : } else {
26246 0 : arg1->mask = 0;
26247 : }
26248 : }
26249 0 : ST(argvi) = sv_newmortal();
26250 :
26251 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26252 0 : XSRETURN(argvi);
26253 : fail:
26254 :
26255 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26256 0 : SWIG_croak_null();
26257 : }
26258 : }
26259 :
26260 :
26261 0 : XS(_wrap_layerObj_mask_get) {
26262 : {
26263 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26264 0 : void *argp1 = 0 ;
26265 : int res1 = 0 ;
26266 : int argvi = 0;
26267 : char *result = 0 ;
26268 0 : dXSARGS;
26269 :
26270 0 : if ((items < 1) || (items > 1)) {
26271 0 : SWIG_croak("Usage: layerObj_mask_get(self);");
26272 : }
26273 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26274 0 : if (!SWIG_IsOK(res1)) {
26275 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_get" "', argument " "1"" of type '" "struct layerObj *""'");
26276 : }
26277 0 : arg1 = (struct layerObj *)(argp1);
26278 0 : result = (char *) ((arg1)->mask);
26279 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26280 :
26281 0 : XSRETURN(argvi);
26282 : fail:
26283 :
26284 0 : SWIG_croak_null();
26285 : }
26286 : }
26287 :
26288 :
26289 0 : XS(_wrap_layerObj_encoding_set) {
26290 : {
26291 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26292 : char *arg2 = (char *) 0 ;
26293 0 : void *argp1 = 0 ;
26294 : int res1 = 0 ;
26295 : int res2 ;
26296 0 : char *buf2 = 0 ;
26297 0 : int alloc2 = 0 ;
26298 : int argvi = 0;
26299 0 : dXSARGS;
26300 :
26301 0 : if ((items < 2) || (items > 2)) {
26302 0 : SWIG_croak("Usage: layerObj_encoding_set(self,encoding);");
26303 : }
26304 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26305 0 : if (!SWIG_IsOK(res1)) {
26306 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_set" "', argument " "1"" of type '" "struct layerObj *""'");
26307 : }
26308 0 : arg1 = (struct layerObj *)(argp1);
26309 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26310 0 : if (!SWIG_IsOK(res2)) {
26311 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_encoding_set" "', argument " "2"" of type '" "char *""'");
26312 : }
26313 0 : arg2 = (char *)(buf2);
26314 : {
26315 0 : if (arg1->encoding) free((char*)arg1->encoding);
26316 0 : if (arg2) {
26317 0 : arg1->encoding = (char *) malloc(strlen(arg2)+1);
26318 : strcpy((char*)arg1->encoding,arg2);
26319 : } else {
26320 0 : arg1->encoding = 0;
26321 : }
26322 : }
26323 0 : ST(argvi) = sv_newmortal();
26324 :
26325 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26326 0 : XSRETURN(argvi);
26327 : fail:
26328 :
26329 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26330 0 : SWIG_croak_null();
26331 : }
26332 : }
26333 :
26334 :
26335 0 : XS(_wrap_layerObj_encoding_get) {
26336 : {
26337 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26338 0 : void *argp1 = 0 ;
26339 : int res1 = 0 ;
26340 : int argvi = 0;
26341 : char *result = 0 ;
26342 0 : dXSARGS;
26343 :
26344 0 : if ((items < 1) || (items > 1)) {
26345 0 : SWIG_croak("Usage: layerObj_encoding_get(self);");
26346 : }
26347 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26348 0 : if (!SWIG_IsOK(res1)) {
26349 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_get" "', argument " "1"" of type '" "struct layerObj *""'");
26350 : }
26351 0 : arg1 = (struct layerObj *)(argp1);
26352 0 : result = (char *) ((arg1)->encoding);
26353 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26354 :
26355 0 : XSRETURN(argvi);
26356 : fail:
26357 :
26358 0 : SWIG_croak_null();
26359 : }
26360 : }
26361 :
26362 :
26363 0 : XS(_wrap_layerObj_utfitem_set) {
26364 : {
26365 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26366 : char *arg2 = (char *) 0 ;
26367 0 : void *argp1 = 0 ;
26368 : int res1 = 0 ;
26369 : int res2 ;
26370 0 : char *buf2 = 0 ;
26371 0 : int alloc2 = 0 ;
26372 : int argvi = 0;
26373 0 : dXSARGS;
26374 :
26375 0 : if ((items < 2) || (items > 2)) {
26376 0 : SWIG_croak("Usage: layerObj_utfitem_set(self,utfitem);");
26377 : }
26378 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26379 0 : if (!SWIG_IsOK(res1)) {
26380 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
26381 : }
26382 0 : arg1 = (struct layerObj *)(argp1);
26383 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26384 0 : if (!SWIG_IsOK(res2)) {
26385 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfitem_set" "', argument " "2"" of type '" "char *""'");
26386 : }
26387 0 : arg2 = (char *)(buf2);
26388 : {
26389 0 : if (arg1->utfitem) free((char*)arg1->utfitem);
26390 0 : if (arg2) {
26391 0 : arg1->utfitem = (char *) malloc(strlen(arg2)+1);
26392 : strcpy((char*)arg1->utfitem,arg2);
26393 : } else {
26394 0 : arg1->utfitem = 0;
26395 : }
26396 : }
26397 0 : ST(argvi) = sv_newmortal();
26398 :
26399 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26400 0 : XSRETURN(argvi);
26401 : fail:
26402 :
26403 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26404 0 : SWIG_croak_null();
26405 : }
26406 : }
26407 :
26408 :
26409 0 : XS(_wrap_layerObj_utfitem_get) {
26410 : {
26411 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26412 0 : void *argp1 = 0 ;
26413 : int res1 = 0 ;
26414 : int argvi = 0;
26415 : char *result = 0 ;
26416 0 : dXSARGS;
26417 :
26418 0 : if ((items < 1) || (items > 1)) {
26419 0 : SWIG_croak("Usage: layerObj_utfitem_get(self);");
26420 : }
26421 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26422 0 : if (!SWIG_IsOK(res1)) {
26423 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
26424 : }
26425 0 : arg1 = (struct layerObj *)(argp1);
26426 0 : result = (char *) ((arg1)->utfitem);
26427 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26428 :
26429 0 : XSRETURN(argvi);
26430 : fail:
26431 :
26432 0 : SWIG_croak_null();
26433 : }
26434 : }
26435 :
26436 :
26437 0 : XS(_wrap_layerObj_utfitemindex_set) {
26438 : {
26439 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26440 : int arg2 ;
26441 0 : void *argp1 = 0 ;
26442 : int res1 = 0 ;
26443 : int val2 ;
26444 : int ecode2 = 0 ;
26445 : int argvi = 0;
26446 0 : dXSARGS;
26447 :
26448 0 : if ((items < 2) || (items > 2)) {
26449 0 : SWIG_croak("Usage: layerObj_utfitemindex_set(self,utfitemindex);");
26450 : }
26451 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26452 0 : if (!SWIG_IsOK(res1)) {
26453 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
26454 : }
26455 0 : arg1 = (struct layerObj *)(argp1);
26456 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26457 0 : if (!SWIG_IsOK(ecode2)) {
26458 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_utfitemindex_set" "', argument " "2"" of type '" "int""'");
26459 : }
26460 0 : arg2 = (int)(val2);
26461 0 : if (arg1) (arg1)->utfitemindex = arg2;
26462 0 : ST(argvi) = sv_newmortal();
26463 :
26464 :
26465 0 : XSRETURN(argvi);
26466 : fail:
26467 :
26468 :
26469 0 : SWIG_croak_null();
26470 : }
26471 : }
26472 :
26473 :
26474 0 : XS(_wrap_layerObj_utfitemindex_get) {
26475 : {
26476 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26477 0 : void *argp1 = 0 ;
26478 : int res1 = 0 ;
26479 : int argvi = 0;
26480 : int result;
26481 0 : dXSARGS;
26482 :
26483 0 : if ((items < 1) || (items > 1)) {
26484 0 : SWIG_croak("Usage: layerObj_utfitemindex_get(self);");
26485 : }
26486 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26487 0 : if (!SWIG_IsOK(res1)) {
26488 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
26489 : }
26490 0 : arg1 = (struct layerObj *)(argp1);
26491 0 : result = (int) ((arg1)->utfitemindex);
26492 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26493 :
26494 0 : XSRETURN(argvi);
26495 : fail:
26496 :
26497 0 : SWIG_croak_null();
26498 : }
26499 : }
26500 :
26501 :
26502 0 : XS(_wrap_layerObj_utfdata_set) {
26503 : {
26504 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26505 : expressionObj arg2 ;
26506 0 : void *argp1 = 0 ;
26507 : int res1 = 0 ;
26508 : void *argp2 ;
26509 : int res2 = 0 ;
26510 : int argvi = 0;
26511 0 : dXSARGS;
26512 :
26513 0 : if ((items < 2) || (items > 2)) {
26514 0 : SWIG_croak("Usage: layerObj_utfdata_set(self,utfdata);");
26515 : }
26516 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26517 0 : if (!SWIG_IsOK(res1)) {
26518 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_set" "', argument " "1"" of type '" "struct layerObj *""'");
26519 : }
26520 0 : arg1 = (struct layerObj *)(argp1);
26521 : {
26522 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_expressionObj, 0 );
26523 0 : if (!SWIG_IsOK(res2)) {
26524 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
26525 : }
26526 0 : if (!argp2) {
26527 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
26528 : } else {
26529 0 : arg2 = *((expressionObj *)(argp2));
26530 : }
26531 : }
26532 0 : if (arg1) (arg1)->utfdata = arg2;
26533 0 : ST(argvi) = sv_newmortal();
26534 :
26535 0 : XSRETURN(argvi);
26536 : fail:
26537 :
26538 0 : SWIG_croak_null();
26539 : }
26540 : }
26541 :
26542 :
26543 0 : XS(_wrap_layerObj_utfdata_get) {
26544 : {
26545 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26546 0 : void *argp1 = 0 ;
26547 : int res1 = 0 ;
26548 : int argvi = 0;
26549 : expressionObj result;
26550 0 : dXSARGS;
26551 :
26552 0 : if ((items < 1) || (items > 1)) {
26553 0 : SWIG_croak("Usage: layerObj_utfdata_get(self);");
26554 : }
26555 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26556 0 : if (!SWIG_IsOK(res1)) {
26557 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_get" "', argument " "1"" of type '" "struct layerObj *""'");
26558 : }
26559 0 : arg1 = (struct layerObj *)(argp1);
26560 0 : result = ((arg1)->utfdata);
26561 0 : ST(argvi) = SWIG_NewPointerObj((expressionObj *)memcpy((expressionObj *)calloc(1,sizeof(expressionObj)),&result,sizeof(expressionObj)), SWIGTYPE_p_expressionObj, SWIG_POINTER_OWN | 0); argvi++ ;
26562 :
26563 0 : XSRETURN(argvi);
26564 : fail:
26565 :
26566 0 : SWIG_croak_null();
26567 : }
26568 : }
26569 :
26570 :
26571 0 : XS(_wrap_layerObj_compositer_set) {
26572 : {
26573 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26574 : LayerCompositer *arg2 = (LayerCompositer *) 0 ;
26575 0 : void *argp1 = 0 ;
26576 : int res1 = 0 ;
26577 0 : void *argp2 = 0 ;
26578 : int res2 = 0 ;
26579 : int argvi = 0;
26580 0 : dXSARGS;
26581 :
26582 0 : if ((items < 2) || (items > 2)) {
26583 0 : SWIG_croak("Usage: layerObj_compositer_set(self,compositer);");
26584 : }
26585 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26586 0 : if (!SWIG_IsOK(res1)) {
26587 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_set" "', argument " "1"" of type '" "struct layerObj *""'");
26588 : }
26589 0 : arg1 = (struct layerObj *)(argp1);
26590 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
26591 0 : if (!SWIG_IsOK(res2)) {
26592 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_compositer_set" "', argument " "2"" of type '" "LayerCompositer *""'");
26593 : }
26594 0 : arg2 = (LayerCompositer *)(argp2);
26595 0 : if (arg1) (arg1)->compositer = arg2;
26596 0 : ST(argvi) = sv_newmortal();
26597 :
26598 :
26599 0 : XSRETURN(argvi);
26600 : fail:
26601 :
26602 :
26603 0 : SWIG_croak_null();
26604 : }
26605 : }
26606 :
26607 :
26608 0 : XS(_wrap_layerObj_compositer_get) {
26609 : {
26610 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26611 0 : void *argp1 = 0 ;
26612 : int res1 = 0 ;
26613 : int argvi = 0;
26614 : LayerCompositer *result = 0 ;
26615 0 : dXSARGS;
26616 :
26617 0 : if ((items < 1) || (items > 1)) {
26618 0 : SWIG_croak("Usage: layerObj_compositer_get(self);");
26619 : }
26620 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26621 0 : if (!SWIG_IsOK(res1)) {
26622 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_get" "', argument " "1"" of type '" "struct layerObj *""'");
26623 : }
26624 0 : arg1 = (struct layerObj *)(argp1);
26625 0 : result = (LayerCompositer *) ((arg1)->compositer);
26626 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
26627 :
26628 0 : XSRETURN(argvi);
26629 : fail:
26630 :
26631 0 : SWIG_croak_null();
26632 : }
26633 : }
26634 :
26635 :
26636 0 : XS(_wrap_layerObj_connectionoptions_set) {
26637 : {
26638 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26639 : hashTableObj *arg2 = (hashTableObj *) 0 ;
26640 0 : void *argp1 = 0 ;
26641 : int res1 = 0 ;
26642 0 : void *argp2 = 0 ;
26643 : int res2 = 0 ;
26644 : int argvi = 0;
26645 0 : dXSARGS;
26646 :
26647 0 : if ((items < 2) || (items > 2)) {
26648 0 : SWIG_croak("Usage: layerObj_connectionoptions_set(self,connectionoptions);");
26649 : }
26650 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26651 0 : if (!SWIG_IsOK(res1)) {
26652 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectionoptions_set" "', argument " "1"" of type '" "struct layerObj *""'");
26653 : }
26654 0 : arg1 = (struct layerObj *)(argp1);
26655 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_hashTableObj, 0 | 0 );
26656 0 : if (!SWIG_IsOK(res2)) {
26657 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connectionoptions_set" "', argument " "2"" of type '" "hashTableObj *""'");
26658 : }
26659 0 : arg2 = (hashTableObj *)(argp2);
26660 0 : if (arg1) (arg1)->connectionoptions = *arg2;
26661 0 : ST(argvi) = sv_newmortal();
26662 :
26663 :
26664 0 : XSRETURN(argvi);
26665 : fail:
26666 :
26667 :
26668 0 : SWIG_croak_null();
26669 : }
26670 : }
26671 :
26672 :
26673 0 : XS(_wrap_layerObj_connectionoptions_get) {
26674 : {
26675 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26676 0 : void *argp1 = 0 ;
26677 : int res1 = 0 ;
26678 : int argvi = 0;
26679 : hashTableObj *result = 0 ;
26680 0 : dXSARGS;
26681 :
26682 0 : if ((items < 1) || (items > 1)) {
26683 0 : SWIG_croak("Usage: layerObj_connectionoptions_get(self);");
26684 : }
26685 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26686 0 : if (!SWIG_IsOK(res1)) {
26687 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectionoptions_get" "', argument " "1"" of type '" "struct layerObj *""'");
26688 : }
26689 0 : arg1 = (struct layerObj *)(argp1);
26690 0 : result = (hashTableObj *)& ((arg1)->connectionoptions);
26691 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
26692 :
26693 0 : XSRETURN(argvi);
26694 : fail:
26695 :
26696 0 : SWIG_croak_null();
26697 : }
26698 : }
26699 :
26700 :
26701 1 : XS(_wrap_new_layerObj) {
26702 : {
26703 : mapObj *arg1 = (mapObj *) NULL ;
26704 1 : void *argp1 = 0 ;
26705 : int res1 = 0 ;
26706 : int argvi = 0;
26707 : struct layerObj *result = 0 ;
26708 1 : dXSARGS;
26709 :
26710 1 : if ((items < 0) || (items > 1)) {
26711 0 : SWIG_croak("Usage: new_layerObj(map);");
26712 : }
26713 1 : if (items > 0) {
26714 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
26715 1 : if (!SWIG_IsOK(res1)) {
26716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_layerObj" "', argument " "1"" of type '" "mapObj *""'");
26717 : }
26718 1 : arg1 = (mapObj *)(argp1);
26719 : }
26720 1 : result = (struct layerObj *)new_layerObj(arg1);
26721 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26722 :
26723 1 : XSRETURN(argvi);
26724 : fail:
26725 :
26726 0 : SWIG_croak_null();
26727 : }
26728 : }
26729 :
26730 :
26731 0 : XS(_wrap_layerObj_setOpacity) {
26732 : {
26733 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26734 : int arg2 ;
26735 0 : void *argp1 = 0 ;
26736 : int res1 = 0 ;
26737 : int val2 ;
26738 : int ecode2 = 0 ;
26739 : int argvi = 0;
26740 0 : dXSARGS;
26741 :
26742 0 : if ((items < 2) || (items > 2)) {
26743 0 : SWIG_croak("Usage: layerObj_setOpacity(self,opacity);");
26744 : }
26745 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26746 0 : if (!SWIG_IsOK(res1)) {
26747 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setOpacity" "', argument " "1"" of type '" "struct layerObj *""'");
26748 : }
26749 0 : arg1 = (struct layerObj *)(argp1);
26750 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26751 0 : if (!SWIG_IsOK(ecode2)) {
26752 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setOpacity" "', argument " "2"" of type '" "int""'");
26753 : }
26754 0 : arg2 = (int)(val2);
26755 : layerObj_setOpacity(arg1,arg2);
26756 0 : ST(argvi) = sv_newmortal();
26757 :
26758 :
26759 0 : XSRETURN(argvi);
26760 : fail:
26761 :
26762 :
26763 0 : SWIG_croak_null();
26764 : }
26765 : }
26766 :
26767 :
26768 0 : XS(_wrap_layerObj_getOpacity) {
26769 : {
26770 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26771 0 : void *argp1 = 0 ;
26772 : int res1 = 0 ;
26773 : int argvi = 0;
26774 : int result;
26775 0 : dXSARGS;
26776 :
26777 0 : if ((items < 1) || (items > 1)) {
26778 0 : SWIG_croak("Usage: layerObj_getOpacity(self);");
26779 : }
26780 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26781 0 : if (!SWIG_IsOK(res1)) {
26782 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getOpacity" "', argument " "1"" of type '" "struct layerObj *""'");
26783 : }
26784 0 : arg1 = (struct layerObj *)(argp1);
26785 : result = (int)layerObj_getOpacity(arg1);
26786 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26787 :
26788 0 : XSRETURN(argvi);
26789 : fail:
26790 :
26791 0 : SWIG_croak_null();
26792 : }
26793 : }
26794 :
26795 :
26796 1 : XS(_wrap_delete_layerObj) {
26797 : {
26798 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26799 1 : void *argp1 = 0 ;
26800 : int res1 = 0 ;
26801 : int argvi = 0;
26802 1 : dXSARGS;
26803 :
26804 1 : if ((items < 1) || (items > 1)) {
26805 0 : SWIG_croak("Usage: delete_layerObj(self);");
26806 : }
26807 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, SWIG_POINTER_DISOWN | 0 );
26808 1 : if (!SWIG_IsOK(res1)) {
26809 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_layerObj" "', argument " "1"" of type '" "struct layerObj *""'");
26810 : }
26811 1 : arg1 = (struct layerObj *)(argp1);
26812 1 : delete_layerObj(arg1);
26813 1 : ST(argvi) = sv_newmortal();
26814 :
26815 1 : XSRETURN(argvi);
26816 : fail:
26817 :
26818 0 : SWIG_croak_null();
26819 : }
26820 : }
26821 :
26822 :
26823 0 : XS(_wrap_layerObj_clone) {
26824 : {
26825 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26826 0 : void *argp1 = 0 ;
26827 : int res1 = 0 ;
26828 : int argvi = 0;
26829 : layerObj *result = 0 ;
26830 0 : dXSARGS;
26831 :
26832 0 : if ((items < 1) || (items > 1)) {
26833 0 : SWIG_croak("Usage: layerObj_clone(self);");
26834 : }
26835 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26836 0 : if (!SWIG_IsOK(res1)) {
26837 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clone" "', argument " "1"" of type '" "struct layerObj *""'");
26838 : }
26839 0 : arg1 = (struct layerObj *)(argp1);
26840 0 : result = (layerObj *)layerObj_clone(arg1);
26841 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26842 :
26843 0 : XSRETURN(argvi);
26844 : fail:
26845 :
26846 0 : SWIG_croak_null();
26847 : }
26848 : }
26849 :
26850 :
26851 0 : XS(_wrap_layerObj_updateFromString) {
26852 : {
26853 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26854 : char *arg2 = (char *) 0 ;
26855 0 : void *argp1 = 0 ;
26856 : int res1 = 0 ;
26857 : int res2 ;
26858 0 : char *buf2 = 0 ;
26859 0 : int alloc2 = 0 ;
26860 : int argvi = 0;
26861 : int result;
26862 0 : dXSARGS;
26863 :
26864 0 : if ((items < 2) || (items > 2)) {
26865 0 : SWIG_croak("Usage: layerObj_updateFromString(self,snippet);");
26866 : }
26867 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26868 0 : if (!SWIG_IsOK(res1)) {
26869 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_updateFromString" "', argument " "1"" of type '" "struct layerObj *""'");
26870 : }
26871 0 : arg1 = (struct layerObj *)(argp1);
26872 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26873 0 : if (!SWIG_IsOK(res2)) {
26874 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_updateFromString" "', argument " "2"" of type '" "char *""'");
26875 : }
26876 0 : arg2 = (char *)(buf2);
26877 : result = (int)layerObj_updateFromString(arg1,arg2);
26878 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26879 :
26880 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26881 0 : XSRETURN(argvi);
26882 : fail:
26883 :
26884 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26885 0 : SWIG_croak_null();
26886 : }
26887 : }
26888 :
26889 :
26890 0 : XS(_wrap_layerObj_convertToString) {
26891 : {
26892 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26893 0 : void *argp1 = 0 ;
26894 : int res1 = 0 ;
26895 : int argvi = 0;
26896 : char *result = 0 ;
26897 0 : dXSARGS;
26898 :
26899 0 : if ((items < 1) || (items > 1)) {
26900 0 : SWIG_croak("Usage: layerObj_convertToString(self);");
26901 : }
26902 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26903 0 : if (!SWIG_IsOK(res1)) {
26904 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_convertToString" "', argument " "1"" of type '" "struct layerObj *""'");
26905 : }
26906 0 : arg1 = (struct layerObj *)(argp1);
26907 : result = (char *)layerObj_convertToString(arg1);
26908 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26909 :
26910 0 : free((char*)result);
26911 0 : XSRETURN(argvi);
26912 : fail:
26913 :
26914 0 : SWIG_croak_null();
26915 : }
26916 : }
26917 :
26918 :
26919 1 : XS(_wrap_layerObj_insertClass) {
26920 : {
26921 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26922 : classObj *arg2 = (classObj *) 0 ;
26923 : int arg3 = (int) -1 ;
26924 1 : void *argp1 = 0 ;
26925 : int res1 = 0 ;
26926 1 : void *argp2 = 0 ;
26927 : int res2 = 0 ;
26928 : int val3 ;
26929 : int ecode3 = 0 ;
26930 : int argvi = 0;
26931 : int result;
26932 1 : dXSARGS;
26933 :
26934 1 : if ((items < 2) || (items > 3)) {
26935 0 : SWIG_croak("Usage: layerObj_insertClass(self,classobj,index);");
26936 : }
26937 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26938 1 : if (!SWIG_IsOK(res1)) {
26939 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_insertClass" "', argument " "1"" of type '" "struct layerObj *""'");
26940 : }
26941 1 : arg1 = (struct layerObj *)(argp1);
26942 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_classObj, 0 | 0 );
26943 1 : if (!SWIG_IsOK(res2)) {
26944 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_insertClass" "', argument " "2"" of type '" "classObj *""'");
26945 : }
26946 1 : arg2 = (classObj *)(argp2);
26947 1 : if (items > 2) {
26948 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
26949 0 : if (!SWIG_IsOK(ecode3)) {
26950 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_insertClass" "', argument " "3"" of type '" "int""'");
26951 : }
26952 0 : arg3 = (int)(val3);
26953 : }
26954 : result = (int)layerObj_insertClass(arg1,arg2,arg3);
26955 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26956 :
26957 :
26958 :
26959 1 : XSRETURN(argvi);
26960 : fail:
26961 :
26962 :
26963 :
26964 0 : SWIG_croak_null();
26965 : }
26966 : }
26967 :
26968 :
26969 0 : XS(_wrap_layerObj_removeClass) {
26970 : {
26971 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26972 : int arg2 ;
26973 0 : void *argp1 = 0 ;
26974 : int res1 = 0 ;
26975 : int val2 ;
26976 : int ecode2 = 0 ;
26977 : int argvi = 0;
26978 : classObj *result = 0 ;
26979 0 : dXSARGS;
26980 :
26981 0 : if ((items < 2) || (items > 2)) {
26982 0 : SWIG_croak("Usage: layerObj_removeClass(self,index);");
26983 : }
26984 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26985 0 : if (!SWIG_IsOK(res1)) {
26986 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeClass" "', argument " "1"" of type '" "struct layerObj *""'");
26987 : }
26988 0 : arg1 = (struct layerObj *)(argp1);
26989 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26990 0 : if (!SWIG_IsOK(ecode2)) {
26991 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_removeClass" "', argument " "2"" of type '" "int""'");
26992 : }
26993 0 : arg2 = (int)(val2);
26994 0 : result = (classObj *)layerObj_removeClass(arg1,arg2);
26995 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26996 :
26997 :
26998 0 : XSRETURN(argvi);
26999 : fail:
27000 :
27001 :
27002 0 : SWIG_croak_null();
27003 : }
27004 : }
27005 :
27006 :
27007 0 : XS(_wrap_layerObj_open) {
27008 : {
27009 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27010 0 : void *argp1 = 0 ;
27011 : int res1 = 0 ;
27012 : int argvi = 0;
27013 : int result;
27014 0 : dXSARGS;
27015 :
27016 0 : if ((items < 1) || (items > 1)) {
27017 0 : SWIG_croak("Usage: layerObj_open(self);");
27018 : }
27019 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27020 0 : if (!SWIG_IsOK(res1)) {
27021 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_open" "', argument " "1"" of type '" "struct layerObj *""'");
27022 : }
27023 0 : arg1 = (struct layerObj *)(argp1);
27024 0 : result = (int)layerObj_open(arg1);
27025 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27026 :
27027 0 : XSRETURN(argvi);
27028 : fail:
27029 :
27030 0 : SWIG_croak_null();
27031 : }
27032 : }
27033 :
27034 :
27035 0 : XS(_wrap_layerObj_whichShapes) {
27036 : {
27037 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27038 : rectObj arg2 ;
27039 0 : void *argp1 = 0 ;
27040 : int res1 = 0 ;
27041 : void *argp2 ;
27042 : int res2 = 0 ;
27043 : int argvi = 0;
27044 : int result;
27045 0 : dXSARGS;
27046 :
27047 0 : if ((items < 2) || (items > 2)) {
27048 0 : SWIG_croak("Usage: layerObj_whichShapes(self,rect);");
27049 : }
27050 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27051 0 : if (!SWIG_IsOK(res1)) {
27052 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_whichShapes" "', argument " "1"" of type '" "struct layerObj *""'");
27053 : }
27054 0 : arg1 = (struct layerObj *)(argp1);
27055 : {
27056 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj, 0 );
27057 0 : if (!SWIG_IsOK(res2)) {
27058 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
27059 : }
27060 0 : if (!argp2) {
27061 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
27062 : } else {
27063 0 : arg2 = *((rectObj *)(argp2));
27064 : }
27065 : }
27066 0 : result = (int)layerObj_whichShapes(arg1,arg2);
27067 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27068 :
27069 0 : XSRETURN(argvi);
27070 : fail:
27071 :
27072 0 : SWIG_croak_null();
27073 : }
27074 : }
27075 :
27076 :
27077 0 : XS(_wrap_layerObj_nextShape) {
27078 : {
27079 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27080 0 : void *argp1 = 0 ;
27081 : int res1 = 0 ;
27082 : int argvi = 0;
27083 : shapeObj *result = 0 ;
27084 0 : dXSARGS;
27085 :
27086 0 : if ((items < 1) || (items > 1)) {
27087 0 : SWIG_croak("Usage: layerObj_nextShape(self);");
27088 : }
27089 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27090 0 : if (!SWIG_IsOK(res1)) {
27091 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_nextShape" "', argument " "1"" of type '" "struct layerObj *""'");
27092 : }
27093 0 : arg1 = (struct layerObj *)(argp1);
27094 0 : result = (shapeObj *)layerObj_nextShape(arg1);
27095 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27096 :
27097 0 : XSRETURN(argvi);
27098 : fail:
27099 :
27100 0 : SWIG_croak_null();
27101 : }
27102 : }
27103 :
27104 :
27105 0 : XS(_wrap_layerObj_close) {
27106 : {
27107 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27108 0 : void *argp1 = 0 ;
27109 : int res1 = 0 ;
27110 : int argvi = 0;
27111 0 : dXSARGS;
27112 :
27113 0 : if ((items < 1) || (items > 1)) {
27114 0 : SWIG_croak("Usage: layerObj_close(self);");
27115 : }
27116 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27117 0 : if (!SWIG_IsOK(res1)) {
27118 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_close" "', argument " "1"" of type '" "struct layerObj *""'");
27119 : }
27120 0 : arg1 = (struct layerObj *)(argp1);
27121 : layerObj_close(arg1);
27122 0 : ST(argvi) = sv_newmortal();
27123 :
27124 0 : XSRETURN(argvi);
27125 : fail:
27126 :
27127 0 : SWIG_croak_null();
27128 : }
27129 : }
27130 :
27131 :
27132 0 : XS(_wrap_layerObj_getShape) {
27133 : {
27134 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27135 : resultObj *arg2 = (resultObj *) 0 ;
27136 0 : void *argp1 = 0 ;
27137 : int res1 = 0 ;
27138 0 : void *argp2 = 0 ;
27139 : int res2 = 0 ;
27140 : int argvi = 0;
27141 : shapeObj *result = 0 ;
27142 0 : dXSARGS;
27143 :
27144 0 : if ((items < 2) || (items > 2)) {
27145 0 : SWIG_croak("Usage: layerObj_getShape(self,record);");
27146 : }
27147 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27148 0 : if (!SWIG_IsOK(res1)) {
27149 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getShape" "', argument " "1"" of type '" "struct layerObj *""'");
27150 : }
27151 0 : arg1 = (struct layerObj *)(argp1);
27152 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_resultObj, 0 | 0 );
27153 0 : if (!SWIG_IsOK(res2)) {
27154 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getShape" "', argument " "2"" of type '" "resultObj *""'");
27155 : }
27156 0 : arg2 = (resultObj *)(argp2);
27157 0 : result = (shapeObj *)layerObj_getShape(arg1,arg2);
27158 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27159 :
27160 :
27161 0 : XSRETURN(argvi);
27162 : fail:
27163 :
27164 :
27165 0 : SWIG_croak_null();
27166 : }
27167 : }
27168 :
27169 :
27170 0 : XS(_wrap_layerObj_getNumResults) {
27171 : {
27172 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27173 0 : void *argp1 = 0 ;
27174 : int res1 = 0 ;
27175 : int argvi = 0;
27176 : int result;
27177 0 : dXSARGS;
27178 :
27179 0 : if ((items < 1) || (items > 1)) {
27180 0 : SWIG_croak("Usage: layerObj_getNumResults(self);");
27181 : }
27182 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27183 0 : if (!SWIG_IsOK(res1)) {
27184 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumResults" "', argument " "1"" of type '" "struct layerObj *""'");
27185 : }
27186 0 : arg1 = (struct layerObj *)(argp1);
27187 : result = (int)layerObj_getNumResults(arg1);
27188 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27189 :
27190 0 : XSRETURN(argvi);
27191 : fail:
27192 :
27193 0 : SWIG_croak_null();
27194 : }
27195 : }
27196 :
27197 :
27198 0 : XS(_wrap_layerObj_getResultsBounds) {
27199 : {
27200 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27201 0 : void *argp1 = 0 ;
27202 : int res1 = 0 ;
27203 : int argvi = 0;
27204 : rectObj *result = 0 ;
27205 0 : dXSARGS;
27206 :
27207 0 : if ((items < 1) || (items > 1)) {
27208 0 : SWIG_croak("Usage: layerObj_getResultsBounds(self);");
27209 : }
27210 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27211 0 : if (!SWIG_IsOK(res1)) {
27212 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResultsBounds" "', argument " "1"" of type '" "struct layerObj *""'");
27213 : }
27214 0 : arg1 = (struct layerObj *)(argp1);
27215 0 : result = (rectObj *)layerObj_getResultsBounds(arg1);
27216 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27217 :
27218 0 : XSRETURN(argvi);
27219 : fail:
27220 :
27221 0 : SWIG_croak_null();
27222 : }
27223 : }
27224 :
27225 :
27226 0 : XS(_wrap_layerObj_getResult) {
27227 : {
27228 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27229 : int arg2 ;
27230 0 : void *argp1 = 0 ;
27231 : int res1 = 0 ;
27232 : int val2 ;
27233 : int ecode2 = 0 ;
27234 : int argvi = 0;
27235 : resultObj *result = 0 ;
27236 0 : dXSARGS;
27237 :
27238 0 : if ((items < 2) || (items > 2)) {
27239 0 : SWIG_croak("Usage: layerObj_getResult(self,i);");
27240 : }
27241 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27242 0 : if (!SWIG_IsOK(res1)) {
27243 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResult" "', argument " "1"" of type '" "struct layerObj *""'");
27244 : }
27245 0 : arg1 = (struct layerObj *)(argp1);
27246 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27247 0 : if (!SWIG_IsOK(ecode2)) {
27248 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getResult" "', argument " "2"" of type '" "int""'");
27249 : }
27250 0 : arg2 = (int)(val2);
27251 : result = (resultObj *)layerObj_getResult(arg1,arg2);
27252 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
27253 :
27254 :
27255 0 : XSRETURN(argvi);
27256 : fail:
27257 :
27258 :
27259 0 : SWIG_croak_null();
27260 : }
27261 : }
27262 :
27263 :
27264 1 : XS(_wrap_layerObj_getClass) {
27265 : {
27266 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27267 : int arg2 ;
27268 1 : void *argp1 = 0 ;
27269 : int res1 = 0 ;
27270 : int val2 ;
27271 : int ecode2 = 0 ;
27272 : int argvi = 0;
27273 : classObj *result = 0 ;
27274 1 : dXSARGS;
27275 :
27276 1 : if ((items < 2) || (items > 2)) {
27277 0 : SWIG_croak("Usage: layerObj_getClass(self,i);");
27278 : }
27279 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27280 1 : if (!SWIG_IsOK(res1)) {
27281 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClass" "', argument " "1"" of type '" "struct layerObj *""'");
27282 : }
27283 1 : arg1 = (struct layerObj *)(argp1);
27284 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27285 1 : if (!SWIG_IsOK(ecode2)) {
27286 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getClass" "', argument " "2"" of type '" "int""'");
27287 : }
27288 1 : arg2 = (int)(val2);
27289 1 : result = (classObj *)layerObj_getClass(arg1,arg2);
27290 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27291 :
27292 :
27293 1 : XSRETURN(argvi);
27294 : fail:
27295 :
27296 :
27297 0 : SWIG_croak_null();
27298 : }
27299 : }
27300 :
27301 :
27302 0 : XS(_wrap_layerObj_getItem) {
27303 : {
27304 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27305 : int arg2 ;
27306 0 : void *argp1 = 0 ;
27307 : int res1 = 0 ;
27308 : int val2 ;
27309 : int ecode2 = 0 ;
27310 : int argvi = 0;
27311 : char *result = 0 ;
27312 0 : dXSARGS;
27313 :
27314 0 : if ((items < 2) || (items > 2)) {
27315 0 : SWIG_croak("Usage: layerObj_getItem(self,i);");
27316 : }
27317 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27318 0 : if (!SWIG_IsOK(res1)) {
27319 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItem" "', argument " "1"" of type '" "struct layerObj *""'");
27320 : }
27321 0 : arg1 = (struct layerObj *)(argp1);
27322 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27323 0 : if (!SWIG_IsOK(ecode2)) {
27324 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItem" "', argument " "2"" of type '" "int""'");
27325 : }
27326 0 : arg2 = (int)(val2);
27327 : result = (char *)layerObj_getItem(arg1,arg2);
27328 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27329 :
27330 :
27331 0 : XSRETURN(argvi);
27332 : fail:
27333 :
27334 :
27335 0 : SWIG_croak_null();
27336 : }
27337 : }
27338 :
27339 :
27340 0 : XS(_wrap_layerObj_setItems) {
27341 : {
27342 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27343 : char **arg2 = (char **) 0 ;
27344 : int arg3 ;
27345 0 : void *argp1 = 0 ;
27346 : int res1 = 0 ;
27347 0 : void *argp2 = 0 ;
27348 : int res2 = 0 ;
27349 : int val3 ;
27350 : int ecode3 = 0 ;
27351 : int argvi = 0;
27352 : int result;
27353 0 : dXSARGS;
27354 :
27355 0 : if ((items < 3) || (items > 3)) {
27356 0 : SWIG_croak("Usage: layerObj_setItems(self,items,numitems);");
27357 : }
27358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27359 0 : if (!SWIG_IsOK(res1)) {
27360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setItems" "', argument " "1"" of type '" "struct layerObj *""'");
27361 : }
27362 0 : arg1 = (struct layerObj *)(argp1);
27363 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
27364 0 : if (!SWIG_IsOK(res2)) {
27365 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setItems" "', argument " "2"" of type '" "char **""'");
27366 : }
27367 0 : arg2 = (char **)(argp2);
27368 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27369 0 : if (!SWIG_IsOK(ecode3)) {
27370 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setItems" "', argument " "3"" of type '" "int""'");
27371 : }
27372 0 : arg3 = (int)(val3);
27373 : result = (int)layerObj_setItems(arg1,arg2,arg3);
27374 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27375 :
27376 :
27377 :
27378 0 : XSRETURN(argvi);
27379 : fail:
27380 :
27381 :
27382 :
27383 0 : SWIG_croak_null();
27384 : }
27385 : }
27386 :
27387 :
27388 0 : XS(_wrap_layerObj_draw) {
27389 : {
27390 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27391 : mapObj *arg2 = (mapObj *) 0 ;
27392 : imageObj *arg3 = (imageObj *) 0 ;
27393 0 : void *argp1 = 0 ;
27394 : int res1 = 0 ;
27395 0 : void *argp2 = 0 ;
27396 : int res2 = 0 ;
27397 0 : void *argp3 = 0 ;
27398 : int res3 = 0 ;
27399 : int argvi = 0;
27400 : int result;
27401 0 : dXSARGS;
27402 :
27403 0 : if ((items < 3) || (items > 3)) {
27404 0 : SWIG_croak("Usage: layerObj_draw(self,map,image);");
27405 : }
27406 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27407 0 : if (!SWIG_IsOK(res1)) {
27408 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_draw" "', argument " "1"" of type '" "struct layerObj *""'");
27409 : }
27410 0 : arg1 = (struct layerObj *)(argp1);
27411 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27412 0 : if (!SWIG_IsOK(res2)) {
27413 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_draw" "', argument " "2"" of type '" "mapObj *""'");
27414 : }
27415 0 : arg2 = (mapObj *)(argp2);
27416 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 | 0 );
27417 0 : if (!SWIG_IsOK(res3)) {
27418 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_draw" "', argument " "3"" of type '" "imageObj *""'");
27419 : }
27420 0 : arg3 = (imageObj *)(argp3);
27421 : result = (int)layerObj_draw(arg1,arg2,arg3);
27422 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27423 :
27424 :
27425 :
27426 0 : XSRETURN(argvi);
27427 : fail:
27428 :
27429 :
27430 :
27431 0 : SWIG_croak_null();
27432 : }
27433 : }
27434 :
27435 :
27436 0 : XS(_wrap_layerObj_drawQuery) {
27437 : {
27438 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27439 : mapObj *arg2 = (mapObj *) 0 ;
27440 : imageObj *arg3 = (imageObj *) 0 ;
27441 0 : void *argp1 = 0 ;
27442 : int res1 = 0 ;
27443 0 : void *argp2 = 0 ;
27444 : int res2 = 0 ;
27445 0 : void *argp3 = 0 ;
27446 : int res3 = 0 ;
27447 : int argvi = 0;
27448 : int result;
27449 0 : dXSARGS;
27450 :
27451 0 : if ((items < 3) || (items > 3)) {
27452 0 : SWIG_croak("Usage: layerObj_drawQuery(self,map,image);");
27453 : }
27454 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27455 0 : if (!SWIG_IsOK(res1)) {
27456 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_drawQuery" "', argument " "1"" of type '" "struct layerObj *""'");
27457 : }
27458 0 : arg1 = (struct layerObj *)(argp1);
27459 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27460 0 : if (!SWIG_IsOK(res2)) {
27461 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_drawQuery" "', argument " "2"" of type '" "mapObj *""'");
27462 : }
27463 0 : arg2 = (mapObj *)(argp2);
27464 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 | 0 );
27465 0 : if (!SWIG_IsOK(res3)) {
27466 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_drawQuery" "', argument " "3"" of type '" "imageObj *""'");
27467 : }
27468 0 : arg3 = (imageObj *)(argp3);
27469 : result = (int)layerObj_drawQuery(arg1,arg2,arg3);
27470 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27471 :
27472 :
27473 :
27474 0 : XSRETURN(argvi);
27475 : fail:
27476 :
27477 :
27478 :
27479 0 : SWIG_croak_null();
27480 : }
27481 : }
27482 :
27483 :
27484 0 : XS(_wrap_layerObj_queryByFilter) {
27485 : {
27486 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27487 : mapObj *arg2 = (mapObj *) 0 ;
27488 : char *arg3 = (char *) 0 ;
27489 0 : void *argp1 = 0 ;
27490 : int res1 = 0 ;
27491 0 : void *argp2 = 0 ;
27492 : int res2 = 0 ;
27493 : int res3 ;
27494 0 : char *buf3 = 0 ;
27495 0 : int alloc3 = 0 ;
27496 : int argvi = 0;
27497 : int result;
27498 0 : dXSARGS;
27499 :
27500 0 : if ((items < 3) || (items > 3)) {
27501 0 : SWIG_croak("Usage: layerObj_queryByFilter(self,map,string);");
27502 : }
27503 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27504 0 : if (!SWIG_IsOK(res1)) {
27505 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFilter" "', argument " "1"" of type '" "struct layerObj *""'");
27506 : }
27507 0 : arg1 = (struct layerObj *)(argp1);
27508 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27509 0 : if (!SWIG_IsOK(res2)) {
27510 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFilter" "', argument " "2"" of type '" "mapObj *""'");
27511 : }
27512 0 : arg2 = (mapObj *)(argp2);
27513 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
27514 0 : if (!SWIG_IsOK(res3)) {
27515 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByFilter" "', argument " "3"" of type '" "char *""'");
27516 : }
27517 0 : arg3 = (char *)(buf3);
27518 0 : result = (int)layerObj_queryByFilter(arg1,arg2,arg3);
27519 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27520 :
27521 :
27522 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27523 0 : XSRETURN(argvi);
27524 : fail:
27525 :
27526 :
27527 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27528 0 : SWIG_croak_null();
27529 : }
27530 : }
27531 :
27532 :
27533 0 : XS(_wrap_layerObj_queryByAttributes) {
27534 : {
27535 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27536 : mapObj *arg2 = (mapObj *) 0 ;
27537 : char *arg3 = (char *) 0 ;
27538 : char *arg4 = (char *) 0 ;
27539 : int arg5 ;
27540 0 : void *argp1 = 0 ;
27541 : int res1 = 0 ;
27542 0 : void *argp2 = 0 ;
27543 : int res2 = 0 ;
27544 : int res3 ;
27545 0 : char *buf3 = 0 ;
27546 0 : int alloc3 = 0 ;
27547 : int res4 ;
27548 0 : char *buf4 = 0 ;
27549 0 : int alloc4 = 0 ;
27550 : int val5 ;
27551 : int ecode5 = 0 ;
27552 : int argvi = 0;
27553 : int result;
27554 0 : dXSARGS;
27555 :
27556 0 : if ((items < 5) || (items > 5)) {
27557 0 : SWIG_croak("Usage: layerObj_queryByAttributes(self,map,qitem,qstring,mode);");
27558 : }
27559 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27560 0 : if (!SWIG_IsOK(res1)) {
27561 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByAttributes" "', argument " "1"" of type '" "struct layerObj *""'");
27562 : }
27563 0 : arg1 = (struct layerObj *)(argp1);
27564 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27565 0 : if (!SWIG_IsOK(res2)) {
27566 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByAttributes" "', argument " "2"" of type '" "mapObj *""'");
27567 : }
27568 0 : arg2 = (mapObj *)(argp2);
27569 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
27570 0 : if (!SWIG_IsOK(res3)) {
27571 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByAttributes" "', argument " "3"" of type '" "char *""'");
27572 : }
27573 0 : arg3 = (char *)(buf3);
27574 0 : res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
27575 0 : if (!SWIG_IsOK(res4)) {
27576 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_queryByAttributes" "', argument " "4"" of type '" "char *""'");
27577 : }
27578 0 : arg4 = (char *)(buf4);
27579 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27580 0 : if (!SWIG_IsOK(ecode5)) {
27581 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByAttributes" "', argument " "5"" of type '" "int""'");
27582 : }
27583 0 : arg5 = (int)(val5);
27584 0 : result = (int)layerObj_queryByAttributes(arg1,arg2,arg3,arg4,arg5);
27585 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27586 :
27587 :
27588 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27589 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
27590 :
27591 0 : XSRETURN(argvi);
27592 : fail:
27593 :
27594 :
27595 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27596 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
27597 :
27598 0 : SWIG_croak_null();
27599 : }
27600 : }
27601 :
27602 :
27603 0 : XS(_wrap_layerObj_queryByPoint) {
27604 : {
27605 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27606 : mapObj *arg2 = (mapObj *) 0 ;
27607 : pointObj *arg3 = (pointObj *) 0 ;
27608 : int arg4 ;
27609 : double arg5 ;
27610 0 : void *argp1 = 0 ;
27611 : int res1 = 0 ;
27612 0 : void *argp2 = 0 ;
27613 : int res2 = 0 ;
27614 0 : void *argp3 = 0 ;
27615 : int res3 = 0 ;
27616 : int val4 ;
27617 : int ecode4 = 0 ;
27618 : double val5 ;
27619 : int ecode5 = 0 ;
27620 : int argvi = 0;
27621 : int result;
27622 0 : dXSARGS;
27623 :
27624 0 : if ((items < 5) || (items > 5)) {
27625 0 : SWIG_croak("Usage: layerObj_queryByPoint(self,map,point,mode,buffer);");
27626 : }
27627 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27628 0 : if (!SWIG_IsOK(res1)) {
27629 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByPoint" "', argument " "1"" of type '" "struct layerObj *""'");
27630 : }
27631 0 : arg1 = (struct layerObj *)(argp1);
27632 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27633 0 : if (!SWIG_IsOK(res2)) {
27634 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByPoint" "', argument " "2"" of type '" "mapObj *""'");
27635 : }
27636 0 : arg2 = (mapObj *)(argp2);
27637 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
27638 0 : if (!SWIG_IsOK(res3)) {
27639 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByPoint" "', argument " "3"" of type '" "pointObj *""'");
27640 : }
27641 0 : arg3 = (pointObj *)(argp3);
27642 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27643 0 : if (!SWIG_IsOK(ecode4)) {
27644 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByPoint" "', argument " "4"" of type '" "int""'");
27645 : }
27646 0 : arg4 = (int)(val4);
27647 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27648 0 : if (!SWIG_IsOK(ecode5)) {
27649 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByPoint" "', argument " "5"" of type '" "double""'");
27650 : }
27651 0 : arg5 = (double)(val5);
27652 0 : result = (int)layerObj_queryByPoint(arg1,arg2,arg3,arg4,arg5);
27653 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27654 :
27655 :
27656 :
27657 :
27658 :
27659 0 : XSRETURN(argvi);
27660 : fail:
27661 :
27662 :
27663 :
27664 :
27665 :
27666 0 : SWIG_croak_null();
27667 : }
27668 : }
27669 :
27670 :
27671 0 : XS(_wrap_layerObj_queryByRect) {
27672 : {
27673 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27674 : mapObj *arg2 = (mapObj *) 0 ;
27675 : rectObj arg3 ;
27676 0 : void *argp1 = 0 ;
27677 : int res1 = 0 ;
27678 0 : void *argp2 = 0 ;
27679 : int res2 = 0 ;
27680 : void *argp3 ;
27681 : int res3 = 0 ;
27682 : int argvi = 0;
27683 : int result;
27684 0 : dXSARGS;
27685 :
27686 0 : if ((items < 3) || (items > 3)) {
27687 0 : SWIG_croak("Usage: layerObj_queryByRect(self,map,rect);");
27688 : }
27689 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27690 0 : if (!SWIG_IsOK(res1)) {
27691 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByRect" "', argument " "1"" of type '" "struct layerObj *""'");
27692 : }
27693 0 : arg1 = (struct layerObj *)(argp1);
27694 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27695 0 : if (!SWIG_IsOK(res2)) {
27696 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByRect" "', argument " "2"" of type '" "mapObj *""'");
27697 : }
27698 0 : arg2 = (mapObj *)(argp2);
27699 : {
27700 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_rectObj, 0 );
27701 0 : if (!SWIG_IsOK(res3)) {
27702 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
27703 : }
27704 0 : if (!argp3) {
27705 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
27706 : } else {
27707 0 : arg3 = *((rectObj *)(argp3));
27708 : }
27709 : }
27710 0 : result = (int)layerObj_queryByRect(arg1,arg2,arg3);
27711 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27712 :
27713 :
27714 0 : XSRETURN(argvi);
27715 : fail:
27716 :
27717 :
27718 0 : SWIG_croak_null();
27719 : }
27720 : }
27721 :
27722 :
27723 0 : XS(_wrap_layerObj_queryByFeatures) {
27724 : {
27725 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27726 : mapObj *arg2 = (mapObj *) 0 ;
27727 : int arg3 ;
27728 0 : void *argp1 = 0 ;
27729 : int res1 = 0 ;
27730 0 : void *argp2 = 0 ;
27731 : int res2 = 0 ;
27732 : int val3 ;
27733 : int ecode3 = 0 ;
27734 : int argvi = 0;
27735 : int result;
27736 0 : dXSARGS;
27737 :
27738 0 : if ((items < 3) || (items > 3)) {
27739 0 : SWIG_croak("Usage: layerObj_queryByFeatures(self,map,slayer);");
27740 : }
27741 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27742 0 : if (!SWIG_IsOK(res1)) {
27743 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFeatures" "', argument " "1"" of type '" "struct layerObj *""'");
27744 : }
27745 0 : arg1 = (struct layerObj *)(argp1);
27746 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27747 0 : if (!SWIG_IsOK(res2)) {
27748 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFeatures" "', argument " "2"" of type '" "mapObj *""'");
27749 : }
27750 0 : arg2 = (mapObj *)(argp2);
27751 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27752 0 : if (!SWIG_IsOK(ecode3)) {
27753 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByFeatures" "', argument " "3"" of type '" "int""'");
27754 : }
27755 0 : arg3 = (int)(val3);
27756 : result = (int)layerObj_queryByFeatures(arg1,arg2,arg3);
27757 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27758 :
27759 :
27760 :
27761 0 : XSRETURN(argvi);
27762 : fail:
27763 :
27764 :
27765 :
27766 0 : SWIG_croak_null();
27767 : }
27768 : }
27769 :
27770 :
27771 0 : XS(_wrap_layerObj_queryByShape) {
27772 : {
27773 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27774 : mapObj *arg2 = (mapObj *) 0 ;
27775 : shapeObj *arg3 = (shapeObj *) 0 ;
27776 0 : void *argp1 = 0 ;
27777 : int res1 = 0 ;
27778 0 : void *argp2 = 0 ;
27779 : int res2 = 0 ;
27780 0 : void *argp3 = 0 ;
27781 : int res3 = 0 ;
27782 : int argvi = 0;
27783 : int result;
27784 0 : dXSARGS;
27785 :
27786 0 : if ((items < 3) || (items > 3)) {
27787 0 : SWIG_croak("Usage: layerObj_queryByShape(self,map,shape);");
27788 : }
27789 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27790 0 : if (!SWIG_IsOK(res1)) {
27791 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByShape" "', argument " "1"" of type '" "struct layerObj *""'");
27792 : }
27793 0 : arg1 = (struct layerObj *)(argp1);
27794 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27795 0 : if (!SWIG_IsOK(res2)) {
27796 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByShape" "', argument " "2"" of type '" "mapObj *""'");
27797 : }
27798 0 : arg2 = (mapObj *)(argp2);
27799 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
27800 0 : if (!SWIG_IsOK(res3)) {
27801 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByShape" "', argument " "3"" of type '" "shapeObj *""'");
27802 : }
27803 0 : arg3 = (shapeObj *)(argp3);
27804 0 : result = (int)layerObj_queryByShape(arg1,arg2,arg3);
27805 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27806 :
27807 :
27808 :
27809 0 : XSRETURN(argvi);
27810 : fail:
27811 :
27812 :
27813 :
27814 0 : SWIG_croak_null();
27815 : }
27816 : }
27817 :
27818 :
27819 0 : XS(_wrap_layerObj_queryByIndex) {
27820 : {
27821 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27822 : mapObj *arg2 = (mapObj *) 0 ;
27823 : int arg3 ;
27824 : int arg4 ;
27825 : int arg5 = (int) 0 ;
27826 0 : void *argp1 = 0 ;
27827 : int res1 = 0 ;
27828 0 : void *argp2 = 0 ;
27829 : int res2 = 0 ;
27830 : int val3 ;
27831 : int ecode3 = 0 ;
27832 : int val4 ;
27833 : int ecode4 = 0 ;
27834 : int val5 ;
27835 : int ecode5 = 0 ;
27836 : int argvi = 0;
27837 : int result;
27838 0 : dXSARGS;
27839 :
27840 0 : if ((items < 4) || (items > 5)) {
27841 0 : SWIG_croak("Usage: layerObj_queryByIndex(self,map,tileindex,shapeindex,bAddToQuery);");
27842 : }
27843 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27844 0 : if (!SWIG_IsOK(res1)) {
27845 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByIndex" "', argument " "1"" of type '" "struct layerObj *""'");
27846 : }
27847 0 : arg1 = (struct layerObj *)(argp1);
27848 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27849 0 : if (!SWIG_IsOK(res2)) {
27850 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByIndex" "', argument " "2"" of type '" "mapObj *""'");
27851 : }
27852 0 : arg2 = (mapObj *)(argp2);
27853 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27854 0 : if (!SWIG_IsOK(ecode3)) {
27855 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByIndex" "', argument " "3"" of type '" "int""'");
27856 : }
27857 0 : arg3 = (int)(val3);
27858 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27859 0 : if (!SWIG_IsOK(ecode4)) {
27860 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByIndex" "', argument " "4"" of type '" "int""'");
27861 : }
27862 0 : arg4 = (int)(val4);
27863 0 : if (items > 4) {
27864 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27865 0 : if (!SWIG_IsOK(ecode5)) {
27866 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByIndex" "', argument " "5"" of type '" "int""'");
27867 : }
27868 0 : arg5 = (int)(val5);
27869 : }
27870 : result = (int)layerObj_queryByIndex(arg1,arg2,arg3,arg4,arg5);
27871 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27872 :
27873 :
27874 :
27875 :
27876 :
27877 0 : XSRETURN(argvi);
27878 : fail:
27879 :
27880 :
27881 :
27882 :
27883 :
27884 0 : SWIG_croak_null();
27885 : }
27886 : }
27887 :
27888 :
27889 0 : XS(_wrap_layerObj_getResults) {
27890 : {
27891 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27892 0 : void *argp1 = 0 ;
27893 : int res1 = 0 ;
27894 : int argvi = 0;
27895 : resultCacheObj *result = 0 ;
27896 0 : dXSARGS;
27897 :
27898 0 : if ((items < 1) || (items > 1)) {
27899 0 : SWIG_croak("Usage: layerObj_getResults(self);");
27900 : }
27901 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27902 0 : if (!SWIG_IsOK(res1)) {
27903 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResults" "', argument " "1"" of type '" "struct layerObj *""'");
27904 : }
27905 0 : arg1 = (struct layerObj *)(argp1);
27906 : result = (resultCacheObj *)layerObj_getResults(arg1);
27907 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, 0 | SWIG_SHADOW); argvi++ ;
27908 :
27909 0 : XSRETURN(argvi);
27910 : fail:
27911 :
27912 0 : SWIG_croak_null();
27913 : }
27914 : }
27915 :
27916 :
27917 0 : XS(_wrap_layerObj_setFilter) {
27918 : {
27919 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27920 : char *arg2 = (char *) 0 ;
27921 0 : void *argp1 = 0 ;
27922 : int res1 = 0 ;
27923 : int res2 ;
27924 0 : char *buf2 = 0 ;
27925 0 : int alloc2 = 0 ;
27926 : int argvi = 0;
27927 : int result;
27928 0 : dXSARGS;
27929 :
27930 0 : if ((items < 2) || (items > 2)) {
27931 0 : SWIG_croak("Usage: layerObj_setFilter(self,filter);");
27932 : }
27933 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27934 0 : if (!SWIG_IsOK(res1)) {
27935 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setFilter" "', argument " "1"" of type '" "struct layerObj *""'");
27936 : }
27937 0 : arg1 = (struct layerObj *)(argp1);
27938 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
27939 0 : if (!SWIG_IsOK(res2)) {
27940 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setFilter" "', argument " "2"" of type '" "char *""'");
27941 : }
27942 0 : arg2 = (char *)(buf2);
27943 0 : result = (int)layerObj_setFilter(arg1,arg2);
27944 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27945 :
27946 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27947 0 : XSRETURN(argvi);
27948 : fail:
27949 :
27950 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27951 0 : SWIG_croak_null();
27952 : }
27953 : }
27954 :
27955 :
27956 0 : XS(_wrap_layerObj_getFilterString) {
27957 : {
27958 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27959 0 : void *argp1 = 0 ;
27960 : int res1 = 0 ;
27961 : int argvi = 0;
27962 : char *result = 0 ;
27963 0 : dXSARGS;
27964 :
27965 0 : if ((items < 1) || (items > 1)) {
27966 0 : SWIG_croak("Usage: layerObj_getFilterString(self);");
27967 : }
27968 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27969 0 : if (!SWIG_IsOK(res1)) {
27970 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFilterString" "', argument " "1"" of type '" "struct layerObj *""'");
27971 : }
27972 0 : arg1 = (struct layerObj *)(argp1);
27973 : result = (char *)layerObj_getFilterString(arg1);
27974 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27975 :
27976 0 : free((char*)result);
27977 0 : XSRETURN(argvi);
27978 : fail:
27979 :
27980 0 : SWIG_croak_null();
27981 : }
27982 : }
27983 :
27984 :
27985 0 : XS(_wrap_layerObj_setWKTProjection) {
27986 : {
27987 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27988 : char *arg2 = (char *) 0 ;
27989 0 : void *argp1 = 0 ;
27990 : int res1 = 0 ;
27991 : int res2 ;
27992 0 : char *buf2 = 0 ;
27993 0 : int alloc2 = 0 ;
27994 : int argvi = 0;
27995 : int result;
27996 0 : dXSARGS;
27997 :
27998 0 : if ((items < 2) || (items > 2)) {
27999 0 : SWIG_croak("Usage: layerObj_setWKTProjection(self,wkt);");
28000 : }
28001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28002 0 : if (!SWIG_IsOK(res1)) {
28003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setWKTProjection" "', argument " "1"" of type '" "struct layerObj *""'");
28004 : }
28005 0 : arg1 = (struct layerObj *)(argp1);
28006 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28007 0 : if (!SWIG_IsOK(res2)) {
28008 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
28009 : }
28010 0 : arg2 = (char *)(buf2);
28011 : result = (int)layerObj_setWKTProjection(arg1,arg2);
28012 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28013 :
28014 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28015 0 : XSRETURN(argvi);
28016 : fail:
28017 :
28018 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28019 0 : SWIG_croak_null();
28020 : }
28021 : }
28022 :
28023 :
28024 0 : XS(_wrap_layerObj_getProjection) {
28025 : {
28026 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28027 0 : void *argp1 = 0 ;
28028 : int res1 = 0 ;
28029 : int argvi = 0;
28030 : char *result = 0 ;
28031 0 : dXSARGS;
28032 :
28033 0 : if ((items < 1) || (items > 1)) {
28034 0 : SWIG_croak("Usage: layerObj_getProjection(self);");
28035 : }
28036 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28037 0 : if (!SWIG_IsOK(res1)) {
28038 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProjection" "', argument " "1"" of type '" "struct layerObj *""'");
28039 : }
28040 0 : arg1 = (struct layerObj *)(argp1);
28041 : result = (char *)layerObj_getProjection(arg1);
28042 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28043 :
28044 0 : free((char*)result);
28045 0 : XSRETURN(argvi);
28046 : fail:
28047 :
28048 0 : SWIG_croak_null();
28049 : }
28050 : }
28051 :
28052 :
28053 0 : XS(_wrap_layerObj_setProjection) {
28054 : {
28055 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28056 : char *arg2 = (char *) 0 ;
28057 0 : void *argp1 = 0 ;
28058 : int res1 = 0 ;
28059 : int res2 ;
28060 0 : char *buf2 = 0 ;
28061 0 : int alloc2 = 0 ;
28062 : int argvi = 0;
28063 : int result;
28064 0 : dXSARGS;
28065 :
28066 0 : if ((items < 2) || (items > 2)) {
28067 0 : SWIG_croak("Usage: layerObj_setProjection(self,proj4);");
28068 : }
28069 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28070 0 : if (!SWIG_IsOK(res1)) {
28071 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProjection" "', argument " "1"" of type '" "struct layerObj *""'");
28072 : }
28073 0 : arg1 = (struct layerObj *)(argp1);
28074 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28075 0 : if (!SWIG_IsOK(res2)) {
28076 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProjection" "', argument " "2"" of type '" "char *""'");
28077 : }
28078 0 : arg2 = (char *)(buf2);
28079 : result = (int)layerObj_setProjection(arg1,arg2);
28080 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28081 :
28082 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28083 0 : XSRETURN(argvi);
28084 : fail:
28085 :
28086 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28087 0 : SWIG_croak_null();
28088 : }
28089 : }
28090 :
28091 :
28092 0 : XS(_wrap_layerObj_addFeature) {
28093 : {
28094 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28095 : shapeObj *arg2 = (shapeObj *) 0 ;
28096 0 : void *argp1 = 0 ;
28097 : int res1 = 0 ;
28098 0 : void *argp2 = 0 ;
28099 : int res2 = 0 ;
28100 : int argvi = 0;
28101 : int result;
28102 0 : dXSARGS;
28103 :
28104 0 : if ((items < 2) || (items > 2)) {
28105 0 : SWIG_croak("Usage: layerObj_addFeature(self,shape);");
28106 : }
28107 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28108 0 : if (!SWIG_IsOK(res1)) {
28109 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addFeature" "', argument " "1"" of type '" "struct layerObj *""'");
28110 : }
28111 0 : arg1 = (struct layerObj *)(argp1);
28112 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
28113 0 : if (!SWIG_IsOK(res2)) {
28114 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addFeature" "', argument " "2"" of type '" "shapeObj *""'");
28115 : }
28116 0 : arg2 = (shapeObj *)(argp2);
28117 0 : result = (int)layerObj_addFeature(arg1,arg2);
28118 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28119 :
28120 :
28121 0 : XSRETURN(argvi);
28122 : fail:
28123 :
28124 :
28125 0 : SWIG_croak_null();
28126 : }
28127 : }
28128 :
28129 :
28130 0 : XS(_wrap_layerObj_getNumFeatures) {
28131 : {
28132 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28133 0 : void *argp1 = 0 ;
28134 : int res1 = 0 ;
28135 : int argvi = 0;
28136 : int result;
28137 0 : dXSARGS;
28138 :
28139 0 : if ((items < 1) || (items > 1)) {
28140 0 : SWIG_croak("Usage: layerObj_getNumFeatures(self);");
28141 : }
28142 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28143 0 : if (!SWIG_IsOK(res1)) {
28144 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumFeatures" "', argument " "1"" of type '" "struct layerObj *""'");
28145 : }
28146 0 : arg1 = (struct layerObj *)(argp1);
28147 : result = (int)layerObj_getNumFeatures(arg1);
28148 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28149 :
28150 0 : XSRETURN(argvi);
28151 : fail:
28152 :
28153 0 : SWIG_croak_null();
28154 : }
28155 : }
28156 :
28157 :
28158 0 : XS(_wrap_layerObj_getExtent) {
28159 : {
28160 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28161 0 : void *argp1 = 0 ;
28162 : int res1 = 0 ;
28163 : int argvi = 0;
28164 : rectObj *result = 0 ;
28165 0 : dXSARGS;
28166 :
28167 0 : if ((items < 1) || (items > 1)) {
28168 0 : SWIG_croak("Usage: layerObj_getExtent(self);");
28169 : }
28170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28171 0 : if (!SWIG_IsOK(res1)) {
28172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getExtent" "', argument " "1"" of type '" "struct layerObj *""'");
28173 : }
28174 0 : arg1 = (struct layerObj *)(argp1);
28175 : result = (rectObj *)layerObj_getExtent(arg1);
28176 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
28177 :
28178 0 : XSRETURN(argvi);
28179 : fail:
28180 :
28181 0 : SWIG_croak_null();
28182 : }
28183 : }
28184 :
28185 :
28186 0 : XS(_wrap_layerObj_setExtent) {
28187 : {
28188 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28189 : double arg2 = (double) -1.0 ;
28190 : double arg3 = (double) -1.0 ;
28191 : double arg4 = (double) -1.0 ;
28192 : double arg5 = (double) -1.0 ;
28193 0 : void *argp1 = 0 ;
28194 : int res1 = 0 ;
28195 : double val2 ;
28196 : int ecode2 = 0 ;
28197 : double val3 ;
28198 : int ecode3 = 0 ;
28199 : double val4 ;
28200 : int ecode4 = 0 ;
28201 : double val5 ;
28202 : int ecode5 = 0 ;
28203 : int argvi = 0;
28204 : int result;
28205 0 : dXSARGS;
28206 :
28207 0 : if ((items < 1) || (items > 5)) {
28208 0 : SWIG_croak("Usage: layerObj_setExtent(self,minx,miny,maxx,maxy);");
28209 : }
28210 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28211 0 : if (!SWIG_IsOK(res1)) {
28212 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setExtent" "', argument " "1"" of type '" "struct layerObj *""'");
28213 : }
28214 0 : arg1 = (struct layerObj *)(argp1);
28215 0 : if (items > 1) {
28216 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28217 0 : if (!SWIG_IsOK(ecode2)) {
28218 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setExtent" "', argument " "2"" of type '" "double""'");
28219 : }
28220 0 : arg2 = (double)(val2);
28221 : }
28222 0 : if (items > 2) {
28223 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
28224 0 : if (!SWIG_IsOK(ecode3)) {
28225 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setExtent" "', argument " "3"" of type '" "double""'");
28226 : }
28227 0 : arg3 = (double)(val3);
28228 : }
28229 0 : if (items > 3) {
28230 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
28231 0 : if (!SWIG_IsOK(ecode4)) {
28232 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_setExtent" "', argument " "4"" of type '" "double""'");
28233 : }
28234 0 : arg4 = (double)(val4);
28235 : }
28236 0 : if (items > 4) {
28237 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
28238 0 : if (!SWIG_IsOK(ecode5)) {
28239 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_setExtent" "', argument " "5"" of type '" "double""'");
28240 : }
28241 0 : arg5 = (double)(val5);
28242 : }
28243 0 : result = (int)layerObj_setExtent(arg1,arg2,arg3,arg4,arg5);
28244 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28245 :
28246 :
28247 :
28248 :
28249 :
28250 0 : XSRETURN(argvi);
28251 : fail:
28252 :
28253 :
28254 :
28255 :
28256 :
28257 0 : SWIG_croak_null();
28258 : }
28259 : }
28260 :
28261 :
28262 0 : XS(_wrap_layerObj_getMetaData) {
28263 : {
28264 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28265 : char *arg2 = (char *) 0 ;
28266 0 : void *argp1 = 0 ;
28267 : int res1 = 0 ;
28268 : int res2 ;
28269 0 : char *buf2 = 0 ;
28270 0 : int alloc2 = 0 ;
28271 : int argvi = 0;
28272 : char *result = 0 ;
28273 0 : dXSARGS;
28274 :
28275 0 : if ((items < 2) || (items > 2)) {
28276 0 : SWIG_croak("Usage: layerObj_getMetaData(self,name);");
28277 : }
28278 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28279 0 : if (!SWIG_IsOK(res1)) {
28280 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28281 : }
28282 0 : arg1 = (struct layerObj *)(argp1);
28283 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28284 0 : if (!SWIG_IsOK(res2)) {
28285 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getMetaData" "', argument " "2"" of type '" "char *""'");
28286 : }
28287 0 : arg2 = (char *)(buf2);
28288 0 : result = (char *)layerObj_getMetaData(arg1,arg2);
28289 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28290 :
28291 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28292 0 : XSRETURN(argvi);
28293 : fail:
28294 :
28295 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28296 0 : SWIG_croak_null();
28297 : }
28298 : }
28299 :
28300 :
28301 0 : XS(_wrap_layerObj_setMetaData) {
28302 : {
28303 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28304 : char *arg2 = (char *) 0 ;
28305 : char *arg3 = (char *) 0 ;
28306 0 : void *argp1 = 0 ;
28307 : int res1 = 0 ;
28308 : int res2 ;
28309 0 : char *buf2 = 0 ;
28310 0 : int alloc2 = 0 ;
28311 : int res3 ;
28312 0 : char *buf3 = 0 ;
28313 0 : int alloc3 = 0 ;
28314 : int argvi = 0;
28315 : int result;
28316 0 : dXSARGS;
28317 :
28318 0 : if ((items < 3) || (items > 3)) {
28319 0 : SWIG_croak("Usage: layerObj_setMetaData(self,name,value);");
28320 : }
28321 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28322 0 : if (!SWIG_IsOK(res1)) {
28323 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28324 : }
28325 0 : arg1 = (struct layerObj *)(argp1);
28326 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28327 0 : if (!SWIG_IsOK(res2)) {
28328 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setMetaData" "', argument " "2"" of type '" "char *""'");
28329 : }
28330 0 : arg2 = (char *)(buf2);
28331 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28332 0 : if (!SWIG_IsOK(res3)) {
28333 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setMetaData" "', argument " "3"" of type '" "char *""'");
28334 : }
28335 0 : arg3 = (char *)(buf3);
28336 : result = (int)layerObj_setMetaData(arg1,arg2,arg3);
28337 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28338 :
28339 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28340 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28341 0 : XSRETURN(argvi);
28342 : fail:
28343 :
28344 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28345 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28346 0 : SWIG_croak_null();
28347 : }
28348 : }
28349 :
28350 :
28351 0 : XS(_wrap_layerObj_removeMetaData) {
28352 : {
28353 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28354 : char *arg2 = (char *) 0 ;
28355 0 : void *argp1 = 0 ;
28356 : int res1 = 0 ;
28357 : int res2 ;
28358 0 : char *buf2 = 0 ;
28359 0 : int alloc2 = 0 ;
28360 : int argvi = 0;
28361 : int result;
28362 0 : dXSARGS;
28363 :
28364 0 : if ((items < 2) || (items > 2)) {
28365 0 : SWIG_croak("Usage: layerObj_removeMetaData(self,name);");
28366 : }
28367 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28368 0 : if (!SWIG_IsOK(res1)) {
28369 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28370 : }
28371 0 : arg1 = (struct layerObj *)(argp1);
28372 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28373 0 : if (!SWIG_IsOK(res2)) {
28374 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
28375 : }
28376 0 : arg2 = (char *)(buf2);
28377 : result = (int)layerObj_removeMetaData(arg1,arg2);
28378 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28379 :
28380 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28381 0 : XSRETURN(argvi);
28382 : fail:
28383 :
28384 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28385 0 : SWIG_croak_null();
28386 : }
28387 : }
28388 :
28389 :
28390 0 : XS(_wrap_layerObj_getFirstMetaDataKey) {
28391 : {
28392 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28393 0 : void *argp1 = 0 ;
28394 : int res1 = 0 ;
28395 : int argvi = 0;
28396 : char *result = 0 ;
28397 0 : dXSARGS;
28398 :
28399 0 : if ((items < 1) || (items > 1)) {
28400 0 : SWIG_croak("Usage: layerObj_getFirstMetaDataKey(self);");
28401 : }
28402 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28403 0 : if (!SWIG_IsOK(res1)) {
28404 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'");
28405 : }
28406 0 : arg1 = (struct layerObj *)(argp1);
28407 : result = (char *)layerObj_getFirstMetaDataKey(arg1);
28408 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28409 :
28410 0 : XSRETURN(argvi);
28411 : fail:
28412 :
28413 0 : SWIG_croak_null();
28414 : }
28415 : }
28416 :
28417 :
28418 0 : XS(_wrap_layerObj_getNextMetaDataKey) {
28419 : {
28420 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28421 : char *arg2 = (char *) 0 ;
28422 0 : void *argp1 = 0 ;
28423 : int res1 = 0 ;
28424 : int res2 ;
28425 0 : char *buf2 = 0 ;
28426 0 : int alloc2 = 0 ;
28427 : int argvi = 0;
28428 : char *result = 0 ;
28429 0 : dXSARGS;
28430 :
28431 0 : if ((items < 2) || (items > 2)) {
28432 0 : SWIG_croak("Usage: layerObj_getNextMetaDataKey(self,lastkey);");
28433 : }
28434 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28435 0 : if (!SWIG_IsOK(res1)) {
28436 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'");
28437 : }
28438 0 : arg1 = (struct layerObj *)(argp1);
28439 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28440 0 : if (!SWIG_IsOK(res2)) {
28441 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
28442 : }
28443 0 : arg2 = (char *)(buf2);
28444 : result = (char *)layerObj_getNextMetaDataKey(arg1,arg2);
28445 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28446 :
28447 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28448 0 : XSRETURN(argvi);
28449 : fail:
28450 :
28451 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28452 0 : SWIG_croak_null();
28453 : }
28454 : }
28455 :
28456 :
28457 0 : XS(_wrap_layerObj_getWMSFeatureInfoURL) {
28458 : {
28459 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28460 : mapObj *arg2 = (mapObj *) 0 ;
28461 : int arg3 ;
28462 : int arg4 ;
28463 : int arg5 ;
28464 : char *arg6 = (char *) 0 ;
28465 0 : void *argp1 = 0 ;
28466 : int res1 = 0 ;
28467 0 : void *argp2 = 0 ;
28468 : int res2 = 0 ;
28469 : int val3 ;
28470 : int ecode3 = 0 ;
28471 : int val4 ;
28472 : int ecode4 = 0 ;
28473 : int val5 ;
28474 : int ecode5 = 0 ;
28475 : int res6 ;
28476 0 : char *buf6 = 0 ;
28477 0 : int alloc6 = 0 ;
28478 : int argvi = 0;
28479 : char *result = 0 ;
28480 0 : dXSARGS;
28481 :
28482 0 : if ((items < 6) || (items > 6)) {
28483 0 : SWIG_croak("Usage: layerObj_getWMSFeatureInfoURL(self,map,click_x,click_y,feature_count,info_format);");
28484 : }
28485 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28486 0 : if (!SWIG_IsOK(res1)) {
28487 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "1"" of type '" "struct layerObj *""'");
28488 : }
28489 0 : arg1 = (struct layerObj *)(argp1);
28490 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
28491 0 : if (!SWIG_IsOK(res2)) {
28492 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "2"" of type '" "mapObj *""'");
28493 : }
28494 0 : arg2 = (mapObj *)(argp2);
28495 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
28496 0 : if (!SWIG_IsOK(ecode3)) {
28497 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "3"" of type '" "int""'");
28498 : }
28499 0 : arg3 = (int)(val3);
28500 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
28501 0 : if (!SWIG_IsOK(ecode4)) {
28502 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "4"" of type '" "int""'");
28503 : }
28504 0 : arg4 = (int)(val4);
28505 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
28506 0 : if (!SWIG_IsOK(ecode5)) {
28507 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "5"" of type '" "int""'");
28508 : }
28509 0 : arg5 = (int)(val5);
28510 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
28511 0 : if (!SWIG_IsOK(res6)) {
28512 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "6"" of type '" "char *""'");
28513 : }
28514 0 : arg6 = (char *)(buf6);
28515 : result = (char *)layerObj_getWMSFeatureInfoURL(arg1,arg2,arg3,arg4,arg5,arg6);
28516 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28517 :
28518 :
28519 :
28520 :
28521 :
28522 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
28523 0 : free((char*)result);
28524 0 : XSRETURN(argvi);
28525 : fail:
28526 :
28527 :
28528 :
28529 :
28530 :
28531 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
28532 0 : SWIG_croak_null();
28533 : }
28534 : }
28535 :
28536 :
28537 0 : XS(_wrap_layerObj_executeWFSGetFeature) {
28538 : {
28539 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28540 : layerObj *arg2 = (layerObj *) 0 ;
28541 0 : void *argp1 = 0 ;
28542 : int res1 = 0 ;
28543 0 : void *argp2 = 0 ;
28544 : int res2 = 0 ;
28545 : int argvi = 0;
28546 : char *result = 0 ;
28547 0 : dXSARGS;
28548 :
28549 0 : if ((items < 2) || (items > 2)) {
28550 0 : SWIG_croak("Usage: layerObj_executeWFSGetFeature(self,layer);");
28551 : }
28552 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28553 0 : if (!SWIG_IsOK(res1)) {
28554 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_executeWFSGetFeature" "', argument " "1"" of type '" "struct layerObj *""'");
28555 : }
28556 : arg1 = (struct layerObj *)(argp1);
28557 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 | 0 );
28558 0 : if (!SWIG_IsOK(res2)) {
28559 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_executeWFSGetFeature" "', argument " "2"" of type '" "layerObj *""'");
28560 : }
28561 0 : arg2 = (layerObj *)(argp2);
28562 : result = (char *)layerObj_executeWFSGetFeature(arg1,arg2);
28563 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28564 :
28565 :
28566 0 : free((char*)result);
28567 0 : XSRETURN(argvi);
28568 : fail:
28569 :
28570 :
28571 0 : SWIG_croak_null();
28572 : }
28573 : }
28574 :
28575 :
28576 0 : XS(_wrap_layerObj_applySLD) {
28577 : {
28578 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28579 : char *arg2 = (char *) 0 ;
28580 : char *arg3 = (char *) 0 ;
28581 0 : void *argp1 = 0 ;
28582 : int res1 = 0 ;
28583 : int res2 ;
28584 0 : char *buf2 = 0 ;
28585 0 : int alloc2 = 0 ;
28586 : int res3 ;
28587 0 : char *buf3 = 0 ;
28588 0 : int alloc3 = 0 ;
28589 : int argvi = 0;
28590 : int result;
28591 0 : dXSARGS;
28592 :
28593 0 : if ((items < 3) || (items > 3)) {
28594 0 : SWIG_croak("Usage: layerObj_applySLD(self,sld,stylelayer);");
28595 : }
28596 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28597 0 : if (!SWIG_IsOK(res1)) {
28598 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLD" "', argument " "1"" of type '" "struct layerObj *""'");
28599 : }
28600 0 : arg1 = (struct layerObj *)(argp1);
28601 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28602 0 : if (!SWIG_IsOK(res2)) {
28603 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLD" "', argument " "2"" of type '" "char *""'");
28604 : }
28605 0 : arg2 = (char *)(buf2);
28606 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28607 0 : if (!SWIG_IsOK(res3)) {
28608 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLD" "', argument " "3"" of type '" "char *""'");
28609 : }
28610 0 : arg3 = (char *)(buf3);
28611 : result = (int)layerObj_applySLD(arg1,arg2,arg3);
28612 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28613 :
28614 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28615 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28616 0 : XSRETURN(argvi);
28617 : fail:
28618 :
28619 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28620 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28621 0 : SWIG_croak_null();
28622 : }
28623 : }
28624 :
28625 :
28626 0 : XS(_wrap_layerObj_applySLDURL) {
28627 : {
28628 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28629 : char *arg2 = (char *) 0 ;
28630 : char *arg3 = (char *) 0 ;
28631 0 : void *argp1 = 0 ;
28632 : int res1 = 0 ;
28633 : int res2 ;
28634 0 : char *buf2 = 0 ;
28635 0 : int alloc2 = 0 ;
28636 : int res3 ;
28637 0 : char *buf3 = 0 ;
28638 0 : int alloc3 = 0 ;
28639 : int argvi = 0;
28640 : int result;
28641 0 : dXSARGS;
28642 :
28643 0 : if ((items < 3) || (items > 3)) {
28644 0 : SWIG_croak("Usage: layerObj_applySLDURL(self,sld,stylelayer);");
28645 : }
28646 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28647 0 : if (!SWIG_IsOK(res1)) {
28648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLDURL" "', argument " "1"" of type '" "struct layerObj *""'");
28649 : }
28650 0 : arg1 = (struct layerObj *)(argp1);
28651 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28652 0 : if (!SWIG_IsOK(res2)) {
28653 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
28654 : }
28655 0 : arg2 = (char *)(buf2);
28656 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28657 0 : if (!SWIG_IsOK(res3)) {
28658 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLDURL" "', argument " "3"" of type '" "char *""'");
28659 : }
28660 0 : arg3 = (char *)(buf3);
28661 : result = (int)layerObj_applySLDURL(arg1,arg2,arg3);
28662 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28663 :
28664 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28665 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28666 0 : XSRETURN(argvi);
28667 : fail:
28668 :
28669 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28670 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28671 0 : SWIG_croak_null();
28672 : }
28673 : }
28674 :
28675 :
28676 0 : XS(_wrap_layerObj_generateSLD) {
28677 : {
28678 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28679 0 : void *argp1 = 0 ;
28680 : int res1 = 0 ;
28681 : int argvi = 0;
28682 : char *result = 0 ;
28683 0 : dXSARGS;
28684 :
28685 0 : if ((items < 1) || (items > 1)) {
28686 0 : SWIG_croak("Usage: layerObj_generateSLD(self);");
28687 : }
28688 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28689 0 : if (!SWIG_IsOK(res1)) {
28690 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_generateSLD" "', argument " "1"" of type '" "struct layerObj *""'");
28691 : }
28692 0 : arg1 = (struct layerObj *)(argp1);
28693 : result = (char *)layerObj_generateSLD(arg1);
28694 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28695 :
28696 0 : free((char*)result);
28697 0 : XSRETURN(argvi);
28698 : fail:
28699 :
28700 0 : SWIG_croak_null();
28701 : }
28702 : }
28703 :
28704 :
28705 0 : XS(_wrap_layerObj_isVisible) {
28706 : {
28707 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28708 0 : void *argp1 = 0 ;
28709 : int res1 = 0 ;
28710 : int argvi = 0;
28711 : int result;
28712 0 : dXSARGS;
28713 :
28714 0 : if ((items < 1) || (items > 1)) {
28715 0 : SWIG_croak("Usage: layerObj_isVisible(self);");
28716 : }
28717 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28718 0 : if (!SWIG_IsOK(res1)) {
28719 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_isVisible" "', argument " "1"" of type '" "struct layerObj *""'");
28720 : }
28721 0 : arg1 = (struct layerObj *)(argp1);
28722 0 : result = (int)layerObj_isVisible(arg1);
28723 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28724 :
28725 0 : XSRETURN(argvi);
28726 : fail:
28727 :
28728 0 : SWIG_croak_null();
28729 : }
28730 : }
28731 :
28732 :
28733 0 : XS(_wrap_layerObj_moveClassUp) {
28734 : {
28735 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28736 : int arg2 ;
28737 0 : void *argp1 = 0 ;
28738 : int res1 = 0 ;
28739 : int val2 ;
28740 : int ecode2 = 0 ;
28741 : int argvi = 0;
28742 : int result;
28743 0 : dXSARGS;
28744 :
28745 0 : if ((items < 2) || (items > 2)) {
28746 0 : SWIG_croak("Usage: layerObj_moveClassUp(self,index);");
28747 : }
28748 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28749 0 : if (!SWIG_IsOK(res1)) {
28750 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassUp" "', argument " "1"" of type '" "struct layerObj *""'");
28751 : }
28752 0 : arg1 = (struct layerObj *)(argp1);
28753 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28754 0 : if (!SWIG_IsOK(ecode2)) {
28755 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassUp" "', argument " "2"" of type '" "int""'");
28756 : }
28757 0 : arg2 = (int)(val2);
28758 : result = (int)layerObj_moveClassUp(arg1,arg2);
28759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28760 :
28761 :
28762 0 : XSRETURN(argvi);
28763 : fail:
28764 :
28765 :
28766 0 : SWIG_croak_null();
28767 : }
28768 : }
28769 :
28770 :
28771 0 : XS(_wrap_layerObj_moveClassDown) {
28772 : {
28773 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28774 : int arg2 ;
28775 0 : void *argp1 = 0 ;
28776 : int res1 = 0 ;
28777 : int val2 ;
28778 : int ecode2 = 0 ;
28779 : int argvi = 0;
28780 : int result;
28781 0 : dXSARGS;
28782 :
28783 0 : if ((items < 2) || (items > 2)) {
28784 0 : SWIG_croak("Usage: layerObj_moveClassDown(self,index);");
28785 : }
28786 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28787 0 : if (!SWIG_IsOK(res1)) {
28788 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassDown" "', argument " "1"" of type '" "struct layerObj *""'");
28789 : }
28790 0 : arg1 = (struct layerObj *)(argp1);
28791 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28792 0 : if (!SWIG_IsOK(ecode2)) {
28793 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassDown" "', argument " "2"" of type '" "int""'");
28794 : }
28795 0 : arg2 = (int)(val2);
28796 : result = (int)layerObj_moveClassDown(arg1,arg2);
28797 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28798 :
28799 :
28800 0 : XSRETURN(argvi);
28801 : fail:
28802 :
28803 :
28804 0 : SWIG_croak_null();
28805 : }
28806 : }
28807 :
28808 :
28809 0 : XS(_wrap_layerObj_setProcessingKey) {
28810 : {
28811 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28812 : char *arg2 = (char *) 0 ;
28813 : char *arg3 = (char *) 0 ;
28814 0 : void *argp1 = 0 ;
28815 : int res1 = 0 ;
28816 : int res2 ;
28817 0 : char *buf2 = 0 ;
28818 0 : int alloc2 = 0 ;
28819 : int res3 ;
28820 0 : char *buf3 = 0 ;
28821 0 : int alloc3 = 0 ;
28822 : int argvi = 0;
28823 0 : dXSARGS;
28824 :
28825 0 : if ((items < 3) || (items > 3)) {
28826 0 : SWIG_croak("Usage: layerObj_setProcessingKey(self,key,value);");
28827 : }
28828 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28829 0 : if (!SWIG_IsOK(res1)) {
28830 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'");
28831 : }
28832 0 : arg1 = (struct layerObj *)(argp1);
28833 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28834 0 : if (!SWIG_IsOK(res2)) {
28835 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessingKey" "', argument " "2"" of type '" "char const *""'");
28836 : }
28837 0 : arg2 = (char *)(buf2);
28838 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28839 0 : if (!SWIG_IsOK(res3)) {
28840 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setProcessingKey" "', argument " "3"" of type '" "char const *""'");
28841 : }
28842 0 : arg3 = (char *)(buf3);
28843 : layerObj_setProcessingKey(arg1,(char const *)arg2,(char const *)arg3);
28844 0 : ST(argvi) = sv_newmortal();
28845 :
28846 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28847 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28848 0 : XSRETURN(argvi);
28849 : fail:
28850 :
28851 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28852 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28853 0 : SWIG_croak_null();
28854 : }
28855 : }
28856 :
28857 :
28858 0 : XS(_wrap_layerObj_setProcessing) {
28859 : {
28860 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28861 : char *arg2 = (char *) 0 ;
28862 0 : void *argp1 = 0 ;
28863 : int res1 = 0 ;
28864 : int res2 ;
28865 0 : char *buf2 = 0 ;
28866 0 : int alloc2 = 0 ;
28867 : int argvi = 0;
28868 0 : dXSARGS;
28869 :
28870 0 : if ((items < 2) || (items > 2)) {
28871 0 : SWIG_croak("Usage: layerObj_setProcessing(self,directive);");
28872 : }
28873 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28874 0 : if (!SWIG_IsOK(res1)) {
28875 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28876 : }
28877 0 : arg1 = (struct layerObj *)(argp1);
28878 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28879 0 : if (!SWIG_IsOK(res2)) {
28880 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessing" "', argument " "2"" of type '" "char const *""'");
28881 : }
28882 0 : arg2 = (char *)(buf2);
28883 : layerObj_setProcessing(arg1,(char const *)arg2);
28884 0 : ST(argvi) = sv_newmortal();
28885 :
28886 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28887 0 : XSRETURN(argvi);
28888 : fail:
28889 :
28890 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28891 0 : SWIG_croak_null();
28892 : }
28893 : }
28894 :
28895 :
28896 0 : XS(_wrap_layerObj_addProcessing) {
28897 : {
28898 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28899 : char *arg2 = (char *) 0 ;
28900 0 : void *argp1 = 0 ;
28901 : int res1 = 0 ;
28902 : int res2 ;
28903 0 : char *buf2 = 0 ;
28904 0 : int alloc2 = 0 ;
28905 : int argvi = 0;
28906 0 : dXSARGS;
28907 :
28908 0 : if ((items < 2) || (items > 2)) {
28909 0 : SWIG_croak("Usage: layerObj_addProcessing(self,directive);");
28910 : }
28911 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28912 0 : if (!SWIG_IsOK(res1)) {
28913 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28914 : }
28915 0 : arg1 = (struct layerObj *)(argp1);
28916 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28917 0 : if (!SWIG_IsOK(res2)) {
28918 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addProcessing" "', argument " "2"" of type '" "char const *""'");
28919 : }
28920 0 : arg2 = (char *)(buf2);
28921 : layerObj_addProcessing(arg1,(char const *)arg2);
28922 0 : ST(argvi) = sv_newmortal();
28923 :
28924 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28925 0 : XSRETURN(argvi);
28926 : fail:
28927 :
28928 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28929 0 : SWIG_croak_null();
28930 : }
28931 : }
28932 :
28933 :
28934 0 : XS(_wrap_layerObj_getProcessing) {
28935 : {
28936 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28937 : int arg2 ;
28938 0 : void *argp1 = 0 ;
28939 : int res1 = 0 ;
28940 : int val2 ;
28941 : int ecode2 = 0 ;
28942 : int argvi = 0;
28943 : char *result = 0 ;
28944 0 : dXSARGS;
28945 :
28946 0 : if ((items < 2) || (items > 2)) {
28947 0 : SWIG_croak("Usage: layerObj_getProcessing(self,index);");
28948 : }
28949 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28950 0 : if (!SWIG_IsOK(res1)) {
28951 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28952 : }
28953 0 : arg1 = (struct layerObj *)(argp1);
28954 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28955 0 : if (!SWIG_IsOK(ecode2)) {
28956 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getProcessing" "', argument " "2"" of type '" "int""'");
28957 : }
28958 0 : arg2 = (int)(val2);
28959 : result = (char *)layerObj_getProcessing(arg1,arg2);
28960 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28961 :
28962 :
28963 0 : XSRETURN(argvi);
28964 : fail:
28965 :
28966 :
28967 0 : SWIG_croak_null();
28968 : }
28969 : }
28970 :
28971 :
28972 0 : XS(_wrap_layerObj_getProcessingKey) {
28973 : {
28974 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28975 : char *arg2 = (char *) 0 ;
28976 0 : void *argp1 = 0 ;
28977 : int res1 = 0 ;
28978 : int res2 ;
28979 0 : char *buf2 = 0 ;
28980 0 : int alloc2 = 0 ;
28981 : int argvi = 0;
28982 : char *result = 0 ;
28983 0 : dXSARGS;
28984 :
28985 0 : if ((items < 2) || (items > 2)) {
28986 0 : SWIG_croak("Usage: layerObj_getProcessingKey(self,key);");
28987 : }
28988 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28989 0 : if (!SWIG_IsOK(res1)) {
28990 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'");
28991 : }
28992 0 : arg1 = (struct layerObj *)(argp1);
28993 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28994 0 : if (!SWIG_IsOK(res2)) {
28995 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getProcessingKey" "', argument " "2"" of type '" "char const *""'");
28996 : }
28997 0 : arg2 = (char *)(buf2);
28998 : result = (char *)layerObj_getProcessingKey(arg1,(char const *)arg2);
28999 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29000 :
29001 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29002 0 : XSRETURN(argvi);
29003 : fail:
29004 :
29005 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29006 0 : SWIG_croak_null();
29007 : }
29008 : }
29009 :
29010 :
29011 0 : XS(_wrap_layerObj_clearProcessing) {
29012 : {
29013 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29014 0 : void *argp1 = 0 ;
29015 : int res1 = 0 ;
29016 : int argvi = 0;
29017 : int result;
29018 0 : dXSARGS;
29019 :
29020 0 : if ((items < 1) || (items > 1)) {
29021 0 : SWIG_croak("Usage: layerObj_clearProcessing(self);");
29022 : }
29023 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29024 0 : if (!SWIG_IsOK(res1)) {
29025 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clearProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
29026 : }
29027 0 : arg1 = (struct layerObj *)(argp1);
29028 : result = (int)layerObj_clearProcessing(arg1);
29029 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29030 :
29031 0 : XSRETURN(argvi);
29032 : fail:
29033 :
29034 0 : SWIG_croak_null();
29035 : }
29036 : }
29037 :
29038 :
29039 0 : XS(_wrap_layerObj_setConnectionType) {
29040 : {
29041 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29042 : int arg2 ;
29043 : char *arg3 = (char *) 0 ;
29044 0 : void *argp1 = 0 ;
29045 : int res1 = 0 ;
29046 : int val2 ;
29047 : int ecode2 = 0 ;
29048 : int res3 ;
29049 0 : char *buf3 = 0 ;
29050 0 : int alloc3 = 0 ;
29051 : int argvi = 0;
29052 : int result;
29053 0 : dXSARGS;
29054 :
29055 0 : if ((items < 3) || (items > 3)) {
29056 0 : SWIG_croak("Usage: layerObj_setConnectionType(self,connectiontype,library_str);");
29057 : }
29058 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29059 0 : if (!SWIG_IsOK(res1)) {
29060 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setConnectionType" "', argument " "1"" of type '" "struct layerObj *""'");
29061 : }
29062 0 : arg1 = (struct layerObj *)(argp1);
29063 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29064 0 : if (!SWIG_IsOK(ecode2)) {
29065 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setConnectionType" "', argument " "2"" of type '" "int""'");
29066 : }
29067 0 : arg2 = (int)(val2);
29068 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
29069 0 : if (!SWIG_IsOK(res3)) {
29070 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setConnectionType" "', argument " "3"" of type '" "char const *""'");
29071 : }
29072 0 : arg3 = (char *)(buf3);
29073 0 : result = (int)layerObj_setConnectionType(arg1,arg2,(char const *)arg3);
29074 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29075 :
29076 :
29077 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
29078 0 : XSRETURN(argvi);
29079 : fail:
29080 :
29081 :
29082 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
29083 0 : SWIG_croak_null();
29084 : }
29085 : }
29086 :
29087 :
29088 0 : XS(_wrap_layerObj_getClassIndex) {
29089 : {
29090 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29091 : mapObj *arg2 = (mapObj *) 0 ;
29092 : shapeObj *arg3 = (shapeObj *) 0 ;
29093 : int *arg4 = (int *) NULL ;
29094 : int arg5 = (int) 0 ;
29095 0 : void *argp1 = 0 ;
29096 : int res1 = 0 ;
29097 0 : void *argp2 = 0 ;
29098 : int res2 = 0 ;
29099 0 : void *argp3 = 0 ;
29100 : int res3 = 0 ;
29101 0 : void *argp4 = 0 ;
29102 : int res4 = 0 ;
29103 : int val5 ;
29104 : int ecode5 = 0 ;
29105 : int argvi = 0;
29106 : int result;
29107 0 : dXSARGS;
29108 :
29109 0 : if ((items < 3) || (items > 5)) {
29110 0 : SWIG_croak("Usage: layerObj_getClassIndex(self,map,shape,classgroup,numclasses);");
29111 : }
29112 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29113 0 : if (!SWIG_IsOK(res1)) {
29114 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClassIndex" "', argument " "1"" of type '" "struct layerObj *""'");
29115 : }
29116 0 : arg1 = (struct layerObj *)(argp1);
29117 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
29118 0 : if (!SWIG_IsOK(res2)) {
29119 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getClassIndex" "', argument " "2"" of type '" "mapObj *""'");
29120 : }
29121 0 : arg2 = (mapObj *)(argp2);
29122 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
29123 0 : if (!SWIG_IsOK(res3)) {
29124 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_getClassIndex" "', argument " "3"" of type '" "shapeObj *""'");
29125 : }
29126 0 : arg3 = (shapeObj *)(argp3);
29127 0 : if (items > 3) {
29128 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_int, 0 | 0 );
29129 0 : if (!SWIG_IsOK(res4)) {
29130 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_getClassIndex" "', argument " "4"" of type '" "int *""'");
29131 : }
29132 0 : arg4 = (int *)(argp4);
29133 : }
29134 0 : if (items > 4) {
29135 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
29136 0 : if (!SWIG_IsOK(ecode5)) {
29137 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getClassIndex" "', argument " "5"" of type '" "int""'");
29138 : }
29139 0 : arg5 = (int)(val5);
29140 : }
29141 : result = (int)layerObj_getClassIndex(arg1,arg2,arg3,arg4,arg5);
29142 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29143 :
29144 :
29145 :
29146 :
29147 :
29148 0 : XSRETURN(argvi);
29149 : fail:
29150 :
29151 :
29152 :
29153 :
29154 :
29155 0 : SWIG_croak_null();
29156 : }
29157 : }
29158 :
29159 :
29160 0 : XS(_wrap_layerObj_getGeomTransform) {
29161 : {
29162 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29163 0 : void *argp1 = 0 ;
29164 : int res1 = 0 ;
29165 : int argvi = 0;
29166 : char *result = 0 ;
29167 0 : dXSARGS;
29168 :
29169 0 : if ((items < 1) || (items > 1)) {
29170 0 : SWIG_croak("Usage: layerObj_getGeomTransform(self);");
29171 : }
29172 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29173 0 : if (!SWIG_IsOK(res1)) {
29174 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'");
29175 : }
29176 0 : arg1 = (struct layerObj *)(argp1);
29177 : result = (char *)layerObj_getGeomTransform(arg1);
29178 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29179 :
29180 0 : XSRETURN(argvi);
29181 : fail:
29182 :
29183 0 : SWIG_croak_null();
29184 : }
29185 : }
29186 :
29187 :
29188 0 : XS(_wrap_layerObj_setGeomTransform) {
29189 : {
29190 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29191 : char *arg2 = (char *) 0 ;
29192 0 : void *argp1 = 0 ;
29193 : int res1 = 0 ;
29194 : int res2 ;
29195 0 : char *buf2 = 0 ;
29196 0 : int alloc2 = 0 ;
29197 : int argvi = 0;
29198 0 : dXSARGS;
29199 :
29200 0 : if ((items < 2) || (items > 2)) {
29201 0 : SWIG_croak("Usage: layerObj_setGeomTransform(self,transform);");
29202 : }
29203 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29204 0 : if (!SWIG_IsOK(res1)) {
29205 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'");
29206 : }
29207 0 : arg1 = (struct layerObj *)(argp1);
29208 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
29209 0 : if (!SWIG_IsOK(res2)) {
29210 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
29211 : }
29212 0 : arg2 = (char *)(buf2);
29213 0 : layerObj_setGeomTransform(arg1,arg2);
29214 0 : ST(argvi) = sv_newmortal();
29215 :
29216 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29217 0 : XSRETURN(argvi);
29218 : fail:
29219 :
29220 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29221 0 : SWIG_croak_null();
29222 : }
29223 : }
29224 :
29225 :
29226 0 : XS(_wrap_layerObj_getItemType) {
29227 : {
29228 : struct layerObj *arg1 = (struct layerObj *) 0 ;
29229 : int arg2 ;
29230 0 : void *argp1 = 0 ;
29231 : int res1 = 0 ;
29232 : int val2 ;
29233 : int ecode2 = 0 ;
29234 : int argvi = 0;
29235 : char *result = 0 ;
29236 0 : dXSARGS;
29237 :
29238 0 : if ((items < 2) || (items > 2)) {
29239 0 : SWIG_croak("Usage: layerObj_getItemType(self,i);");
29240 : }
29241 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
29242 0 : if (!SWIG_IsOK(res1)) {
29243 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItemType" "', argument " "1"" of type '" "struct layerObj *""'");
29244 : }
29245 0 : arg1 = (struct layerObj *)(argp1);
29246 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29247 0 : if (!SWIG_IsOK(ecode2)) {
29248 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItemType" "', argument " "2"" of type '" "int""'");
29249 : }
29250 0 : arg2 = (int)(val2);
29251 0 : result = (char *)layerObj_getItemType(arg1,arg2);
29252 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29253 :
29254 :
29255 0 : XSRETURN(argvi);
29256 : fail:
29257 :
29258 :
29259 0 : SWIG_croak_null();
29260 : }
29261 : }
29262 :
29263 :
29264 0 : XS(_wrap_mapObj_name_set) {
29265 : {
29266 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29267 : char *arg2 = (char *) 0 ;
29268 0 : void *argp1 = 0 ;
29269 : int res1 = 0 ;
29270 : int res2 ;
29271 0 : char *buf2 = 0 ;
29272 0 : int alloc2 = 0 ;
29273 : int argvi = 0;
29274 0 : dXSARGS;
29275 :
29276 0 : if ((items < 2) || (items > 2)) {
29277 0 : SWIG_croak("Usage: mapObj_name_set(self,name);");
29278 : }
29279 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29280 0 : if (!SWIG_IsOK(res1)) {
29281 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_set" "', argument " "1"" of type '" "struct mapObj *""'");
29282 : }
29283 0 : arg1 = (struct mapObj *)(argp1);
29284 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
29285 0 : if (!SWIG_IsOK(res2)) {
29286 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_name_set" "', argument " "2"" of type '" "char *""'");
29287 : }
29288 0 : arg2 = (char *)(buf2);
29289 : {
29290 0 : if (arg1->name) free((char*)arg1->name);
29291 0 : if (arg2) {
29292 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
29293 : strcpy((char*)arg1->name,arg2);
29294 : } else {
29295 0 : arg1->name = 0;
29296 : }
29297 : }
29298 0 : ST(argvi) = sv_newmortal();
29299 :
29300 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29301 0 : XSRETURN(argvi);
29302 : fail:
29303 :
29304 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29305 0 : SWIG_croak_null();
29306 : }
29307 : }
29308 :
29309 :
29310 0 : XS(_wrap_mapObj_name_get) {
29311 : {
29312 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29313 0 : void *argp1 = 0 ;
29314 : int res1 = 0 ;
29315 : int argvi = 0;
29316 : char *result = 0 ;
29317 0 : dXSARGS;
29318 :
29319 0 : if ((items < 1) || (items > 1)) {
29320 0 : SWIG_croak("Usage: mapObj_name_get(self);");
29321 : }
29322 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29323 0 : if (!SWIG_IsOK(res1)) {
29324 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_get" "', argument " "1"" of type '" "struct mapObj *""'");
29325 : }
29326 0 : arg1 = (struct mapObj *)(argp1);
29327 0 : result = (char *) ((arg1)->name);
29328 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29329 :
29330 0 : XSRETURN(argvi);
29331 : fail:
29332 :
29333 0 : SWIG_croak_null();
29334 : }
29335 : }
29336 :
29337 :
29338 0 : XS(_wrap_mapObj_status_set) {
29339 : {
29340 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29341 : int arg2 ;
29342 0 : void *argp1 = 0 ;
29343 : int res1 = 0 ;
29344 : int val2 ;
29345 : int ecode2 = 0 ;
29346 : int argvi = 0;
29347 0 : dXSARGS;
29348 :
29349 0 : if ((items < 2) || (items > 2)) {
29350 0 : SWIG_croak("Usage: mapObj_status_set(self,status);");
29351 : }
29352 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29353 0 : if (!SWIG_IsOK(res1)) {
29354 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_set" "', argument " "1"" of type '" "struct mapObj *""'");
29355 : }
29356 0 : arg1 = (struct mapObj *)(argp1);
29357 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29358 0 : if (!SWIG_IsOK(ecode2)) {
29359 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_status_set" "', argument " "2"" of type '" "int""'");
29360 : }
29361 0 : arg2 = (int)(val2);
29362 0 : if (arg1) (arg1)->status = arg2;
29363 0 : ST(argvi) = sv_newmortal();
29364 :
29365 :
29366 0 : XSRETURN(argvi);
29367 : fail:
29368 :
29369 :
29370 0 : SWIG_croak_null();
29371 : }
29372 : }
29373 :
29374 :
29375 0 : XS(_wrap_mapObj_status_get) {
29376 : {
29377 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29378 0 : void *argp1 = 0 ;
29379 : int res1 = 0 ;
29380 : int argvi = 0;
29381 : int result;
29382 0 : dXSARGS;
29383 :
29384 0 : if ((items < 1) || (items > 1)) {
29385 0 : SWIG_croak("Usage: mapObj_status_get(self);");
29386 : }
29387 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29388 0 : if (!SWIG_IsOK(res1)) {
29389 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_get" "', argument " "1"" of type '" "struct mapObj *""'");
29390 : }
29391 0 : arg1 = (struct mapObj *)(argp1);
29392 0 : result = (int) ((arg1)->status);
29393 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29394 :
29395 0 : XSRETURN(argvi);
29396 : fail:
29397 :
29398 0 : SWIG_croak_null();
29399 : }
29400 : }
29401 :
29402 :
29403 0 : XS(_wrap_mapObj_height_set) {
29404 : {
29405 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29406 : int arg2 ;
29407 0 : void *argp1 = 0 ;
29408 : int res1 = 0 ;
29409 : int val2 ;
29410 : int ecode2 = 0 ;
29411 : int argvi = 0;
29412 0 : dXSARGS;
29413 :
29414 0 : if ((items < 2) || (items > 2)) {
29415 0 : SWIG_croak("Usage: mapObj_height_set(self,height);");
29416 : }
29417 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29418 0 : if (!SWIG_IsOK(res1)) {
29419 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_set" "', argument " "1"" of type '" "struct mapObj *""'");
29420 : }
29421 0 : arg1 = (struct mapObj *)(argp1);
29422 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29423 0 : if (!SWIG_IsOK(ecode2)) {
29424 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_height_set" "', argument " "2"" of type '" "int""'");
29425 : }
29426 0 : arg2 = (int)(val2);
29427 0 : if (arg1) (arg1)->height = arg2;
29428 0 : ST(argvi) = sv_newmortal();
29429 :
29430 :
29431 0 : XSRETURN(argvi);
29432 : fail:
29433 :
29434 :
29435 0 : SWIG_croak_null();
29436 : }
29437 : }
29438 :
29439 :
29440 0 : XS(_wrap_mapObj_height_get) {
29441 : {
29442 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29443 0 : void *argp1 = 0 ;
29444 : int res1 = 0 ;
29445 : int argvi = 0;
29446 : int result;
29447 0 : dXSARGS;
29448 :
29449 0 : if ((items < 1) || (items > 1)) {
29450 0 : SWIG_croak("Usage: mapObj_height_get(self);");
29451 : }
29452 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29453 0 : if (!SWIG_IsOK(res1)) {
29454 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_get" "', argument " "1"" of type '" "struct mapObj *""'");
29455 : }
29456 0 : arg1 = (struct mapObj *)(argp1);
29457 0 : result = (int) ((arg1)->height);
29458 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29459 :
29460 0 : XSRETURN(argvi);
29461 : fail:
29462 :
29463 0 : SWIG_croak_null();
29464 : }
29465 : }
29466 :
29467 :
29468 0 : XS(_wrap_mapObj_width_set) {
29469 : {
29470 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29471 : int arg2 ;
29472 0 : void *argp1 = 0 ;
29473 : int res1 = 0 ;
29474 : int val2 ;
29475 : int ecode2 = 0 ;
29476 : int argvi = 0;
29477 0 : dXSARGS;
29478 :
29479 0 : if ((items < 2) || (items > 2)) {
29480 0 : SWIG_croak("Usage: mapObj_width_set(self,width);");
29481 : }
29482 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29483 0 : if (!SWIG_IsOK(res1)) {
29484 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_set" "', argument " "1"" of type '" "struct mapObj *""'");
29485 : }
29486 0 : arg1 = (struct mapObj *)(argp1);
29487 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29488 0 : if (!SWIG_IsOK(ecode2)) {
29489 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_width_set" "', argument " "2"" of type '" "int""'");
29490 : }
29491 0 : arg2 = (int)(val2);
29492 0 : if (arg1) (arg1)->width = arg2;
29493 0 : ST(argvi) = sv_newmortal();
29494 :
29495 :
29496 0 : XSRETURN(argvi);
29497 : fail:
29498 :
29499 :
29500 0 : SWIG_croak_null();
29501 : }
29502 : }
29503 :
29504 :
29505 0 : XS(_wrap_mapObj_width_get) {
29506 : {
29507 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29508 0 : void *argp1 = 0 ;
29509 : int res1 = 0 ;
29510 : int argvi = 0;
29511 : int result;
29512 0 : dXSARGS;
29513 :
29514 0 : if ((items < 1) || (items > 1)) {
29515 0 : SWIG_croak("Usage: mapObj_width_get(self);");
29516 : }
29517 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29518 0 : if (!SWIG_IsOK(res1)) {
29519 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_get" "', argument " "1"" of type '" "struct mapObj *""'");
29520 : }
29521 0 : arg1 = (struct mapObj *)(argp1);
29522 0 : result = (int) ((arg1)->width);
29523 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29524 :
29525 0 : XSRETURN(argvi);
29526 : fail:
29527 :
29528 0 : SWIG_croak_null();
29529 : }
29530 : }
29531 :
29532 :
29533 0 : XS(_wrap_mapObj_maxsize_set) {
29534 : {
29535 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29536 : int arg2 ;
29537 0 : void *argp1 = 0 ;
29538 : int res1 = 0 ;
29539 : int val2 ;
29540 : int ecode2 = 0 ;
29541 : int argvi = 0;
29542 0 : dXSARGS;
29543 :
29544 0 : if ((items < 2) || (items > 2)) {
29545 0 : SWIG_croak("Usage: mapObj_maxsize_set(self,maxsize);");
29546 : }
29547 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29548 0 : if (!SWIG_IsOK(res1)) {
29549 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_set" "', argument " "1"" of type '" "struct mapObj *""'");
29550 : }
29551 0 : arg1 = (struct mapObj *)(argp1);
29552 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29553 0 : if (!SWIG_IsOK(ecode2)) {
29554 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_maxsize_set" "', argument " "2"" of type '" "int""'");
29555 : }
29556 0 : arg2 = (int)(val2);
29557 0 : if (arg1) (arg1)->maxsize = arg2;
29558 0 : ST(argvi) = sv_newmortal();
29559 :
29560 :
29561 0 : XSRETURN(argvi);
29562 : fail:
29563 :
29564 :
29565 0 : SWIG_croak_null();
29566 : }
29567 : }
29568 :
29569 :
29570 0 : XS(_wrap_mapObj_maxsize_get) {
29571 : {
29572 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29573 0 : void *argp1 = 0 ;
29574 : int res1 = 0 ;
29575 : int argvi = 0;
29576 : int result;
29577 0 : dXSARGS;
29578 :
29579 0 : if ((items < 1) || (items > 1)) {
29580 0 : SWIG_croak("Usage: mapObj_maxsize_get(self);");
29581 : }
29582 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29583 0 : if (!SWIG_IsOK(res1)) {
29584 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_get" "', argument " "1"" of type '" "struct mapObj *""'");
29585 : }
29586 0 : arg1 = (struct mapObj *)(argp1);
29587 0 : result = (int) ((arg1)->maxsize);
29588 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29589 :
29590 0 : XSRETURN(argvi);
29591 : fail:
29592 :
29593 0 : SWIG_croak_null();
29594 : }
29595 : }
29596 :
29597 :
29598 0 : XS(_wrap_mapObj_refcount_get) {
29599 : {
29600 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29601 0 : void *argp1 = 0 ;
29602 : int res1 = 0 ;
29603 : int argvi = 0;
29604 : int result;
29605 0 : dXSARGS;
29606 :
29607 0 : if ((items < 1) || (items > 1)) {
29608 0 : SWIG_croak("Usage: mapObj_refcount_get(self);");
29609 : }
29610 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29611 0 : if (!SWIG_IsOK(res1)) {
29612 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_refcount_get" "', argument " "1"" of type '" "struct mapObj *""'");
29613 : }
29614 0 : arg1 = (struct mapObj *)(argp1);
29615 0 : result = (int) ((arg1)->refcount);
29616 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29617 :
29618 0 : XSRETURN(argvi);
29619 : fail:
29620 :
29621 0 : SWIG_croak_null();
29622 : }
29623 : }
29624 :
29625 :
29626 0 : XS(_wrap_mapObj_numlayers_get) {
29627 : {
29628 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29629 0 : void *argp1 = 0 ;
29630 : int res1 = 0 ;
29631 : int argvi = 0;
29632 : int result;
29633 0 : dXSARGS;
29634 :
29635 0 : if ((items < 1) || (items > 1)) {
29636 0 : SWIG_croak("Usage: mapObj_numlayers_get(self);");
29637 : }
29638 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29639 0 : if (!SWIG_IsOK(res1)) {
29640 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numlayers_get" "', argument " "1"" of type '" "struct mapObj *""'");
29641 : }
29642 0 : arg1 = (struct mapObj *)(argp1);
29643 0 : result = (int) ((arg1)->numlayers);
29644 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29645 :
29646 0 : XSRETURN(argvi);
29647 : fail:
29648 :
29649 0 : SWIG_croak_null();
29650 : }
29651 : }
29652 :
29653 :
29654 0 : XS(_wrap_mapObj_maxlayers_get) {
29655 : {
29656 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29657 0 : void *argp1 = 0 ;
29658 : int res1 = 0 ;
29659 : int argvi = 0;
29660 : int result;
29661 0 : dXSARGS;
29662 :
29663 0 : if ((items < 1) || (items > 1)) {
29664 0 : SWIG_croak("Usage: mapObj_maxlayers_get(self);");
29665 : }
29666 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29667 0 : if (!SWIG_IsOK(res1)) {
29668 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxlayers_get" "', argument " "1"" of type '" "struct mapObj *""'");
29669 : }
29670 0 : arg1 = (struct mapObj *)(argp1);
29671 0 : result = (int) ((arg1)->maxlayers);
29672 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29673 :
29674 0 : XSRETURN(argvi);
29675 : fail:
29676 :
29677 0 : SWIG_croak_null();
29678 : }
29679 : }
29680 :
29681 :
29682 0 : XS(_wrap_mapObj_symbolset_get) {
29683 : {
29684 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29685 0 : void *argp1 = 0 ;
29686 : int res1 = 0 ;
29687 : int argvi = 0;
29688 : symbolSetObj *result = 0 ;
29689 0 : dXSARGS;
29690 :
29691 0 : if ((items < 1) || (items > 1)) {
29692 0 : SWIG_croak("Usage: mapObj_symbolset_get(self);");
29693 : }
29694 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29695 0 : if (!SWIG_IsOK(res1)) {
29696 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_symbolset_get" "', argument " "1"" of type '" "struct mapObj *""'");
29697 : }
29698 0 : arg1 = (struct mapObj *)(argp1);
29699 0 : result = (symbolSetObj *)& ((arg1)->symbolset);
29700 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, 0 | SWIG_SHADOW); argvi++ ;
29701 :
29702 0 : XSRETURN(argvi);
29703 : fail:
29704 :
29705 0 : SWIG_croak_null();
29706 : }
29707 : }
29708 :
29709 :
29710 0 : XS(_wrap_mapObj_fontset_get) {
29711 : {
29712 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29713 0 : void *argp1 = 0 ;
29714 : int res1 = 0 ;
29715 : int argvi = 0;
29716 : fontSetObj *result = 0 ;
29717 0 : dXSARGS;
29718 :
29719 0 : if ((items < 1) || (items > 1)) {
29720 0 : SWIG_croak("Usage: mapObj_fontset_get(self);");
29721 : }
29722 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29723 0 : if (!SWIG_IsOK(res1)) {
29724 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_fontset_get" "', argument " "1"" of type '" "struct mapObj *""'");
29725 : }
29726 0 : arg1 = (struct mapObj *)(argp1);
29727 0 : result = (fontSetObj *)& ((arg1)->fontset);
29728 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, 0 | SWIG_SHADOW); argvi++ ;
29729 :
29730 0 : XSRETURN(argvi);
29731 : fail:
29732 :
29733 0 : SWIG_croak_null();
29734 : }
29735 : }
29736 :
29737 :
29738 0 : XS(_wrap_mapObj_labelcache_get) {
29739 : {
29740 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29741 0 : void *argp1 = 0 ;
29742 : int res1 = 0 ;
29743 : int argvi = 0;
29744 : labelCacheObj *result = 0 ;
29745 0 : dXSARGS;
29746 :
29747 0 : if ((items < 1) || (items > 1)) {
29748 0 : SWIG_croak("Usage: mapObj_labelcache_get(self);");
29749 : }
29750 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29751 0 : if (!SWIG_IsOK(res1)) {
29752 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_labelcache_get" "', argument " "1"" of type '" "struct mapObj *""'");
29753 : }
29754 0 : arg1 = (struct mapObj *)(argp1);
29755 0 : result = (labelCacheObj *)& ((arg1)->labelcache);
29756 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, 0 | SWIG_SHADOW); argvi++ ;
29757 :
29758 0 : XSRETURN(argvi);
29759 : fail:
29760 :
29761 0 : SWIG_croak_null();
29762 : }
29763 : }
29764 :
29765 :
29766 0 : XS(_wrap_mapObj_transparent_set) {
29767 : {
29768 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29769 : int arg2 ;
29770 0 : void *argp1 = 0 ;
29771 : int res1 = 0 ;
29772 : int val2 ;
29773 : int ecode2 = 0 ;
29774 : int argvi = 0;
29775 0 : dXSARGS;
29776 :
29777 0 : if ((items < 2) || (items > 2)) {
29778 0 : SWIG_croak("Usage: mapObj_transparent_set(self,transparent);");
29779 : }
29780 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29781 0 : if (!SWIG_IsOK(res1)) {
29782 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_set" "', argument " "1"" of type '" "struct mapObj *""'");
29783 : }
29784 0 : arg1 = (struct mapObj *)(argp1);
29785 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29786 0 : if (!SWIG_IsOK(ecode2)) {
29787 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_transparent_set" "', argument " "2"" of type '" "int""'");
29788 : }
29789 0 : arg2 = (int)(val2);
29790 0 : if (arg1) (arg1)->transparent = arg2;
29791 0 : ST(argvi) = sv_newmortal();
29792 :
29793 :
29794 0 : XSRETURN(argvi);
29795 : fail:
29796 :
29797 :
29798 0 : SWIG_croak_null();
29799 : }
29800 : }
29801 :
29802 :
29803 0 : XS(_wrap_mapObj_transparent_get) {
29804 : {
29805 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29806 0 : void *argp1 = 0 ;
29807 : int res1 = 0 ;
29808 : int argvi = 0;
29809 : int result;
29810 0 : dXSARGS;
29811 :
29812 0 : if ((items < 1) || (items > 1)) {
29813 0 : SWIG_croak("Usage: mapObj_transparent_get(self);");
29814 : }
29815 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29816 0 : if (!SWIG_IsOK(res1)) {
29817 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_get" "', argument " "1"" of type '" "struct mapObj *""'");
29818 : }
29819 0 : arg1 = (struct mapObj *)(argp1);
29820 0 : result = (int) ((arg1)->transparent);
29821 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29822 :
29823 0 : XSRETURN(argvi);
29824 : fail:
29825 :
29826 0 : SWIG_croak_null();
29827 : }
29828 : }
29829 :
29830 :
29831 0 : XS(_wrap_mapObj_interlace_set) {
29832 : {
29833 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29834 : int arg2 ;
29835 0 : void *argp1 = 0 ;
29836 : int res1 = 0 ;
29837 : int val2 ;
29838 : int ecode2 = 0 ;
29839 : int argvi = 0;
29840 0 : dXSARGS;
29841 :
29842 0 : if ((items < 2) || (items > 2)) {
29843 0 : SWIG_croak("Usage: mapObj_interlace_set(self,interlace);");
29844 : }
29845 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29846 0 : if (!SWIG_IsOK(res1)) {
29847 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_set" "', argument " "1"" of type '" "struct mapObj *""'");
29848 : }
29849 0 : arg1 = (struct mapObj *)(argp1);
29850 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29851 0 : if (!SWIG_IsOK(ecode2)) {
29852 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_interlace_set" "', argument " "2"" of type '" "int""'");
29853 : }
29854 0 : arg2 = (int)(val2);
29855 0 : if (arg1) (arg1)->interlace = arg2;
29856 0 : ST(argvi) = sv_newmortal();
29857 :
29858 :
29859 0 : XSRETURN(argvi);
29860 : fail:
29861 :
29862 :
29863 0 : SWIG_croak_null();
29864 : }
29865 : }
29866 :
29867 :
29868 0 : XS(_wrap_mapObj_interlace_get) {
29869 : {
29870 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29871 0 : void *argp1 = 0 ;
29872 : int res1 = 0 ;
29873 : int argvi = 0;
29874 : int result;
29875 0 : dXSARGS;
29876 :
29877 0 : if ((items < 1) || (items > 1)) {
29878 0 : SWIG_croak("Usage: mapObj_interlace_get(self);");
29879 : }
29880 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29881 0 : if (!SWIG_IsOK(res1)) {
29882 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_get" "', argument " "1"" of type '" "struct mapObj *""'");
29883 : }
29884 0 : arg1 = (struct mapObj *)(argp1);
29885 0 : result = (int) ((arg1)->interlace);
29886 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29887 :
29888 0 : XSRETURN(argvi);
29889 : fail:
29890 :
29891 0 : SWIG_croak_null();
29892 : }
29893 : }
29894 :
29895 :
29896 0 : XS(_wrap_mapObj_imagequality_set) {
29897 : {
29898 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29899 : int arg2 ;
29900 0 : void *argp1 = 0 ;
29901 : int res1 = 0 ;
29902 : int val2 ;
29903 : int ecode2 = 0 ;
29904 : int argvi = 0;
29905 0 : dXSARGS;
29906 :
29907 0 : if ((items < 2) || (items > 2)) {
29908 0 : SWIG_croak("Usage: mapObj_imagequality_set(self,imagequality);");
29909 : }
29910 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29911 0 : if (!SWIG_IsOK(res1)) {
29912 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_set" "', argument " "1"" of type '" "struct mapObj *""'");
29913 : }
29914 0 : arg1 = (struct mapObj *)(argp1);
29915 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29916 0 : if (!SWIG_IsOK(ecode2)) {
29917 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_imagequality_set" "', argument " "2"" of type '" "int""'");
29918 : }
29919 0 : arg2 = (int)(val2);
29920 0 : if (arg1) (arg1)->imagequality = arg2;
29921 0 : ST(argvi) = sv_newmortal();
29922 :
29923 :
29924 0 : XSRETURN(argvi);
29925 : fail:
29926 :
29927 :
29928 0 : SWIG_croak_null();
29929 : }
29930 : }
29931 :
29932 :
29933 0 : XS(_wrap_mapObj_imagequality_get) {
29934 : {
29935 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29936 0 : void *argp1 = 0 ;
29937 : int res1 = 0 ;
29938 : int argvi = 0;
29939 : int result;
29940 0 : dXSARGS;
29941 :
29942 0 : if ((items < 1) || (items > 1)) {
29943 0 : SWIG_croak("Usage: mapObj_imagequality_get(self);");
29944 : }
29945 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29946 0 : if (!SWIG_IsOK(res1)) {
29947 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_get" "', argument " "1"" of type '" "struct mapObj *""'");
29948 : }
29949 0 : arg1 = (struct mapObj *)(argp1);
29950 0 : result = (int) ((arg1)->imagequality);
29951 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29952 :
29953 0 : XSRETURN(argvi);
29954 : fail:
29955 :
29956 0 : SWIG_croak_null();
29957 : }
29958 : }
29959 :
29960 :
29961 0 : XS(_wrap_mapObj_extent_set) {
29962 : {
29963 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29964 : rectObj *arg2 = (rectObj *) 0 ;
29965 0 : void *argp1 = 0 ;
29966 : int res1 = 0 ;
29967 0 : void *argp2 = 0 ;
29968 : int res2 = 0 ;
29969 : int argvi = 0;
29970 0 : dXSARGS;
29971 :
29972 0 : if ((items < 2) || (items > 2)) {
29973 0 : SWIG_croak("Usage: mapObj_extent_set(self,extent);");
29974 : }
29975 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29976 0 : if (!SWIG_IsOK(res1)) {
29977 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_set" "', argument " "1"" of type '" "struct mapObj *""'");
29978 : }
29979 0 : arg1 = (struct mapObj *)(argp1);
29980 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
29981 0 : if (!SWIG_IsOK(res2)) {
29982 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
29983 : }
29984 0 : arg2 = (rectObj *)(argp2);
29985 0 : if (arg1) (arg1)->extent = *arg2;
29986 0 : ST(argvi) = sv_newmortal();
29987 :
29988 :
29989 0 : XSRETURN(argvi);
29990 : fail:
29991 :
29992 :
29993 0 : SWIG_croak_null();
29994 : }
29995 : }
29996 :
29997 :
29998 0 : XS(_wrap_mapObj_extent_get) {
29999 : {
30000 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30001 0 : void *argp1 = 0 ;
30002 : int res1 = 0 ;
30003 : int argvi = 0;
30004 : rectObj *result = 0 ;
30005 0 : dXSARGS;
30006 :
30007 0 : if ((items < 1) || (items > 1)) {
30008 0 : SWIG_croak("Usage: mapObj_extent_get(self);");
30009 : }
30010 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30011 0 : if (!SWIG_IsOK(res1)) {
30012 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_get" "', argument " "1"" of type '" "struct mapObj *""'");
30013 : }
30014 0 : arg1 = (struct mapObj *)(argp1);
30015 0 : result = (rectObj *)& ((arg1)->extent);
30016 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
30017 :
30018 0 : XSRETURN(argvi);
30019 : fail:
30020 :
30021 0 : SWIG_croak_null();
30022 : }
30023 : }
30024 :
30025 :
30026 0 : XS(_wrap_mapObj_cellsize_set) {
30027 : {
30028 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30029 : double arg2 ;
30030 0 : void *argp1 = 0 ;
30031 : int res1 = 0 ;
30032 : double val2 ;
30033 : int ecode2 = 0 ;
30034 : int argvi = 0;
30035 0 : dXSARGS;
30036 :
30037 0 : if ((items < 2) || (items > 2)) {
30038 0 : SWIG_croak("Usage: mapObj_cellsize_set(self,cellsize);");
30039 : }
30040 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30041 0 : if (!SWIG_IsOK(res1)) {
30042 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_set" "', argument " "1"" of type '" "struct mapObj *""'");
30043 : }
30044 0 : arg1 = (struct mapObj *)(argp1);
30045 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30046 0 : if (!SWIG_IsOK(ecode2)) {
30047 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_cellsize_set" "', argument " "2"" of type '" "double""'");
30048 : }
30049 0 : arg2 = (double)(val2);
30050 0 : if (arg1) (arg1)->cellsize = arg2;
30051 0 : ST(argvi) = sv_newmortal();
30052 :
30053 :
30054 0 : XSRETURN(argvi);
30055 : fail:
30056 :
30057 :
30058 0 : SWIG_croak_null();
30059 : }
30060 : }
30061 :
30062 :
30063 0 : XS(_wrap_mapObj_cellsize_get) {
30064 : {
30065 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30066 0 : void *argp1 = 0 ;
30067 : int res1 = 0 ;
30068 : int argvi = 0;
30069 : double result;
30070 0 : dXSARGS;
30071 :
30072 0 : if ((items < 1) || (items > 1)) {
30073 0 : SWIG_croak("Usage: mapObj_cellsize_get(self);");
30074 : }
30075 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30076 0 : if (!SWIG_IsOK(res1)) {
30077 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_get" "', argument " "1"" of type '" "struct mapObj *""'");
30078 : }
30079 0 : arg1 = (struct mapObj *)(argp1);
30080 0 : result = (double) ((arg1)->cellsize);
30081 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30082 :
30083 0 : XSRETURN(argvi);
30084 : fail:
30085 :
30086 0 : SWIG_croak_null();
30087 : }
30088 : }
30089 :
30090 :
30091 0 : XS(_wrap_mapObj_units_set) {
30092 : {
30093 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30094 : enum MS_UNITS arg2 ;
30095 0 : void *argp1 = 0 ;
30096 : int res1 = 0 ;
30097 : int val2 ;
30098 : int ecode2 = 0 ;
30099 : int argvi = 0;
30100 0 : dXSARGS;
30101 :
30102 0 : if ((items < 2) || (items > 2)) {
30103 0 : SWIG_croak("Usage: mapObj_units_set(self,units);");
30104 : }
30105 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30106 0 : if (!SWIG_IsOK(res1)) {
30107 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_set" "', argument " "1"" of type '" "struct mapObj *""'");
30108 : }
30109 0 : arg1 = (struct mapObj *)(argp1);
30110 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30111 0 : if (!SWIG_IsOK(ecode2)) {
30112 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_units_set" "', argument " "2"" of type '" "enum MS_UNITS""'");
30113 : }
30114 0 : arg2 = (enum MS_UNITS)(val2);
30115 0 : if (arg1) (arg1)->units = arg2;
30116 0 : ST(argvi) = sv_newmortal();
30117 :
30118 :
30119 0 : XSRETURN(argvi);
30120 : fail:
30121 :
30122 :
30123 0 : SWIG_croak_null();
30124 : }
30125 : }
30126 :
30127 :
30128 0 : XS(_wrap_mapObj_units_get) {
30129 : {
30130 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30131 0 : void *argp1 = 0 ;
30132 : int res1 = 0 ;
30133 : int argvi = 0;
30134 : enum MS_UNITS result;
30135 0 : dXSARGS;
30136 :
30137 0 : if ((items < 1) || (items > 1)) {
30138 0 : SWIG_croak("Usage: mapObj_units_get(self);");
30139 : }
30140 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30141 0 : if (!SWIG_IsOK(res1)) {
30142 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_get" "', argument " "1"" of type '" "struct mapObj *""'");
30143 : }
30144 0 : arg1 = (struct mapObj *)(argp1);
30145 0 : result = (enum MS_UNITS) ((arg1)->units);
30146 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30147 :
30148 0 : XSRETURN(argvi);
30149 : fail:
30150 :
30151 0 : SWIG_croak_null();
30152 : }
30153 : }
30154 :
30155 :
30156 0 : XS(_wrap_mapObj_scaledenom_set) {
30157 : {
30158 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30159 : double arg2 ;
30160 0 : void *argp1 = 0 ;
30161 : int res1 = 0 ;
30162 : double val2 ;
30163 : int ecode2 = 0 ;
30164 : int argvi = 0;
30165 0 : dXSARGS;
30166 :
30167 0 : if ((items < 2) || (items > 2)) {
30168 0 : SWIG_croak("Usage: mapObj_scaledenom_set(self,scaledenom);");
30169 : }
30170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30171 0 : if (!SWIG_IsOK(res1)) {
30172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_set" "', argument " "1"" of type '" "struct mapObj *""'");
30173 : }
30174 0 : arg1 = (struct mapObj *)(argp1);
30175 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30176 0 : if (!SWIG_IsOK(ecode2)) {
30177 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaledenom_set" "', argument " "2"" of type '" "double""'");
30178 : }
30179 0 : arg2 = (double)(val2);
30180 0 : if (arg1) (arg1)->scaledenom = arg2;
30181 0 : ST(argvi) = sv_newmortal();
30182 :
30183 :
30184 0 : XSRETURN(argvi);
30185 : fail:
30186 :
30187 :
30188 0 : SWIG_croak_null();
30189 : }
30190 : }
30191 :
30192 :
30193 0 : XS(_wrap_mapObj_scaledenom_get) {
30194 : {
30195 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30196 0 : void *argp1 = 0 ;
30197 : int res1 = 0 ;
30198 : int argvi = 0;
30199 : double result;
30200 0 : dXSARGS;
30201 :
30202 0 : if ((items < 1) || (items > 1)) {
30203 0 : SWIG_croak("Usage: mapObj_scaledenom_get(self);");
30204 : }
30205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30206 0 : if (!SWIG_IsOK(res1)) {
30207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_get" "', argument " "1"" of type '" "struct mapObj *""'");
30208 : }
30209 0 : arg1 = (struct mapObj *)(argp1);
30210 0 : result = (double) ((arg1)->scaledenom);
30211 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30212 :
30213 0 : XSRETURN(argvi);
30214 : fail:
30215 :
30216 0 : SWIG_croak_null();
30217 : }
30218 : }
30219 :
30220 :
30221 0 : XS(_wrap_mapObj_resolution_set) {
30222 : {
30223 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30224 : double arg2 ;
30225 0 : void *argp1 = 0 ;
30226 : int res1 = 0 ;
30227 : double val2 ;
30228 : int ecode2 = 0 ;
30229 : int argvi = 0;
30230 0 : dXSARGS;
30231 :
30232 0 : if ((items < 2) || (items > 2)) {
30233 0 : SWIG_croak("Usage: mapObj_resolution_set(self,resolution);");
30234 : }
30235 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30236 0 : if (!SWIG_IsOK(res1)) {
30237 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_set" "', argument " "1"" of type '" "struct mapObj *""'");
30238 : }
30239 0 : arg1 = (struct mapObj *)(argp1);
30240 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30241 0 : if (!SWIG_IsOK(ecode2)) {
30242 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_resolution_set" "', argument " "2"" of type '" "double""'");
30243 : }
30244 0 : arg2 = (double)(val2);
30245 0 : if (arg1) (arg1)->resolution = arg2;
30246 0 : ST(argvi) = sv_newmortal();
30247 :
30248 :
30249 0 : XSRETURN(argvi);
30250 : fail:
30251 :
30252 :
30253 0 : SWIG_croak_null();
30254 : }
30255 : }
30256 :
30257 :
30258 0 : XS(_wrap_mapObj_resolution_get) {
30259 : {
30260 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30261 0 : void *argp1 = 0 ;
30262 : int res1 = 0 ;
30263 : int argvi = 0;
30264 : double result;
30265 0 : dXSARGS;
30266 :
30267 0 : if ((items < 1) || (items > 1)) {
30268 0 : SWIG_croak("Usage: mapObj_resolution_get(self);");
30269 : }
30270 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30271 0 : if (!SWIG_IsOK(res1)) {
30272 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_get" "', argument " "1"" of type '" "struct mapObj *""'");
30273 : }
30274 0 : arg1 = (struct mapObj *)(argp1);
30275 0 : result = (double) ((arg1)->resolution);
30276 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30277 :
30278 0 : XSRETURN(argvi);
30279 : fail:
30280 :
30281 0 : SWIG_croak_null();
30282 : }
30283 : }
30284 :
30285 :
30286 0 : XS(_wrap_mapObj_defresolution_set) {
30287 : {
30288 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30289 : double arg2 ;
30290 0 : void *argp1 = 0 ;
30291 : int res1 = 0 ;
30292 : double val2 ;
30293 : int ecode2 = 0 ;
30294 : int argvi = 0;
30295 0 : dXSARGS;
30296 :
30297 0 : if ((items < 2) || (items > 2)) {
30298 0 : SWIG_croak("Usage: mapObj_defresolution_set(self,defresolution);");
30299 : }
30300 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30301 0 : if (!SWIG_IsOK(res1)) {
30302 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_set" "', argument " "1"" of type '" "struct mapObj *""'");
30303 : }
30304 0 : arg1 = (struct mapObj *)(argp1);
30305 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30306 0 : if (!SWIG_IsOK(ecode2)) {
30307 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_defresolution_set" "', argument " "2"" of type '" "double""'");
30308 : }
30309 0 : arg2 = (double)(val2);
30310 0 : if (arg1) (arg1)->defresolution = arg2;
30311 0 : ST(argvi) = sv_newmortal();
30312 :
30313 :
30314 0 : XSRETURN(argvi);
30315 : fail:
30316 :
30317 :
30318 0 : SWIG_croak_null();
30319 : }
30320 : }
30321 :
30322 :
30323 0 : XS(_wrap_mapObj_defresolution_get) {
30324 : {
30325 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30326 0 : void *argp1 = 0 ;
30327 : int res1 = 0 ;
30328 : int argvi = 0;
30329 : double result;
30330 0 : dXSARGS;
30331 :
30332 0 : if ((items < 1) || (items > 1)) {
30333 0 : SWIG_croak("Usage: mapObj_defresolution_get(self);");
30334 : }
30335 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30336 0 : if (!SWIG_IsOK(res1)) {
30337 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_get" "', argument " "1"" of type '" "struct mapObj *""'");
30338 : }
30339 0 : arg1 = (struct mapObj *)(argp1);
30340 0 : result = (double) ((arg1)->defresolution);
30341 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30342 :
30343 0 : XSRETURN(argvi);
30344 : fail:
30345 :
30346 0 : SWIG_croak_null();
30347 : }
30348 : }
30349 :
30350 :
30351 0 : XS(_wrap_mapObj_shapepath_set) {
30352 : {
30353 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30354 : char *arg2 = (char *) 0 ;
30355 0 : void *argp1 = 0 ;
30356 : int res1 = 0 ;
30357 : int res2 ;
30358 0 : char *buf2 = 0 ;
30359 0 : int alloc2 = 0 ;
30360 : int argvi = 0;
30361 0 : dXSARGS;
30362 :
30363 0 : if ((items < 2) || (items > 2)) {
30364 0 : SWIG_croak("Usage: mapObj_shapepath_set(self,shapepath);");
30365 : }
30366 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30367 0 : if (!SWIG_IsOK(res1)) {
30368 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_set" "', argument " "1"" of type '" "struct mapObj *""'");
30369 : }
30370 0 : arg1 = (struct mapObj *)(argp1);
30371 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30372 0 : if (!SWIG_IsOK(res2)) {
30373 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_shapepath_set" "', argument " "2"" of type '" "char *""'");
30374 : }
30375 0 : arg2 = (char *)(buf2);
30376 : {
30377 0 : if (arg1->shapepath) free((char*)arg1->shapepath);
30378 0 : if (arg2) {
30379 0 : arg1->shapepath = (char *) malloc(strlen(arg2)+1);
30380 : strcpy((char*)arg1->shapepath,arg2);
30381 : } else {
30382 0 : arg1->shapepath = 0;
30383 : }
30384 : }
30385 0 : ST(argvi) = sv_newmortal();
30386 :
30387 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30388 0 : XSRETURN(argvi);
30389 : fail:
30390 :
30391 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30392 0 : SWIG_croak_null();
30393 : }
30394 : }
30395 :
30396 :
30397 0 : XS(_wrap_mapObj_shapepath_get) {
30398 : {
30399 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30400 0 : void *argp1 = 0 ;
30401 : int res1 = 0 ;
30402 : int argvi = 0;
30403 : char *result = 0 ;
30404 0 : dXSARGS;
30405 :
30406 0 : if ((items < 1) || (items > 1)) {
30407 0 : SWIG_croak("Usage: mapObj_shapepath_get(self);");
30408 : }
30409 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30410 0 : if (!SWIG_IsOK(res1)) {
30411 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_get" "', argument " "1"" of type '" "struct mapObj *""'");
30412 : }
30413 0 : arg1 = (struct mapObj *)(argp1);
30414 0 : result = (char *) ((arg1)->shapepath);
30415 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30416 :
30417 0 : XSRETURN(argvi);
30418 : fail:
30419 :
30420 0 : SWIG_croak_null();
30421 : }
30422 : }
30423 :
30424 :
30425 0 : XS(_wrap_mapObj_mappath_set) {
30426 : {
30427 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30428 : char *arg2 = (char *) 0 ;
30429 0 : void *argp1 = 0 ;
30430 : int res1 = 0 ;
30431 : int res2 ;
30432 0 : char *buf2 = 0 ;
30433 0 : int alloc2 = 0 ;
30434 : int argvi = 0;
30435 0 : dXSARGS;
30436 :
30437 0 : if ((items < 2) || (items > 2)) {
30438 0 : SWIG_croak("Usage: mapObj_mappath_set(self,mappath);");
30439 : }
30440 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30441 0 : if (!SWIG_IsOK(res1)) {
30442 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_set" "', argument " "1"" of type '" "struct mapObj *""'");
30443 : }
30444 0 : arg1 = (struct mapObj *)(argp1);
30445 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30446 0 : if (!SWIG_IsOK(res2)) {
30447 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_mappath_set" "', argument " "2"" of type '" "char *""'");
30448 : }
30449 0 : arg2 = (char *)(buf2);
30450 : {
30451 0 : if (arg1->mappath) free((char*)arg1->mappath);
30452 0 : if (arg2) {
30453 0 : arg1->mappath = (char *) malloc(strlen(arg2)+1);
30454 : strcpy((char*)arg1->mappath,arg2);
30455 : } else {
30456 0 : arg1->mappath = 0;
30457 : }
30458 : }
30459 0 : ST(argvi) = sv_newmortal();
30460 :
30461 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30462 0 : XSRETURN(argvi);
30463 : fail:
30464 :
30465 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30466 0 : SWIG_croak_null();
30467 : }
30468 : }
30469 :
30470 :
30471 0 : XS(_wrap_mapObj_mappath_get) {
30472 : {
30473 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30474 0 : void *argp1 = 0 ;
30475 : int res1 = 0 ;
30476 : int argvi = 0;
30477 : char *result = 0 ;
30478 0 : dXSARGS;
30479 :
30480 0 : if ((items < 1) || (items > 1)) {
30481 0 : SWIG_croak("Usage: mapObj_mappath_get(self);");
30482 : }
30483 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30484 0 : if (!SWIG_IsOK(res1)) {
30485 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_get" "', argument " "1"" of type '" "struct mapObj *""'");
30486 : }
30487 0 : arg1 = (struct mapObj *)(argp1);
30488 0 : result = (char *) ((arg1)->mappath);
30489 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30490 :
30491 0 : XSRETURN(argvi);
30492 : fail:
30493 :
30494 0 : SWIG_croak_null();
30495 : }
30496 : }
30497 :
30498 :
30499 0 : XS(_wrap_mapObj_imagecolor_set) {
30500 : {
30501 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30502 : colorObj *arg2 = (colorObj *) 0 ;
30503 0 : void *argp1 = 0 ;
30504 : int res1 = 0 ;
30505 0 : void *argp2 = 0 ;
30506 : int res2 = 0 ;
30507 : int argvi = 0;
30508 0 : dXSARGS;
30509 :
30510 0 : if ((items < 2) || (items > 2)) {
30511 0 : SWIG_croak("Usage: mapObj_imagecolor_set(self,imagecolor);");
30512 : }
30513 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30514 0 : if (!SWIG_IsOK(res1)) {
30515 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_set" "', argument " "1"" of type '" "struct mapObj *""'");
30516 : }
30517 0 : arg1 = (struct mapObj *)(argp1);
30518 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
30519 0 : if (!SWIG_IsOK(res2)) {
30520 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
30521 : }
30522 0 : arg2 = (colorObj *)(argp2);
30523 0 : if (arg1) (arg1)->imagecolor = *arg2;
30524 0 : ST(argvi) = sv_newmortal();
30525 :
30526 :
30527 0 : XSRETURN(argvi);
30528 : fail:
30529 :
30530 :
30531 0 : SWIG_croak_null();
30532 : }
30533 : }
30534 :
30535 :
30536 0 : XS(_wrap_mapObj_imagecolor_get) {
30537 : {
30538 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30539 0 : void *argp1 = 0 ;
30540 : int res1 = 0 ;
30541 : int argvi = 0;
30542 : colorObj *result = 0 ;
30543 0 : dXSARGS;
30544 :
30545 0 : if ((items < 1) || (items > 1)) {
30546 0 : SWIG_croak("Usage: mapObj_imagecolor_get(self);");
30547 : }
30548 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30549 0 : if (!SWIG_IsOK(res1)) {
30550 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_get" "', argument " "1"" of type '" "struct mapObj *""'");
30551 : }
30552 0 : arg1 = (struct mapObj *)(argp1);
30553 0 : result = (colorObj *)& ((arg1)->imagecolor);
30554 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
30555 :
30556 0 : XSRETURN(argvi);
30557 : fail:
30558 :
30559 0 : SWIG_croak_null();
30560 : }
30561 : }
30562 :
30563 :
30564 0 : XS(_wrap_mapObj_numoutputformats_get) {
30565 : {
30566 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30567 0 : void *argp1 = 0 ;
30568 : int res1 = 0 ;
30569 : int argvi = 0;
30570 : int result;
30571 0 : dXSARGS;
30572 :
30573 0 : if ((items < 1) || (items > 1)) {
30574 0 : SWIG_croak("Usage: mapObj_numoutputformats_get(self);");
30575 : }
30576 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30577 0 : if (!SWIG_IsOK(res1)) {
30578 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numoutputformats_get" "', argument " "1"" of type '" "struct mapObj *""'");
30579 : }
30580 0 : arg1 = (struct mapObj *)(argp1);
30581 0 : result = (int) ((arg1)->numoutputformats);
30582 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30583 :
30584 0 : XSRETURN(argvi);
30585 : fail:
30586 :
30587 0 : SWIG_croak_null();
30588 : }
30589 : }
30590 :
30591 :
30592 0 : XS(_wrap_mapObj_outputformat_get) {
30593 : {
30594 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30595 0 : void *argp1 = 0 ;
30596 : int res1 = 0 ;
30597 : int argvi = 0;
30598 : outputFormatObj *result = 0 ;
30599 0 : dXSARGS;
30600 :
30601 0 : if ((items < 1) || (items > 1)) {
30602 0 : SWIG_croak("Usage: mapObj_outputformat_get(self);");
30603 : }
30604 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30605 0 : if (!SWIG_IsOK(res1)) {
30606 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_outputformat_get" "', argument " "1"" of type '" "struct mapObj *""'");
30607 : }
30608 0 : arg1 = (struct mapObj *)(argp1);
30609 0 : result = (outputFormatObj *) ((arg1)->outputformat);
30610 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
30611 :
30612 0 : XSRETURN(argvi);
30613 : fail:
30614 :
30615 0 : SWIG_croak_null();
30616 : }
30617 : }
30618 :
30619 :
30620 0 : XS(_wrap_mapObj_imagetype_get) {
30621 : {
30622 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30623 0 : void *argp1 = 0 ;
30624 : int res1 = 0 ;
30625 : int argvi = 0;
30626 : char *result = 0 ;
30627 0 : dXSARGS;
30628 :
30629 0 : if ((items < 1) || (items > 1)) {
30630 0 : SWIG_croak("Usage: mapObj_imagetype_get(self);");
30631 : }
30632 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30633 0 : if (!SWIG_IsOK(res1)) {
30634 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagetype_get" "', argument " "1"" of type '" "struct mapObj *""'");
30635 : }
30636 0 : arg1 = (struct mapObj *)(argp1);
30637 0 : result = (char *) ((arg1)->imagetype);
30638 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30639 :
30640 0 : XSRETURN(argvi);
30641 : fail:
30642 :
30643 0 : SWIG_croak_null();
30644 : }
30645 : }
30646 :
30647 :
30648 0 : XS(_wrap_mapObj_reference_get) {
30649 : {
30650 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30651 0 : void *argp1 = 0 ;
30652 : int res1 = 0 ;
30653 : int argvi = 0;
30654 : referenceMapObj *result = 0 ;
30655 0 : dXSARGS;
30656 :
30657 0 : if ((items < 1) || (items > 1)) {
30658 0 : SWIG_croak("Usage: mapObj_reference_get(self);");
30659 : }
30660 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30661 0 : if (!SWIG_IsOK(res1)) {
30662 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_reference_get" "', argument " "1"" of type '" "struct mapObj *""'");
30663 : }
30664 0 : arg1 = (struct mapObj *)(argp1);
30665 0 : result = (referenceMapObj *)& ((arg1)->reference);
30666 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, 0 | SWIG_SHADOW); argvi++ ;
30667 :
30668 0 : XSRETURN(argvi);
30669 : fail:
30670 :
30671 0 : SWIG_croak_null();
30672 : }
30673 : }
30674 :
30675 :
30676 0 : XS(_wrap_mapObj_scalebar_get) {
30677 : {
30678 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30679 0 : void *argp1 = 0 ;
30680 : int res1 = 0 ;
30681 : int argvi = 0;
30682 : scalebarObj *result = 0 ;
30683 0 : dXSARGS;
30684 :
30685 0 : if ((items < 1) || (items > 1)) {
30686 0 : SWIG_croak("Usage: mapObj_scalebar_get(self);");
30687 : }
30688 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30689 0 : if (!SWIG_IsOK(res1)) {
30690 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scalebar_get" "', argument " "1"" of type '" "struct mapObj *""'");
30691 : }
30692 0 : arg1 = (struct mapObj *)(argp1);
30693 0 : result = (scalebarObj *)& ((arg1)->scalebar);
30694 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, 0 | SWIG_SHADOW); argvi++ ;
30695 :
30696 0 : XSRETURN(argvi);
30697 : fail:
30698 :
30699 0 : SWIG_croak_null();
30700 : }
30701 : }
30702 :
30703 :
30704 0 : XS(_wrap_mapObj_legend_get) {
30705 : {
30706 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30707 0 : void *argp1 = 0 ;
30708 : int res1 = 0 ;
30709 : int argvi = 0;
30710 : legendObj *result = 0 ;
30711 0 : dXSARGS;
30712 :
30713 0 : if ((items < 1) || (items > 1)) {
30714 0 : SWIG_croak("Usage: mapObj_legend_get(self);");
30715 : }
30716 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30717 0 : if (!SWIG_IsOK(res1)) {
30718 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_legend_get" "', argument " "1"" of type '" "struct mapObj *""'");
30719 : }
30720 0 : arg1 = (struct mapObj *)(argp1);
30721 0 : result = (legendObj *)& ((arg1)->legend);
30722 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, 0 | SWIG_SHADOW); argvi++ ;
30723 :
30724 0 : XSRETURN(argvi);
30725 : fail:
30726 :
30727 0 : SWIG_croak_null();
30728 : }
30729 : }
30730 :
30731 :
30732 0 : XS(_wrap_mapObj_querymap_get) {
30733 : {
30734 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30735 0 : void *argp1 = 0 ;
30736 : int res1 = 0 ;
30737 : int argvi = 0;
30738 : queryMapObj *result = 0 ;
30739 0 : dXSARGS;
30740 :
30741 0 : if ((items < 1) || (items > 1)) {
30742 0 : SWIG_croak("Usage: mapObj_querymap_get(self);");
30743 : }
30744 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30745 0 : if (!SWIG_IsOK(res1)) {
30746 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_querymap_get" "', argument " "1"" of type '" "struct mapObj *""'");
30747 : }
30748 0 : arg1 = (struct mapObj *)(argp1);
30749 0 : result = (queryMapObj *)& ((arg1)->querymap);
30750 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, 0 | SWIG_SHADOW); argvi++ ;
30751 :
30752 0 : XSRETURN(argvi);
30753 : fail:
30754 :
30755 0 : SWIG_croak_null();
30756 : }
30757 : }
30758 :
30759 :
30760 0 : XS(_wrap_mapObj_web_get) {
30761 : {
30762 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30763 0 : void *argp1 = 0 ;
30764 : int res1 = 0 ;
30765 : int argvi = 0;
30766 : webObj *result = 0 ;
30767 0 : dXSARGS;
30768 :
30769 0 : if ((items < 1) || (items > 1)) {
30770 0 : SWIG_croak("Usage: mapObj_web_get(self);");
30771 : }
30772 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30773 0 : if (!SWIG_IsOK(res1)) {
30774 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_web_get" "', argument " "1"" of type '" "struct mapObj *""'");
30775 : }
30776 0 : arg1 = (struct mapObj *)(argp1);
30777 0 : result = (webObj *)& ((arg1)->web);
30778 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, 0 | SWIG_SHADOW); argvi++ ;
30779 :
30780 0 : XSRETURN(argvi);
30781 : fail:
30782 :
30783 0 : SWIG_croak_null();
30784 : }
30785 : }
30786 :
30787 :
30788 0 : XS(_wrap_mapObj_layerorder_set) {
30789 : {
30790 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30791 : int *arg2 = (int *) 0 ;
30792 0 : void *argp1 = 0 ;
30793 : int res1 = 0 ;
30794 0 : void *argp2 = 0 ;
30795 : int res2 = 0 ;
30796 : int argvi = 0;
30797 0 : dXSARGS;
30798 :
30799 0 : if ((items < 2) || (items > 2)) {
30800 0 : SWIG_croak("Usage: mapObj_layerorder_set(self,layerorder);");
30801 : }
30802 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30803 0 : if (!SWIG_IsOK(res1)) {
30804 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_set" "', argument " "1"" of type '" "struct mapObj *""'");
30805 : }
30806 0 : arg1 = (struct mapObj *)(argp1);
30807 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
30808 0 : if (!SWIG_IsOK(res2)) {
30809 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_layerorder_set" "', argument " "2"" of type '" "int *""'");
30810 : }
30811 0 : arg2 = (int *)(argp2);
30812 0 : if (arg1) (arg1)->layerorder = arg2;
30813 0 : ST(argvi) = sv_newmortal();
30814 :
30815 :
30816 0 : XSRETURN(argvi);
30817 : fail:
30818 :
30819 :
30820 0 : SWIG_croak_null();
30821 : }
30822 : }
30823 :
30824 :
30825 0 : XS(_wrap_mapObj_layerorder_get) {
30826 : {
30827 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30828 0 : void *argp1 = 0 ;
30829 : int res1 = 0 ;
30830 : int argvi = 0;
30831 : int *result = 0 ;
30832 0 : dXSARGS;
30833 :
30834 0 : if ((items < 1) || (items > 1)) {
30835 0 : SWIG_croak("Usage: mapObj_layerorder_get(self);");
30836 : }
30837 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30838 0 : if (!SWIG_IsOK(res1)) {
30839 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_get" "', argument " "1"" of type '" "struct mapObj *""'");
30840 : }
30841 0 : arg1 = (struct mapObj *)(argp1);
30842 0 : result = (int *) ((arg1)->layerorder);
30843 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
30844 :
30845 0 : XSRETURN(argvi);
30846 : fail:
30847 :
30848 0 : SWIG_croak_null();
30849 : }
30850 : }
30851 :
30852 :
30853 0 : XS(_wrap_mapObj_debug_set) {
30854 : {
30855 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30856 : int arg2 ;
30857 0 : void *argp1 = 0 ;
30858 : int res1 = 0 ;
30859 : int val2 ;
30860 : int ecode2 = 0 ;
30861 : int argvi = 0;
30862 0 : dXSARGS;
30863 :
30864 0 : if ((items < 2) || (items > 2)) {
30865 0 : SWIG_croak("Usage: mapObj_debug_set(self,debug);");
30866 : }
30867 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30868 0 : if (!SWIG_IsOK(res1)) {
30869 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_set" "', argument " "1"" of type '" "struct mapObj *""'");
30870 : }
30871 0 : arg1 = (struct mapObj *)(argp1);
30872 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30873 0 : if (!SWIG_IsOK(ecode2)) {
30874 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_debug_set" "', argument " "2"" of type '" "int""'");
30875 : }
30876 0 : arg2 = (int)(val2);
30877 0 : if (arg1) (arg1)->debug = arg2;
30878 0 : ST(argvi) = sv_newmortal();
30879 :
30880 :
30881 0 : XSRETURN(argvi);
30882 : fail:
30883 :
30884 :
30885 0 : SWIG_croak_null();
30886 : }
30887 : }
30888 :
30889 :
30890 0 : XS(_wrap_mapObj_debug_get) {
30891 : {
30892 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30893 0 : void *argp1 = 0 ;
30894 : int res1 = 0 ;
30895 : int argvi = 0;
30896 : int result;
30897 0 : dXSARGS;
30898 :
30899 0 : if ((items < 1) || (items > 1)) {
30900 0 : SWIG_croak("Usage: mapObj_debug_get(self);");
30901 : }
30902 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30903 0 : if (!SWIG_IsOK(res1)) {
30904 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_get" "', argument " "1"" of type '" "struct mapObj *""'");
30905 : }
30906 0 : arg1 = (struct mapObj *)(argp1);
30907 0 : result = (int) ((arg1)->debug);
30908 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30909 :
30910 0 : XSRETURN(argvi);
30911 : fail:
30912 :
30913 0 : SWIG_croak_null();
30914 : }
30915 : }
30916 :
30917 :
30918 0 : XS(_wrap_mapObj_datapattern_set) {
30919 : {
30920 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30921 : char *arg2 = (char *) 0 ;
30922 0 : void *argp1 = 0 ;
30923 : int res1 = 0 ;
30924 : int res2 ;
30925 0 : char *buf2 = 0 ;
30926 0 : int alloc2 = 0 ;
30927 : int argvi = 0;
30928 0 : dXSARGS;
30929 :
30930 0 : if ((items < 2) || (items > 2)) {
30931 0 : SWIG_croak("Usage: mapObj_datapattern_set(self,datapattern);");
30932 : }
30933 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30934 0 : if (!SWIG_IsOK(res1)) {
30935 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_set" "', argument " "1"" of type '" "struct mapObj *""'");
30936 : }
30937 0 : arg1 = (struct mapObj *)(argp1);
30938 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30939 0 : if (!SWIG_IsOK(res2)) {
30940 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_datapattern_set" "', argument " "2"" of type '" "char *""'");
30941 : }
30942 0 : arg2 = (char *)(buf2);
30943 : {
30944 0 : if (arg1->datapattern) free((char*)arg1->datapattern);
30945 0 : if (arg2) {
30946 0 : arg1->datapattern = (char *) malloc(strlen(arg2)+1);
30947 : strcpy((char*)arg1->datapattern,arg2);
30948 : } else {
30949 0 : arg1->datapattern = 0;
30950 : }
30951 : }
30952 0 : ST(argvi) = sv_newmortal();
30953 :
30954 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30955 0 : XSRETURN(argvi);
30956 : fail:
30957 :
30958 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30959 0 : SWIG_croak_null();
30960 : }
30961 : }
30962 :
30963 :
30964 0 : XS(_wrap_mapObj_datapattern_get) {
30965 : {
30966 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30967 0 : void *argp1 = 0 ;
30968 : int res1 = 0 ;
30969 : int argvi = 0;
30970 : char *result = 0 ;
30971 0 : dXSARGS;
30972 :
30973 0 : if ((items < 1) || (items > 1)) {
30974 0 : SWIG_croak("Usage: mapObj_datapattern_get(self);");
30975 : }
30976 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30977 0 : if (!SWIG_IsOK(res1)) {
30978 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_get" "', argument " "1"" of type '" "struct mapObj *""'");
30979 : }
30980 0 : arg1 = (struct mapObj *)(argp1);
30981 0 : result = (char *) ((arg1)->datapattern);
30982 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30983 :
30984 0 : XSRETURN(argvi);
30985 : fail:
30986 :
30987 0 : SWIG_croak_null();
30988 : }
30989 : }
30990 :
30991 :
30992 0 : XS(_wrap_mapObj_templatepattern_set) {
30993 : {
30994 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30995 : char *arg2 = (char *) 0 ;
30996 0 : void *argp1 = 0 ;
30997 : int res1 = 0 ;
30998 : int res2 ;
30999 0 : char *buf2 = 0 ;
31000 0 : int alloc2 = 0 ;
31001 : int argvi = 0;
31002 0 : dXSARGS;
31003 :
31004 0 : if ((items < 2) || (items > 2)) {
31005 0 : SWIG_croak("Usage: mapObj_templatepattern_set(self,templatepattern);");
31006 : }
31007 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31008 0 : if (!SWIG_IsOK(res1)) {
31009 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_set" "', argument " "1"" of type '" "struct mapObj *""'");
31010 : }
31011 0 : arg1 = (struct mapObj *)(argp1);
31012 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31013 0 : if (!SWIG_IsOK(res2)) {
31014 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_templatepattern_set" "', argument " "2"" of type '" "char *""'");
31015 : }
31016 0 : arg2 = (char *)(buf2);
31017 : {
31018 0 : if (arg1->templatepattern) free((char*)arg1->templatepattern);
31019 0 : if (arg2) {
31020 0 : arg1->templatepattern = (char *) malloc(strlen(arg2)+1);
31021 : strcpy((char*)arg1->templatepattern,arg2);
31022 : } else {
31023 0 : arg1->templatepattern = 0;
31024 : }
31025 : }
31026 0 : ST(argvi) = sv_newmortal();
31027 :
31028 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31029 0 : XSRETURN(argvi);
31030 : fail:
31031 :
31032 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31033 0 : SWIG_croak_null();
31034 : }
31035 : }
31036 :
31037 :
31038 0 : XS(_wrap_mapObj_templatepattern_get) {
31039 : {
31040 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31041 0 : void *argp1 = 0 ;
31042 : int res1 = 0 ;
31043 : int argvi = 0;
31044 : char *result = 0 ;
31045 0 : dXSARGS;
31046 :
31047 0 : if ((items < 1) || (items > 1)) {
31048 0 : SWIG_croak("Usage: mapObj_templatepattern_get(self);");
31049 : }
31050 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31051 0 : if (!SWIG_IsOK(res1)) {
31052 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_get" "', argument " "1"" of type '" "struct mapObj *""'");
31053 : }
31054 0 : arg1 = (struct mapObj *)(argp1);
31055 0 : result = (char *) ((arg1)->templatepattern);
31056 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
31057 :
31058 0 : XSRETURN(argvi);
31059 : fail:
31060 :
31061 0 : SWIG_croak_null();
31062 : }
31063 : }
31064 :
31065 :
31066 0 : XS(_wrap_mapObj_configoptions_get) {
31067 : {
31068 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31069 0 : void *argp1 = 0 ;
31070 : int res1 = 0 ;
31071 : int argvi = 0;
31072 : hashTableObj *result = 0 ;
31073 0 : dXSARGS;
31074 :
31075 0 : if ((items < 1) || (items > 1)) {
31076 0 : SWIG_croak("Usage: mapObj_configoptions_get(self);");
31077 : }
31078 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31079 0 : if (!SWIG_IsOK(res1)) {
31080 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_configoptions_get" "', argument " "1"" of type '" "struct mapObj *""'");
31081 : }
31082 0 : arg1 = (struct mapObj *)(argp1);
31083 0 : result = (hashTableObj *)& ((arg1)->configoptions);
31084 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
31085 :
31086 0 : XSRETURN(argvi);
31087 : fail:
31088 :
31089 0 : SWIG_croak_null();
31090 : }
31091 : }
31092 :
31093 :
31094 1 : XS(_wrap_new_mapObj) {
31095 : {
31096 : char *arg1 = (char *) "" ;
31097 : int res1 ;
31098 1 : char *buf1 = 0 ;
31099 1 : int alloc1 = 0 ;
31100 : int argvi = 0;
31101 : struct mapObj *result = 0 ;
31102 1 : dXSARGS;
31103 :
31104 1 : if ((items < 0) || (items > 1)) {
31105 0 : SWIG_croak("Usage: new_mapObj(filename);");
31106 : }
31107 1 : if (items > 0) {
31108 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
31109 1 : if (!SWIG_IsOK(res1)) {
31110 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_mapObj" "', argument " "1"" of type '" "char *""'");
31111 : }
31112 1 : arg1 = (char *)(buf1);
31113 : }
31114 1 : result = (struct mapObj *)new_mapObj(arg1);
31115 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31116 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
31117 1 : XSRETURN(argvi);
31118 : fail:
31119 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
31120 0 : SWIG_croak_null();
31121 : }
31122 : }
31123 :
31124 :
31125 1 : XS(_wrap_delete_mapObj) {
31126 : {
31127 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31128 1 : void *argp1 = 0 ;
31129 : int res1 = 0 ;
31130 : int argvi = 0;
31131 1 : dXSARGS;
31132 :
31133 1 : if ((items < 1) || (items > 1)) {
31134 0 : SWIG_croak("Usage: delete_mapObj(self);");
31135 : }
31136 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, SWIG_POINTER_DISOWN | 0 );
31137 1 : if (!SWIG_IsOK(res1)) {
31138 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_mapObj" "', argument " "1"" of type '" "struct mapObj *""'");
31139 : }
31140 1 : arg1 = (struct mapObj *)(argp1);
31141 : delete_mapObj(arg1);
31142 1 : ST(argvi) = sv_newmortal();
31143 :
31144 1 : XSRETURN(argvi);
31145 : fail:
31146 :
31147 0 : SWIG_croak_null();
31148 : }
31149 : }
31150 :
31151 :
31152 0 : XS(_wrap_mapObj_clone) {
31153 : {
31154 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31155 0 : void *argp1 = 0 ;
31156 : int res1 = 0 ;
31157 : int argvi = 0;
31158 : mapObj *result = 0 ;
31159 0 : dXSARGS;
31160 :
31161 0 : if ((items < 1) || (items > 1)) {
31162 0 : SWIG_croak("Usage: mapObj_clone(self);");
31163 : }
31164 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31165 0 : if (!SWIG_IsOK(res1)) {
31166 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_clone" "', argument " "1"" of type '" "struct mapObj *""'");
31167 : }
31168 0 : arg1 = (struct mapObj *)(argp1);
31169 0 : result = (mapObj *)mapObj_clone(arg1);
31170 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31171 :
31172 0 : XSRETURN(argvi);
31173 : fail:
31174 :
31175 0 : SWIG_croak_null();
31176 : }
31177 : }
31178 :
31179 :
31180 1 : XS(_wrap_mapObj_insertLayer) {
31181 : {
31182 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31183 : layerObj *arg2 = (layerObj *) 0 ;
31184 : int arg3 = (int) -1 ;
31185 1 : void *argp1 = 0 ;
31186 : int res1 = 0 ;
31187 1 : void *argp2 = 0 ;
31188 : int res2 = 0 ;
31189 : int val3 ;
31190 : int ecode3 = 0 ;
31191 : int argvi = 0;
31192 : int result;
31193 1 : dXSARGS;
31194 :
31195 1 : if ((items < 2) || (items > 3)) {
31196 0 : SWIG_croak("Usage: mapObj_insertLayer(self,layer,index);");
31197 : }
31198 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31199 1 : if (!SWIG_IsOK(res1)) {
31200 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_insertLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31201 : }
31202 1 : arg1 = (struct mapObj *)(argp1);
31203 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 | 0 );
31204 1 : if (!SWIG_IsOK(res2)) {
31205 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_insertLayer" "', argument " "2"" of type '" "layerObj *""'");
31206 : }
31207 1 : arg2 = (layerObj *)(argp2);
31208 1 : if (items > 2) {
31209 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31210 0 : if (!SWIG_IsOK(ecode3)) {
31211 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_insertLayer" "', argument " "3"" of type '" "int""'");
31212 : }
31213 0 : arg3 = (int)(val3);
31214 : }
31215 : result = (int)mapObj_insertLayer(arg1,arg2,arg3);
31216 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31217 :
31218 :
31219 :
31220 1 : XSRETURN(argvi);
31221 : fail:
31222 :
31223 :
31224 :
31225 0 : SWIG_croak_null();
31226 : }
31227 : }
31228 :
31229 :
31230 0 : XS(_wrap_mapObj_removeLayer) {
31231 : {
31232 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31233 : int arg2 ;
31234 0 : void *argp1 = 0 ;
31235 : int res1 = 0 ;
31236 : int val2 ;
31237 : int ecode2 = 0 ;
31238 : int argvi = 0;
31239 : layerObj *result = 0 ;
31240 0 : dXSARGS;
31241 :
31242 0 : if ((items < 2) || (items > 2)) {
31243 0 : SWIG_croak("Usage: mapObj_removeLayer(self,index);");
31244 : }
31245 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31246 0 : if (!SWIG_IsOK(res1)) {
31247 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31248 : }
31249 0 : arg1 = (struct mapObj *)(argp1);
31250 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31251 0 : if (!SWIG_IsOK(ecode2)) {
31252 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_removeLayer" "', argument " "2"" of type '" "int""'");
31253 : }
31254 0 : arg2 = (int)(val2);
31255 : result = (layerObj *)mapObj_removeLayer(arg1,arg2);
31256 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31257 :
31258 :
31259 0 : XSRETURN(argvi);
31260 : fail:
31261 :
31262 :
31263 0 : SWIG_croak_null();
31264 : }
31265 : }
31266 :
31267 :
31268 0 : XS(_wrap_mapObj_setExtent) {
31269 : {
31270 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31271 : double arg2 ;
31272 : double arg3 ;
31273 : double arg4 ;
31274 : double arg5 ;
31275 0 : void *argp1 = 0 ;
31276 : int res1 = 0 ;
31277 : double val2 ;
31278 : int ecode2 = 0 ;
31279 : double val3 ;
31280 : int ecode3 = 0 ;
31281 : double val4 ;
31282 : int ecode4 = 0 ;
31283 : double val5 ;
31284 : int ecode5 = 0 ;
31285 : int argvi = 0;
31286 : int result;
31287 0 : dXSARGS;
31288 :
31289 0 : if ((items < 5) || (items > 5)) {
31290 0 : SWIG_croak("Usage: mapObj_setExtent(self,minx,miny,maxx,maxy);");
31291 : }
31292 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31293 0 : if (!SWIG_IsOK(res1)) {
31294 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31295 : }
31296 0 : arg1 = (struct mapObj *)(argp1);
31297 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31298 0 : if (!SWIG_IsOK(ecode2)) {
31299 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setExtent" "', argument " "2"" of type '" "double""'");
31300 : }
31301 0 : arg2 = (double)(val2);
31302 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31303 0 : if (!SWIG_IsOK(ecode3)) {
31304 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setExtent" "', argument " "3"" of type '" "double""'");
31305 : }
31306 0 : arg3 = (double)(val3);
31307 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31308 0 : if (!SWIG_IsOK(ecode4)) {
31309 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_setExtent" "', argument " "4"" of type '" "double""'");
31310 : }
31311 0 : arg4 = (double)(val4);
31312 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
31313 0 : if (!SWIG_IsOK(ecode5)) {
31314 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_setExtent" "', argument " "5"" of type '" "double""'");
31315 : }
31316 0 : arg5 = (double)(val5);
31317 : result = (int)mapObj_setExtent(arg1,arg2,arg3,arg4,arg5);
31318 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31319 :
31320 :
31321 :
31322 :
31323 :
31324 0 : XSRETURN(argvi);
31325 : fail:
31326 :
31327 :
31328 :
31329 :
31330 :
31331 0 : SWIG_croak_null();
31332 : }
31333 : }
31334 :
31335 :
31336 0 : XS(_wrap_mapObj_offsetExtent) {
31337 : {
31338 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31339 : double arg2 ;
31340 : double arg3 ;
31341 0 : void *argp1 = 0 ;
31342 : int res1 = 0 ;
31343 : double val2 ;
31344 : int ecode2 = 0 ;
31345 : double val3 ;
31346 : int ecode3 = 0 ;
31347 : int argvi = 0;
31348 : int result;
31349 0 : dXSARGS;
31350 :
31351 0 : if ((items < 3) || (items > 3)) {
31352 0 : SWIG_croak("Usage: mapObj_offsetExtent(self,x,y);");
31353 : }
31354 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31355 0 : if (!SWIG_IsOK(res1)) {
31356 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_offsetExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31357 : }
31358 0 : arg1 = (struct mapObj *)(argp1);
31359 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31360 0 : if (!SWIG_IsOK(ecode2)) {
31361 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_offsetExtent" "', argument " "2"" of type '" "double""'");
31362 : }
31363 0 : arg2 = (double)(val2);
31364 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31365 0 : if (!SWIG_IsOK(ecode3)) {
31366 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_offsetExtent" "', argument " "3"" of type '" "double""'");
31367 : }
31368 0 : arg3 = (double)(val3);
31369 : result = (int)mapObj_offsetExtent(arg1,arg2,arg3);
31370 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31371 :
31372 :
31373 :
31374 0 : XSRETURN(argvi);
31375 : fail:
31376 :
31377 :
31378 :
31379 0 : SWIG_croak_null();
31380 : }
31381 : }
31382 :
31383 :
31384 0 : XS(_wrap_mapObj_scaleExtent) {
31385 : {
31386 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31387 : double arg2 ;
31388 : double arg3 ;
31389 : double arg4 ;
31390 0 : void *argp1 = 0 ;
31391 : int res1 = 0 ;
31392 : double val2 ;
31393 : int ecode2 = 0 ;
31394 : double val3 ;
31395 : int ecode3 = 0 ;
31396 : double val4 ;
31397 : int ecode4 = 0 ;
31398 : int argvi = 0;
31399 : int result;
31400 0 : dXSARGS;
31401 :
31402 0 : if ((items < 4) || (items > 4)) {
31403 0 : SWIG_croak("Usage: mapObj_scaleExtent(self,zoomfactor,minscaledenom,maxscaledenom);");
31404 : }
31405 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31406 0 : if (!SWIG_IsOK(res1)) {
31407 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaleExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31408 : }
31409 0 : arg1 = (struct mapObj *)(argp1);
31410 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31411 0 : if (!SWIG_IsOK(ecode2)) {
31412 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaleExtent" "', argument " "2"" of type '" "double""'");
31413 : }
31414 0 : arg2 = (double)(val2);
31415 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31416 0 : if (!SWIG_IsOK(ecode3)) {
31417 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_scaleExtent" "', argument " "3"" of type '" "double""'");
31418 : }
31419 0 : arg3 = (double)(val3);
31420 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31421 0 : if (!SWIG_IsOK(ecode4)) {
31422 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_scaleExtent" "', argument " "4"" of type '" "double""'");
31423 : }
31424 0 : arg4 = (double)(val4);
31425 : result = (int)mapObj_scaleExtent(arg1,arg2,arg3,arg4);
31426 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31427 :
31428 :
31429 :
31430 :
31431 0 : XSRETURN(argvi);
31432 : fail:
31433 :
31434 :
31435 :
31436 :
31437 0 : SWIG_croak_null();
31438 : }
31439 : }
31440 :
31441 :
31442 0 : XS(_wrap_mapObj_setCenter) {
31443 : {
31444 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31445 : pointObj *arg2 = (pointObj *) 0 ;
31446 0 : void *argp1 = 0 ;
31447 : int res1 = 0 ;
31448 0 : void *argp2 = 0 ;
31449 : int res2 = 0 ;
31450 : int argvi = 0;
31451 : int result;
31452 0 : dXSARGS;
31453 :
31454 0 : if ((items < 2) || (items > 2)) {
31455 0 : SWIG_croak("Usage: mapObj_setCenter(self,center);");
31456 : }
31457 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31458 0 : if (!SWIG_IsOK(res1)) {
31459 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setCenter" "', argument " "1"" of type '" "struct mapObj *""'");
31460 : }
31461 0 : arg1 = (struct mapObj *)(argp1);
31462 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
31463 0 : if (!SWIG_IsOK(res2)) {
31464 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setCenter" "', argument " "2"" of type '" "pointObj *""'");
31465 : }
31466 0 : arg2 = (pointObj *)(argp2);
31467 : result = (int)mapObj_setCenter(arg1,arg2);
31468 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31469 :
31470 :
31471 0 : XSRETURN(argvi);
31472 : fail:
31473 :
31474 :
31475 0 : SWIG_croak_null();
31476 : }
31477 : }
31478 :
31479 :
31480 0 : XS(_wrap_mapObj_setSize) {
31481 : {
31482 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31483 : int arg2 ;
31484 : int arg3 ;
31485 0 : void *argp1 = 0 ;
31486 : int res1 = 0 ;
31487 : int val2 ;
31488 : int ecode2 = 0 ;
31489 : int val3 ;
31490 : int ecode3 = 0 ;
31491 : int argvi = 0;
31492 : int result;
31493 0 : dXSARGS;
31494 :
31495 0 : if ((items < 3) || (items > 3)) {
31496 0 : SWIG_croak("Usage: mapObj_setSize(self,width,height);");
31497 : }
31498 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31499 0 : if (!SWIG_IsOK(res1)) {
31500 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSize" "', argument " "1"" of type '" "struct mapObj *""'");
31501 : }
31502 0 : arg1 = (struct mapObj *)(argp1);
31503 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31504 0 : if (!SWIG_IsOK(ecode2)) {
31505 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setSize" "', argument " "2"" of type '" "int""'");
31506 : }
31507 0 : arg2 = (int)(val2);
31508 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31509 0 : if (!SWIG_IsOK(ecode3)) {
31510 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setSize" "', argument " "3"" of type '" "int""'");
31511 : }
31512 0 : arg3 = (int)(val3);
31513 : result = (int)mapObj_setSize(arg1,arg2,arg3);
31514 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31515 :
31516 :
31517 :
31518 0 : XSRETURN(argvi);
31519 : fail:
31520 :
31521 :
31522 :
31523 0 : SWIG_croak_null();
31524 : }
31525 : }
31526 :
31527 :
31528 0 : XS(_wrap_mapObj_setRotation) {
31529 : {
31530 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31531 : double arg2 ;
31532 0 : void *argp1 = 0 ;
31533 : int res1 = 0 ;
31534 : double val2 ;
31535 : int ecode2 = 0 ;
31536 : int argvi = 0;
31537 : int result;
31538 0 : dXSARGS;
31539 :
31540 0 : if ((items < 2) || (items > 2)) {
31541 0 : SWIG_croak("Usage: mapObj_setRotation(self,rotation_angle);");
31542 : }
31543 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31544 0 : if (!SWIG_IsOK(res1)) {
31545 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setRotation" "', argument " "1"" of type '" "struct mapObj *""'");
31546 : }
31547 0 : arg1 = (struct mapObj *)(argp1);
31548 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31549 0 : if (!SWIG_IsOK(ecode2)) {
31550 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setRotation" "', argument " "2"" of type '" "double""'");
31551 : }
31552 0 : arg2 = (double)(val2);
31553 : result = (int)mapObj_setRotation(arg1,arg2);
31554 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31555 :
31556 :
31557 0 : XSRETURN(argvi);
31558 : fail:
31559 :
31560 :
31561 0 : SWIG_croak_null();
31562 : }
31563 : }
31564 :
31565 :
31566 1 : XS(_wrap_mapObj_getLayer) {
31567 : {
31568 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31569 : int arg2 ;
31570 1 : void *argp1 = 0 ;
31571 : int res1 = 0 ;
31572 : int val2 ;
31573 : int ecode2 = 0 ;
31574 : int argvi = 0;
31575 : layerObj *result = 0 ;
31576 1 : dXSARGS;
31577 :
31578 1 : if ((items < 2) || (items > 2)) {
31579 0 : SWIG_croak("Usage: mapObj_getLayer(self,i);");
31580 : }
31581 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31582 1 : if (!SWIG_IsOK(res1)) {
31583 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31584 : }
31585 1 : arg1 = (struct mapObj *)(argp1);
31586 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31587 1 : if (!SWIG_IsOK(ecode2)) {
31588 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getLayer" "', argument " "2"" of type '" "int""'");
31589 : }
31590 1 : arg2 = (int)(val2);
31591 1 : result = (layerObj *)mapObj_getLayer(arg1,arg2);
31592 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31593 :
31594 :
31595 1 : XSRETURN(argvi);
31596 : fail:
31597 :
31598 :
31599 0 : SWIG_croak_null();
31600 : }
31601 : }
31602 :
31603 :
31604 1 : XS(_wrap_mapObj_getLayerByName) {
31605 : {
31606 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31607 : char *arg2 = (char *) 0 ;
31608 1 : void *argp1 = 0 ;
31609 : int res1 = 0 ;
31610 : int res2 ;
31611 1 : char *buf2 = 0 ;
31612 1 : int alloc2 = 0 ;
31613 : int argvi = 0;
31614 : layerObj *result = 0 ;
31615 1 : dXSARGS;
31616 :
31617 1 : if ((items < 2) || (items > 2)) {
31618 0 : SWIG_croak("Usage: mapObj_getLayerByName(self,name);");
31619 : }
31620 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31621 1 : if (!SWIG_IsOK(res1)) {
31622 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayerByName" "', argument " "1"" of type '" "struct mapObj *""'");
31623 : }
31624 1 : arg1 = (struct mapObj *)(argp1);
31625 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31626 1 : if (!SWIG_IsOK(res2)) {
31627 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getLayerByName" "', argument " "2"" of type '" "char *""'");
31628 : }
31629 1 : arg2 = (char *)(buf2);
31630 1 : result = (layerObj *)mapObj_getLayerByName(arg1,arg2);
31631 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31632 :
31633 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31634 1 : XSRETURN(argvi);
31635 : fail:
31636 :
31637 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31638 0 : SWIG_croak_null();
31639 : }
31640 : }
31641 :
31642 :
31643 0 : XS(_wrap_mapObj_getSymbolByName) {
31644 : {
31645 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31646 : char *arg2 = (char *) 0 ;
31647 0 : void *argp1 = 0 ;
31648 : int res1 = 0 ;
31649 : int res2 ;
31650 0 : char *buf2 = 0 ;
31651 0 : int alloc2 = 0 ;
31652 : int argvi = 0;
31653 : int result;
31654 0 : dXSARGS;
31655 :
31656 0 : if ((items < 2) || (items > 2)) {
31657 0 : SWIG_croak("Usage: mapObj_getSymbolByName(self,name);");
31658 : }
31659 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31660 0 : if (!SWIG_IsOK(res1)) {
31661 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getSymbolByName" "', argument " "1"" of type '" "struct mapObj *""'");
31662 : }
31663 0 : arg1 = (struct mapObj *)(argp1);
31664 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31665 0 : if (!SWIG_IsOK(res2)) {
31666 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
31667 : }
31668 0 : arg2 = (char *)(buf2);
31669 : result = (int)mapObj_getSymbolByName(arg1,arg2);
31670 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31671 :
31672 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31673 0 : XSRETURN(argvi);
31674 : fail:
31675 :
31676 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31677 0 : SWIG_croak_null();
31678 : }
31679 : }
31680 :
31681 :
31682 0 : XS(_wrap_mapObj_prepareQuery) {
31683 : {
31684 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31685 0 : void *argp1 = 0 ;
31686 : int res1 = 0 ;
31687 : int argvi = 0;
31688 0 : dXSARGS;
31689 :
31690 0 : if ((items < 1) || (items > 1)) {
31691 0 : SWIG_croak("Usage: mapObj_prepareQuery(self);");
31692 : }
31693 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31694 0 : if (!SWIG_IsOK(res1)) {
31695 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareQuery" "', argument " "1"" of type '" "struct mapObj *""'");
31696 : }
31697 0 : arg1 = (struct mapObj *)(argp1);
31698 0 : mapObj_prepareQuery(arg1);
31699 0 : ST(argvi) = sv_newmortal();
31700 :
31701 0 : XSRETURN(argvi);
31702 : fail:
31703 :
31704 0 : SWIG_croak_null();
31705 : }
31706 : }
31707 :
31708 :
31709 0 : XS(_wrap_mapObj_prepareImage) {
31710 : {
31711 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31712 0 : void *argp1 = 0 ;
31713 : int res1 = 0 ;
31714 : int argvi = 0;
31715 : imageObj *result = 0 ;
31716 0 : dXSARGS;
31717 :
31718 0 : if ((items < 1) || (items > 1)) {
31719 0 : SWIG_croak("Usage: mapObj_prepareImage(self);");
31720 : }
31721 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31722 0 : if (!SWIG_IsOK(res1)) {
31723 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareImage" "', argument " "1"" of type '" "struct mapObj *""'");
31724 : }
31725 0 : arg1 = (struct mapObj *)(argp1);
31726 : result = (imageObj *)mapObj_prepareImage(arg1);
31727 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31728 :
31729 0 : XSRETURN(argvi);
31730 : fail:
31731 :
31732 0 : SWIG_croak_null();
31733 : }
31734 : }
31735 :
31736 :
31737 0 : XS(_wrap_mapObj_setImageType) {
31738 : {
31739 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31740 : char *arg2 = (char *) 0 ;
31741 0 : void *argp1 = 0 ;
31742 : int res1 = 0 ;
31743 : int res2 ;
31744 0 : char *buf2 = 0 ;
31745 0 : int alloc2 = 0 ;
31746 : int argvi = 0;
31747 0 : dXSARGS;
31748 :
31749 0 : if ((items < 2) || (items > 2)) {
31750 0 : SWIG_croak("Usage: mapObj_setImageType(self,imagetype);");
31751 : }
31752 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31753 0 : if (!SWIG_IsOK(res1)) {
31754 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setImageType" "', argument " "1"" of type '" "struct mapObj *""'");
31755 : }
31756 0 : arg1 = (struct mapObj *)(argp1);
31757 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31758 0 : if (!SWIG_IsOK(res2)) {
31759 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setImageType" "', argument " "2"" of type '" "char *""'");
31760 : }
31761 0 : arg2 = (char *)(buf2);
31762 0 : mapObj_setImageType(arg1,arg2);
31763 0 : ST(argvi) = sv_newmortal();
31764 :
31765 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31766 0 : XSRETURN(argvi);
31767 : fail:
31768 :
31769 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31770 0 : SWIG_croak_null();
31771 : }
31772 : }
31773 :
31774 :
31775 0 : XS(_wrap_mapObj_selectOutputFormat) {
31776 : {
31777 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31778 : char *arg2 = (char *) 0 ;
31779 0 : void *argp1 = 0 ;
31780 : int res1 = 0 ;
31781 : int res2 ;
31782 0 : char *buf2 = 0 ;
31783 0 : int alloc2 = 0 ;
31784 : int argvi = 0;
31785 0 : dXSARGS;
31786 :
31787 0 : if ((items < 2) || (items > 2)) {
31788 0 : SWIG_croak("Usage: mapObj_selectOutputFormat(self,imagetype);");
31789 : }
31790 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31791 0 : if (!SWIG_IsOK(res1)) {
31792 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_selectOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31793 : }
31794 0 : arg1 = (struct mapObj *)(argp1);
31795 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31796 0 : if (!SWIG_IsOK(res2)) {
31797 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_selectOutputFormat" "', argument " "2"" of type '" "char *""'");
31798 : }
31799 0 : arg2 = (char *)(buf2);
31800 0 : mapObj_selectOutputFormat(arg1,arg2);
31801 0 : ST(argvi) = sv_newmortal();
31802 :
31803 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31804 0 : XSRETURN(argvi);
31805 : fail:
31806 :
31807 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31808 0 : SWIG_croak_null();
31809 : }
31810 : }
31811 :
31812 :
31813 0 : XS(_wrap_mapObj_getOutputFormat) {
31814 : {
31815 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31816 : int arg2 ;
31817 0 : void *argp1 = 0 ;
31818 : int res1 = 0 ;
31819 : int val2 ;
31820 : int ecode2 = 0 ;
31821 : int argvi = 0;
31822 : outputFormatObj *result = 0 ;
31823 0 : dXSARGS;
31824 :
31825 0 : if ((items < 2) || (items > 2)) {
31826 0 : SWIG_croak("Usage: mapObj_getOutputFormat(self,i);");
31827 : }
31828 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31829 0 : if (!SWIG_IsOK(res1)) {
31830 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31831 : }
31832 0 : arg1 = (struct mapObj *)(argp1);
31833 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31834 0 : if (!SWIG_IsOK(ecode2)) {
31835 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getOutputFormat" "', argument " "2"" of type '" "int""'");
31836 : }
31837 0 : arg2 = (int)(val2);
31838 0 : result = (outputFormatObj *)mapObj_getOutputFormat(arg1,arg2);
31839 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31840 :
31841 :
31842 0 : XSRETURN(argvi);
31843 : fail:
31844 :
31845 :
31846 0 : SWIG_croak_null();
31847 : }
31848 : }
31849 :
31850 :
31851 0 : XS(_wrap_mapObj_setOutputFormat) {
31852 : {
31853 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31854 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
31855 0 : void *argp1 = 0 ;
31856 : int res1 = 0 ;
31857 0 : void *argp2 = 0 ;
31858 : int res2 = 0 ;
31859 : int argvi = 0;
31860 0 : dXSARGS;
31861 :
31862 0 : if ((items < 2) || (items > 2)) {
31863 0 : SWIG_croak("Usage: mapObj_setOutputFormat(self,format);");
31864 : }
31865 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31866 0 : if (!SWIG_IsOK(res1)) {
31867 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31868 : }
31869 0 : arg1 = (struct mapObj *)(argp1);
31870 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
31871 0 : if (!SWIG_IsOK(res2)) {
31872 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'");
31873 : }
31874 0 : arg2 = (outputFormatObj *)(argp2);
31875 : mapObj_setOutputFormat(arg1,arg2);
31876 0 : ST(argvi) = sv_newmortal();
31877 :
31878 :
31879 0 : XSRETURN(argvi);
31880 : fail:
31881 :
31882 :
31883 0 : SWIG_croak_null();
31884 : }
31885 : }
31886 :
31887 :
31888 0 : XS(_wrap_mapObj_draw) {
31889 : {
31890 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31891 0 : void *argp1 = 0 ;
31892 : int res1 = 0 ;
31893 : int argvi = 0;
31894 : imageObj *result = 0 ;
31895 0 : dXSARGS;
31896 :
31897 0 : if ((items < 1) || (items > 1)) {
31898 0 : SWIG_croak("Usage: mapObj_draw(self);");
31899 : }
31900 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31901 0 : if (!SWIG_IsOK(res1)) {
31902 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_draw" "', argument " "1"" of type '" "struct mapObj *""'");
31903 : }
31904 0 : arg1 = (struct mapObj *)(argp1);
31905 : result = (imageObj *)mapObj_draw(arg1);
31906 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31907 :
31908 0 : XSRETURN(argvi);
31909 : fail:
31910 :
31911 0 : SWIG_croak_null();
31912 : }
31913 : }
31914 :
31915 :
31916 0 : XS(_wrap_mapObj_drawQuery) {
31917 : {
31918 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31919 0 : void *argp1 = 0 ;
31920 : int res1 = 0 ;
31921 : int argvi = 0;
31922 : imageObj *result = 0 ;
31923 0 : dXSARGS;
31924 :
31925 0 : if ((items < 1) || (items > 1)) {
31926 0 : SWIG_croak("Usage: mapObj_drawQuery(self);");
31927 : }
31928 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31929 0 : if (!SWIG_IsOK(res1)) {
31930 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawQuery" "', argument " "1"" of type '" "struct mapObj *""'");
31931 : }
31932 0 : arg1 = (struct mapObj *)(argp1);
31933 : result = (imageObj *)mapObj_drawQuery(arg1);
31934 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31935 :
31936 0 : XSRETURN(argvi);
31937 : fail:
31938 :
31939 0 : SWIG_croak_null();
31940 : }
31941 : }
31942 :
31943 :
31944 0 : XS(_wrap_mapObj_drawLegend) {
31945 : {
31946 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31947 0 : void *argp1 = 0 ;
31948 : int res1 = 0 ;
31949 : int argvi = 0;
31950 : imageObj *result = 0 ;
31951 0 : dXSARGS;
31952 :
31953 0 : if ((items < 1) || (items > 1)) {
31954 0 : SWIG_croak("Usage: mapObj_drawLegend(self);");
31955 : }
31956 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31957 0 : if (!SWIG_IsOK(res1)) {
31958 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLegend" "', argument " "1"" of type '" "struct mapObj *""'");
31959 : }
31960 0 : arg1 = (struct mapObj *)(argp1);
31961 : result = (imageObj *)mapObj_drawLegend(arg1);
31962 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31963 :
31964 0 : XSRETURN(argvi);
31965 : fail:
31966 :
31967 0 : SWIG_croak_null();
31968 : }
31969 : }
31970 :
31971 :
31972 0 : XS(_wrap_mapObj_drawScalebar) {
31973 : {
31974 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31975 0 : void *argp1 = 0 ;
31976 : int res1 = 0 ;
31977 : int argvi = 0;
31978 : imageObj *result = 0 ;
31979 0 : dXSARGS;
31980 :
31981 0 : if ((items < 1) || (items > 1)) {
31982 0 : SWIG_croak("Usage: mapObj_drawScalebar(self);");
31983 : }
31984 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31985 0 : if (!SWIG_IsOK(res1)) {
31986 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawScalebar" "', argument " "1"" of type '" "struct mapObj *""'");
31987 : }
31988 0 : arg1 = (struct mapObj *)(argp1);
31989 : result = (imageObj *)mapObj_drawScalebar(arg1);
31990 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31991 :
31992 0 : XSRETURN(argvi);
31993 : fail:
31994 :
31995 0 : SWIG_croak_null();
31996 : }
31997 : }
31998 :
31999 :
32000 0 : XS(_wrap_mapObj_drawReferenceMap) {
32001 : {
32002 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32003 0 : void *argp1 = 0 ;
32004 : int res1 = 0 ;
32005 : int argvi = 0;
32006 : imageObj *result = 0 ;
32007 0 : dXSARGS;
32008 :
32009 0 : if ((items < 1) || (items > 1)) {
32010 0 : SWIG_croak("Usage: mapObj_drawReferenceMap(self);");
32011 : }
32012 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32013 0 : if (!SWIG_IsOK(res1)) {
32014 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawReferenceMap" "', argument " "1"" of type '" "struct mapObj *""'");
32015 : }
32016 0 : arg1 = (struct mapObj *)(argp1);
32017 : result = (imageObj *)mapObj_drawReferenceMap(arg1);
32018 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32019 :
32020 0 : XSRETURN(argvi);
32021 : fail:
32022 :
32023 0 : SWIG_croak_null();
32024 : }
32025 : }
32026 :
32027 :
32028 0 : XS(_wrap_mapObj_embedScalebar) {
32029 : {
32030 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32031 : imageObj *arg2 = (imageObj *) 0 ;
32032 0 : void *argp1 = 0 ;
32033 : int res1 = 0 ;
32034 0 : void *argp2 = 0 ;
32035 : int res2 = 0 ;
32036 : int argvi = 0;
32037 : int result;
32038 0 : dXSARGS;
32039 :
32040 0 : if ((items < 2) || (items > 2)) {
32041 0 : SWIG_croak("Usage: mapObj_embedScalebar(self,image);");
32042 : }
32043 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32044 0 : if (!SWIG_IsOK(res1)) {
32045 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedScalebar" "', argument " "1"" of type '" "struct mapObj *""'");
32046 : }
32047 0 : arg1 = (struct mapObj *)(argp1);
32048 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
32049 0 : if (!SWIG_IsOK(res2)) {
32050 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedScalebar" "', argument " "2"" of type '" "imageObj *""'");
32051 : }
32052 0 : arg2 = (imageObj *)(argp2);
32053 : result = (int)mapObj_embedScalebar(arg1,arg2);
32054 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32055 :
32056 :
32057 0 : XSRETURN(argvi);
32058 : fail:
32059 :
32060 :
32061 0 : SWIG_croak_null();
32062 : }
32063 : }
32064 :
32065 :
32066 0 : XS(_wrap_mapObj_embedLegend) {
32067 : {
32068 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32069 : imageObj *arg2 = (imageObj *) 0 ;
32070 0 : void *argp1 = 0 ;
32071 : int res1 = 0 ;
32072 0 : void *argp2 = 0 ;
32073 : int res2 = 0 ;
32074 : int argvi = 0;
32075 : int result;
32076 0 : dXSARGS;
32077 :
32078 0 : if ((items < 2) || (items > 2)) {
32079 0 : SWIG_croak("Usage: mapObj_embedLegend(self,image);");
32080 : }
32081 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32082 0 : if (!SWIG_IsOK(res1)) {
32083 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedLegend" "', argument " "1"" of type '" "struct mapObj *""'");
32084 : }
32085 0 : arg1 = (struct mapObj *)(argp1);
32086 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
32087 0 : if (!SWIG_IsOK(res2)) {
32088 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedLegend" "', argument " "2"" of type '" "imageObj *""'");
32089 : }
32090 0 : arg2 = (imageObj *)(argp2);
32091 : result = (int)mapObj_embedLegend(arg1,arg2);
32092 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32093 :
32094 :
32095 0 : XSRETURN(argvi);
32096 : fail:
32097 :
32098 :
32099 0 : SWIG_croak_null();
32100 : }
32101 : }
32102 :
32103 :
32104 0 : XS(_wrap_mapObj_drawLabelCache) {
32105 : {
32106 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32107 : imageObj *arg2 = (imageObj *) 0 ;
32108 0 : void *argp1 = 0 ;
32109 : int res1 = 0 ;
32110 0 : void *argp2 = 0 ;
32111 : int res2 = 0 ;
32112 : int argvi = 0;
32113 : int result;
32114 0 : dXSARGS;
32115 :
32116 0 : if ((items < 2) || (items > 2)) {
32117 0 : SWIG_croak("Usage: mapObj_drawLabelCache(self,image);");
32118 : }
32119 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32120 0 : if (!SWIG_IsOK(res1)) {
32121 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLabelCache" "', argument " "1"" of type '" "struct mapObj *""'");
32122 : }
32123 0 : arg1 = (struct mapObj *)(argp1);
32124 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
32125 0 : if (!SWIG_IsOK(res2)) {
32126 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_drawLabelCache" "', argument " "2"" of type '" "imageObj *""'");
32127 : }
32128 0 : arg2 = (imageObj *)(argp2);
32129 : result = (int)mapObj_drawLabelCache(arg1,arg2);
32130 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32131 :
32132 :
32133 0 : XSRETURN(argvi);
32134 : fail:
32135 :
32136 :
32137 0 : SWIG_croak_null();
32138 : }
32139 : }
32140 :
32141 :
32142 0 : XS(_wrap_mapObj_queryByFilter) {
32143 : {
32144 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32145 : char *arg2 = (char *) 0 ;
32146 0 : void *argp1 = 0 ;
32147 : int res1 = 0 ;
32148 : int res2 ;
32149 0 : char *buf2 = 0 ;
32150 0 : int alloc2 = 0 ;
32151 : int argvi = 0;
32152 : int result;
32153 0 : dXSARGS;
32154 :
32155 0 : if ((items < 2) || (items > 2)) {
32156 0 : SWIG_croak("Usage: mapObj_queryByFilter(self,string);");
32157 : }
32158 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32159 0 : if (!SWIG_IsOK(res1)) {
32160 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFilter" "', argument " "1"" of type '" "struct mapObj *""'");
32161 : }
32162 0 : arg1 = (struct mapObj *)(argp1);
32163 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32164 0 : if (!SWIG_IsOK(res2)) {
32165 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByFilter" "', argument " "2"" of type '" "char *""'");
32166 : }
32167 0 : arg2 = (char *)(buf2);
32168 0 : result = (int)mapObj_queryByFilter(arg1,arg2);
32169 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32170 :
32171 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32172 0 : XSRETURN(argvi);
32173 : fail:
32174 :
32175 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32176 0 : SWIG_croak_null();
32177 : }
32178 : }
32179 :
32180 :
32181 0 : XS(_wrap_mapObj_queryByPoint) {
32182 : {
32183 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32184 : pointObj *arg2 = (pointObj *) 0 ;
32185 : int arg3 ;
32186 : double arg4 ;
32187 0 : void *argp1 = 0 ;
32188 : int res1 = 0 ;
32189 0 : void *argp2 = 0 ;
32190 : int res2 = 0 ;
32191 : int val3 ;
32192 : int ecode3 = 0 ;
32193 : double val4 ;
32194 : int ecode4 = 0 ;
32195 : int argvi = 0;
32196 : int result;
32197 0 : dXSARGS;
32198 :
32199 0 : if ((items < 4) || (items > 4)) {
32200 0 : SWIG_croak("Usage: mapObj_queryByPoint(self,point,mode,buffer);");
32201 : }
32202 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32203 0 : if (!SWIG_IsOK(res1)) {
32204 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByPoint" "', argument " "1"" of type '" "struct mapObj *""'");
32205 : }
32206 0 : arg1 = (struct mapObj *)(argp1);
32207 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
32208 0 : if (!SWIG_IsOK(res2)) {
32209 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByPoint" "', argument " "2"" of type '" "pointObj *""'");
32210 : }
32211 0 : arg2 = (pointObj *)(argp2);
32212 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
32213 0 : if (!SWIG_IsOK(ecode3)) {
32214 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_queryByPoint" "', argument " "3"" of type '" "int""'");
32215 : }
32216 0 : arg3 = (int)(val3);
32217 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
32218 0 : if (!SWIG_IsOK(ecode4)) {
32219 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_queryByPoint" "', argument " "4"" of type '" "double""'");
32220 : }
32221 0 : arg4 = (double)(val4);
32222 0 : result = (int)mapObj_queryByPoint(arg1,arg2,arg3,arg4);
32223 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32224 :
32225 :
32226 :
32227 :
32228 0 : XSRETURN(argvi);
32229 : fail:
32230 :
32231 :
32232 :
32233 :
32234 0 : SWIG_croak_null();
32235 : }
32236 : }
32237 :
32238 :
32239 0 : XS(_wrap_mapObj_queryByRect) {
32240 : {
32241 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32242 : rectObj arg2 ;
32243 0 : void *argp1 = 0 ;
32244 : int res1 = 0 ;
32245 : void *argp2 ;
32246 : int res2 = 0 ;
32247 : int argvi = 0;
32248 : int result;
32249 0 : dXSARGS;
32250 :
32251 0 : if ((items < 2) || (items > 2)) {
32252 0 : SWIG_croak("Usage: mapObj_queryByRect(self,rect);");
32253 : }
32254 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32255 0 : if (!SWIG_IsOK(res1)) {
32256 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByRect" "', argument " "1"" of type '" "struct mapObj *""'");
32257 : }
32258 0 : arg1 = (struct mapObj *)(argp1);
32259 : {
32260 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj, 0 );
32261 0 : if (!SWIG_IsOK(res2)) {
32262 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
32263 : }
32264 0 : if (!argp2) {
32265 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
32266 : } else {
32267 0 : arg2 = *((rectObj *)(argp2));
32268 : }
32269 : }
32270 : result = (int)mapObj_queryByRect(arg1,arg2);
32271 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32272 :
32273 0 : XSRETURN(argvi);
32274 : fail:
32275 :
32276 0 : SWIG_croak_null();
32277 : }
32278 : }
32279 :
32280 :
32281 0 : XS(_wrap_mapObj_queryByFeatures) {
32282 : {
32283 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32284 : int arg2 ;
32285 0 : void *argp1 = 0 ;
32286 : int res1 = 0 ;
32287 : int val2 ;
32288 : int ecode2 = 0 ;
32289 : int argvi = 0;
32290 : int result;
32291 0 : dXSARGS;
32292 :
32293 0 : if ((items < 2) || (items > 2)) {
32294 0 : SWIG_croak("Usage: mapObj_queryByFeatures(self,slayer);");
32295 : }
32296 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32297 0 : if (!SWIG_IsOK(res1)) {
32298 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFeatures" "', argument " "1"" of type '" "struct mapObj *""'");
32299 : }
32300 0 : arg1 = (struct mapObj *)(argp1);
32301 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32302 0 : if (!SWIG_IsOK(ecode2)) {
32303 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_queryByFeatures" "', argument " "2"" of type '" "int""'");
32304 : }
32305 0 : arg2 = (int)(val2);
32306 : result = (int)mapObj_queryByFeatures(arg1,arg2);
32307 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32308 :
32309 :
32310 0 : XSRETURN(argvi);
32311 : fail:
32312 :
32313 :
32314 0 : SWIG_croak_null();
32315 : }
32316 : }
32317 :
32318 :
32319 0 : XS(_wrap_mapObj_queryByShape) {
32320 : {
32321 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32322 : shapeObj *arg2 = (shapeObj *) 0 ;
32323 0 : void *argp1 = 0 ;
32324 : int res1 = 0 ;
32325 0 : void *argp2 = 0 ;
32326 : int res2 = 0 ;
32327 : int argvi = 0;
32328 : int result;
32329 0 : dXSARGS;
32330 :
32331 0 : if ((items < 2) || (items > 2)) {
32332 0 : SWIG_croak("Usage: mapObj_queryByShape(self,shape);");
32333 : }
32334 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32335 0 : if (!SWIG_IsOK(res1)) {
32336 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByShape" "', argument " "1"" of type '" "struct mapObj *""'");
32337 : }
32338 0 : arg1 = (struct mapObj *)(argp1);
32339 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
32340 0 : if (!SWIG_IsOK(res2)) {
32341 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByShape" "', argument " "2"" of type '" "shapeObj *""'");
32342 : }
32343 0 : arg2 = (shapeObj *)(argp2);
32344 0 : result = (int)mapObj_queryByShape(arg1,arg2);
32345 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32346 :
32347 :
32348 0 : XSRETURN(argvi);
32349 : fail:
32350 :
32351 :
32352 0 : SWIG_croak_null();
32353 : }
32354 : }
32355 :
32356 :
32357 0 : XS(_wrap_mapObj_setWKTProjection) {
32358 : {
32359 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32360 : char *arg2 = (char *) 0 ;
32361 0 : void *argp1 = 0 ;
32362 : int res1 = 0 ;
32363 : int res2 ;
32364 0 : char *buf2 = 0 ;
32365 0 : int alloc2 = 0 ;
32366 : int argvi = 0;
32367 : int result;
32368 0 : dXSARGS;
32369 :
32370 0 : if ((items < 2) || (items > 2)) {
32371 0 : SWIG_croak("Usage: mapObj_setWKTProjection(self,wkt);");
32372 : }
32373 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32374 0 : if (!SWIG_IsOK(res1)) {
32375 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setWKTProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32376 : }
32377 0 : arg1 = (struct mapObj *)(argp1);
32378 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32379 0 : if (!SWIG_IsOK(res2)) {
32380 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
32381 : }
32382 0 : arg2 = (char *)(buf2);
32383 : result = (int)mapObj_setWKTProjection(arg1,arg2);
32384 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32385 :
32386 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32387 0 : XSRETURN(argvi);
32388 : fail:
32389 :
32390 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32391 0 : SWIG_croak_null();
32392 : }
32393 : }
32394 :
32395 :
32396 0 : XS(_wrap_mapObj_getProjection) {
32397 : {
32398 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32399 0 : void *argp1 = 0 ;
32400 : int res1 = 0 ;
32401 : int argvi = 0;
32402 : char *result = 0 ;
32403 0 : dXSARGS;
32404 :
32405 0 : if ((items < 1) || (items > 1)) {
32406 0 : SWIG_croak("Usage: mapObj_getProjection(self);");
32407 : }
32408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32409 0 : if (!SWIG_IsOK(res1)) {
32410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32411 : }
32412 0 : arg1 = (struct mapObj *)(argp1);
32413 : result = (char *)mapObj_getProjection(arg1);
32414 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32415 :
32416 0 : free((char*)result);
32417 0 : XSRETURN(argvi);
32418 : fail:
32419 :
32420 0 : SWIG_croak_null();
32421 : }
32422 : }
32423 :
32424 :
32425 0 : XS(_wrap_mapObj_setProjection) {
32426 : {
32427 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32428 : char *arg2 = (char *) 0 ;
32429 0 : void *argp1 = 0 ;
32430 : int res1 = 0 ;
32431 : int res2 ;
32432 0 : char *buf2 = 0 ;
32433 0 : int alloc2 = 0 ;
32434 : int argvi = 0;
32435 : int result;
32436 0 : dXSARGS;
32437 :
32438 0 : if ((items < 2) || (items > 2)) {
32439 0 : SWIG_croak("Usage: mapObj_setProjection(self,proj4);");
32440 : }
32441 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32442 0 : if (!SWIG_IsOK(res1)) {
32443 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32444 : }
32445 0 : arg1 = (struct mapObj *)(argp1);
32446 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32447 0 : if (!SWIG_IsOK(res2)) {
32448 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setProjection" "', argument " "2"" of type '" "char *""'");
32449 : }
32450 0 : arg2 = (char *)(buf2);
32451 : result = (int)mapObj_setProjection(arg1,arg2);
32452 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32453 :
32454 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32455 0 : XSRETURN(argvi);
32456 : fail:
32457 :
32458 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32459 0 : SWIG_croak_null();
32460 : }
32461 : }
32462 :
32463 :
32464 0 : XS(_wrap_mapObj_save) {
32465 : {
32466 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32467 : char *arg2 = (char *) 0 ;
32468 0 : void *argp1 = 0 ;
32469 : int res1 = 0 ;
32470 : int res2 ;
32471 0 : char *buf2 = 0 ;
32472 0 : int alloc2 = 0 ;
32473 : int argvi = 0;
32474 : int result;
32475 0 : dXSARGS;
32476 :
32477 0 : if ((items < 2) || (items > 2)) {
32478 0 : SWIG_croak("Usage: mapObj_save(self,filename);");
32479 : }
32480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32481 0 : if (!SWIG_IsOK(res1)) {
32482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_save" "', argument " "1"" of type '" "struct mapObj *""'");
32483 : }
32484 0 : arg1 = (struct mapObj *)(argp1);
32485 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32486 0 : if (!SWIG_IsOK(res2)) {
32487 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_save" "', argument " "2"" of type '" "char *""'");
32488 : }
32489 0 : arg2 = (char *)(buf2);
32490 : result = (int)mapObj_save(arg1,arg2);
32491 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32492 :
32493 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32494 0 : XSRETURN(argvi);
32495 : fail:
32496 :
32497 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32498 0 : SWIG_croak_null();
32499 : }
32500 : }
32501 :
32502 :
32503 0 : XS(_wrap_mapObj_saveQuery) {
32504 : {
32505 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32506 : char *arg2 = (char *) 0 ;
32507 : int arg3 = (int) 0 ;
32508 0 : void *argp1 = 0 ;
32509 : int res1 = 0 ;
32510 : int res2 ;
32511 0 : char *buf2 = 0 ;
32512 0 : int alloc2 = 0 ;
32513 : int val3 ;
32514 : int ecode3 = 0 ;
32515 : int argvi = 0;
32516 : int result;
32517 0 : dXSARGS;
32518 :
32519 0 : if ((items < 2) || (items > 3)) {
32520 0 : SWIG_croak("Usage: mapObj_saveQuery(self,filename,results);");
32521 : }
32522 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32523 0 : if (!SWIG_IsOK(res1)) {
32524 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32525 : }
32526 0 : arg1 = (struct mapObj *)(argp1);
32527 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32528 0 : if (!SWIG_IsOK(res2)) {
32529 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQuery" "', argument " "2"" of type '" "char *""'");
32530 : }
32531 0 : arg2 = (char *)(buf2);
32532 0 : if (items > 2) {
32533 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
32534 0 : if (!SWIG_IsOK(ecode3)) {
32535 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_saveQuery" "', argument " "3"" of type '" "int""'");
32536 : }
32537 0 : arg3 = (int)(val3);
32538 : }
32539 : result = (int)mapObj_saveQuery(arg1,arg2,arg3);
32540 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32541 :
32542 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32543 :
32544 0 : XSRETURN(argvi);
32545 : fail:
32546 :
32547 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32548 :
32549 0 : SWIG_croak_null();
32550 : }
32551 : }
32552 :
32553 :
32554 0 : XS(_wrap_mapObj_loadQuery) {
32555 : {
32556 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32557 : char *arg2 = (char *) 0 ;
32558 0 : void *argp1 = 0 ;
32559 : int res1 = 0 ;
32560 : int res2 ;
32561 0 : char *buf2 = 0 ;
32562 0 : int alloc2 = 0 ;
32563 : int argvi = 0;
32564 : int result;
32565 0 : dXSARGS;
32566 :
32567 0 : if ((items < 2) || (items > 2)) {
32568 0 : SWIG_croak("Usage: mapObj_loadQuery(self,filename);");
32569 : }
32570 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32571 0 : if (!SWIG_IsOK(res1)) {
32572 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32573 : }
32574 0 : arg1 = (struct mapObj *)(argp1);
32575 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32576 0 : if (!SWIG_IsOK(res2)) {
32577 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadQuery" "', argument " "2"" of type '" "char *""'");
32578 : }
32579 0 : arg2 = (char *)(buf2);
32580 : result = (int)mapObj_loadQuery(arg1,arg2);
32581 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32582 :
32583 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32584 0 : XSRETURN(argvi);
32585 : fail:
32586 :
32587 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32588 0 : SWIG_croak_null();
32589 : }
32590 : }
32591 :
32592 :
32593 0 : XS(_wrap_mapObj_freeQuery) {
32594 : {
32595 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32596 : int arg2 = (int) -1 ;
32597 0 : void *argp1 = 0 ;
32598 : int res1 = 0 ;
32599 : int val2 ;
32600 : int ecode2 = 0 ;
32601 : int argvi = 0;
32602 0 : dXSARGS;
32603 :
32604 0 : if ((items < 1) || (items > 2)) {
32605 0 : SWIG_croak("Usage: mapObj_freeQuery(self,qlayer);");
32606 : }
32607 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32608 0 : if (!SWIG_IsOK(res1)) {
32609 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_freeQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32610 : }
32611 0 : arg1 = (struct mapObj *)(argp1);
32612 0 : if (items > 1) {
32613 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32614 0 : if (!SWIG_IsOK(ecode2)) {
32615 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_freeQuery" "', argument " "2"" of type '" "int""'");
32616 : }
32617 0 : arg2 = (int)(val2);
32618 : }
32619 : mapObj_freeQuery(arg1,arg2);
32620 0 : ST(argvi) = sv_newmortal();
32621 :
32622 :
32623 0 : XSRETURN(argvi);
32624 : fail:
32625 :
32626 :
32627 0 : SWIG_croak_null();
32628 : }
32629 : }
32630 :
32631 :
32632 0 : XS(_wrap_mapObj_saveQueryAsGML) {
32633 : {
32634 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32635 : char *arg2 = (char *) 0 ;
32636 : char *arg3 = (char *) "GOMF" ;
32637 0 : void *argp1 = 0 ;
32638 : int res1 = 0 ;
32639 : int res2 ;
32640 0 : char *buf2 = 0 ;
32641 0 : int alloc2 = 0 ;
32642 : int res3 ;
32643 0 : char *buf3 = 0 ;
32644 0 : int alloc3 = 0 ;
32645 : int argvi = 0;
32646 : int result;
32647 0 : dXSARGS;
32648 :
32649 0 : if ((items < 2) || (items > 3)) {
32650 0 : SWIG_croak("Usage: mapObj_saveQueryAsGML(self,filename,ns);");
32651 : }
32652 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32653 0 : if (!SWIG_IsOK(res1)) {
32654 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQueryAsGML" "', argument " "1"" of type '" "struct mapObj *""'");
32655 : }
32656 0 : arg1 = (struct mapObj *)(argp1);
32657 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32658 0 : if (!SWIG_IsOK(res2)) {
32659 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQueryAsGML" "', argument " "2"" of type '" "char *""'");
32660 : }
32661 0 : arg2 = (char *)(buf2);
32662 0 : if (items > 2) {
32663 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32664 0 : if (!SWIG_IsOK(res3)) {
32665 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_saveQueryAsGML" "', argument " "3"" of type '" "char const *""'");
32666 : }
32667 0 : arg3 = (char *)(buf3);
32668 : }
32669 : result = (int)mapObj_saveQueryAsGML(arg1,arg2,(char const *)arg3);
32670 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32671 :
32672 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32673 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32674 0 : XSRETURN(argvi);
32675 : fail:
32676 :
32677 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32678 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32679 0 : SWIG_croak_null();
32680 : }
32681 : }
32682 :
32683 :
32684 0 : XS(_wrap_mapObj_getMetaData) {
32685 : {
32686 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32687 : char *arg2 = (char *) 0 ;
32688 0 : void *argp1 = 0 ;
32689 : int res1 = 0 ;
32690 : int res2 ;
32691 0 : char *buf2 = 0 ;
32692 0 : int alloc2 = 0 ;
32693 : int argvi = 0;
32694 : char *result = 0 ;
32695 0 : dXSARGS;
32696 :
32697 0 : if ((items < 2) || (items > 2)) {
32698 0 : SWIG_croak("Usage: mapObj_getMetaData(self,name);");
32699 : }
32700 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32701 0 : if (!SWIG_IsOK(res1)) {
32702 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32703 : }
32704 0 : arg1 = (struct mapObj *)(argp1);
32705 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32706 0 : if (!SWIG_IsOK(res2)) {
32707 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getMetaData" "', argument " "2"" of type '" "char *""'");
32708 : }
32709 0 : arg2 = (char *)(buf2);
32710 0 : result = (char *)mapObj_getMetaData(arg1,arg2);
32711 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32712 :
32713 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32714 0 : XSRETURN(argvi);
32715 : fail:
32716 :
32717 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32718 0 : SWIG_croak_null();
32719 : }
32720 : }
32721 :
32722 :
32723 0 : XS(_wrap_mapObj_setMetaData) {
32724 : {
32725 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32726 : char *arg2 = (char *) 0 ;
32727 : char *arg3 = (char *) 0 ;
32728 0 : void *argp1 = 0 ;
32729 : int res1 = 0 ;
32730 : int res2 ;
32731 0 : char *buf2 = 0 ;
32732 0 : int alloc2 = 0 ;
32733 : int res3 ;
32734 0 : char *buf3 = 0 ;
32735 0 : int alloc3 = 0 ;
32736 : int argvi = 0;
32737 : int result;
32738 0 : dXSARGS;
32739 :
32740 0 : if ((items < 3) || (items > 3)) {
32741 0 : SWIG_croak("Usage: mapObj_setMetaData(self,name,value);");
32742 : }
32743 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32744 0 : if (!SWIG_IsOK(res1)) {
32745 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32746 : }
32747 0 : arg1 = (struct mapObj *)(argp1);
32748 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32749 0 : if (!SWIG_IsOK(res2)) {
32750 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setMetaData" "', argument " "2"" of type '" "char *""'");
32751 : }
32752 0 : arg2 = (char *)(buf2);
32753 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32754 0 : if (!SWIG_IsOK(res3)) {
32755 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setMetaData" "', argument " "3"" of type '" "char *""'");
32756 : }
32757 0 : arg3 = (char *)(buf3);
32758 : result = (int)mapObj_setMetaData(arg1,arg2,arg3);
32759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32760 :
32761 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32762 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32763 0 : XSRETURN(argvi);
32764 : fail:
32765 :
32766 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32767 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32768 0 : SWIG_croak_null();
32769 : }
32770 : }
32771 :
32772 :
32773 0 : XS(_wrap_mapObj_removeMetaData) {
32774 : {
32775 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32776 : char *arg2 = (char *) 0 ;
32777 0 : void *argp1 = 0 ;
32778 : int res1 = 0 ;
32779 : int res2 ;
32780 0 : char *buf2 = 0 ;
32781 0 : int alloc2 = 0 ;
32782 : int argvi = 0;
32783 : int result;
32784 0 : dXSARGS;
32785 :
32786 0 : if ((items < 2) || (items > 2)) {
32787 0 : SWIG_croak("Usage: mapObj_removeMetaData(self,name);");
32788 : }
32789 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32790 0 : if (!SWIG_IsOK(res1)) {
32791 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32792 : }
32793 0 : arg1 = (struct mapObj *)(argp1);
32794 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32795 0 : if (!SWIG_IsOK(res2)) {
32796 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
32797 : }
32798 0 : arg2 = (char *)(buf2);
32799 : result = (int)mapObj_removeMetaData(arg1,arg2);
32800 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32801 :
32802 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32803 0 : XSRETURN(argvi);
32804 : fail:
32805 :
32806 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32807 0 : SWIG_croak_null();
32808 : }
32809 : }
32810 :
32811 :
32812 0 : XS(_wrap_mapObj_getFirstMetaDataKey) {
32813 : {
32814 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32815 0 : void *argp1 = 0 ;
32816 : int res1 = 0 ;
32817 : int argvi = 0;
32818 : char *result = 0 ;
32819 0 : dXSARGS;
32820 :
32821 0 : if ((items < 1) || (items > 1)) {
32822 0 : SWIG_croak("Usage: mapObj_getFirstMetaDataKey(self);");
32823 : }
32824 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32825 0 : if (!SWIG_IsOK(res1)) {
32826 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'");
32827 : }
32828 0 : arg1 = (struct mapObj *)(argp1);
32829 : result = (char *)mapObj_getFirstMetaDataKey(arg1);
32830 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32831 :
32832 0 : XSRETURN(argvi);
32833 : fail:
32834 :
32835 0 : SWIG_croak_null();
32836 : }
32837 : }
32838 :
32839 :
32840 0 : XS(_wrap_mapObj_getNextMetaDataKey) {
32841 : {
32842 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32843 : char *arg2 = (char *) 0 ;
32844 0 : void *argp1 = 0 ;
32845 : int res1 = 0 ;
32846 : int res2 ;
32847 0 : char *buf2 = 0 ;
32848 0 : int alloc2 = 0 ;
32849 : int argvi = 0;
32850 : char *result = 0 ;
32851 0 : dXSARGS;
32852 :
32853 0 : if ((items < 2) || (items > 2)) {
32854 0 : SWIG_croak("Usage: mapObj_getNextMetaDataKey(self,lastkey);");
32855 : }
32856 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32857 0 : if (!SWIG_IsOK(res1)) {
32858 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'");
32859 : }
32860 0 : arg1 = (struct mapObj *)(argp1);
32861 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32862 0 : if (!SWIG_IsOK(res2)) {
32863 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
32864 : }
32865 0 : arg2 = (char *)(buf2);
32866 : result = (char *)mapObj_getNextMetaDataKey(arg1,arg2);
32867 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32868 :
32869 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32870 0 : XSRETURN(argvi);
32871 : fail:
32872 :
32873 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32874 0 : SWIG_croak_null();
32875 : }
32876 : }
32877 :
32878 :
32879 0 : XS(_wrap_mapObj_setSymbolSet) {
32880 : {
32881 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32882 : char *arg2 = (char *) 0 ;
32883 0 : void *argp1 = 0 ;
32884 : int res1 = 0 ;
32885 : int res2 ;
32886 0 : char *buf2 = 0 ;
32887 0 : int alloc2 = 0 ;
32888 : int argvi = 0;
32889 : int result;
32890 0 : dXSARGS;
32891 :
32892 0 : if ((items < 2) || (items > 2)) {
32893 0 : SWIG_croak("Usage: mapObj_setSymbolSet(self,szFileName);");
32894 : }
32895 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32896 0 : if (!SWIG_IsOK(res1)) {
32897 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSymbolSet" "', argument " "1"" of type '" "struct mapObj *""'");
32898 : }
32899 0 : arg1 = (struct mapObj *)(argp1);
32900 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32901 0 : if (!SWIG_IsOK(res2)) {
32902 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setSymbolSet" "', argument " "2"" of type '" "char *""'");
32903 : }
32904 0 : arg2 = (char *)(buf2);
32905 0 : result = (int)mapObj_setSymbolSet(arg1,arg2);
32906 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32907 :
32908 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32909 0 : XSRETURN(argvi);
32910 : fail:
32911 :
32912 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32913 0 : SWIG_croak_null();
32914 : }
32915 : }
32916 :
32917 :
32918 0 : XS(_wrap_mapObj_getNumSymbols) {
32919 : {
32920 0 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32921 0 : void *argp1 = 0 ;
32922 : int res1 = 0 ;
32923 : int argvi = 0;
32924 : int result;
32925 0 : dXSARGS;
32926 :
32927 0 : if ((items < 1) || (items > 1)) {
32928 0 : SWIG_croak("Usage: mapObj_getNumSymbols(self);");
32929 : }
32930 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32931 0 : if (!SWIG_IsOK(res1)) {
32932 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNumSymbols" "', argument " "1"" of type '" "struct mapObj *""'");
32933 : }
32934 0 : arg1 = (struct mapObj *)(argp1);
32935 : result = (int)mapObj_getNumSymbols(arg1);
32936 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32937 :
32938 0 : XSRETURN(argvi);
32939 : fail:
32940 :
32941 0 : SWIG_croak_null();
32942 : }
32943 : }
32944 :
32945 :
32946 0 : XS(_wrap_mapObj_setFontSet) {
32947 : {
32948 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32949 : char *arg2 = (char *) 0 ;
32950 0 : void *argp1 = 0 ;
32951 : int res1 = 0 ;
32952 : int res2 ;
32953 0 : char *buf2 = 0 ;
32954 0 : int alloc2 = 0 ;
32955 : int argvi = 0;
32956 : int result;
32957 0 : dXSARGS;
32958 :
32959 0 : if ((items < 2) || (items > 2)) {
32960 0 : SWIG_croak("Usage: mapObj_setFontSet(self,filename);");
32961 : }
32962 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32963 0 : if (!SWIG_IsOK(res1)) {
32964 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setFontSet" "', argument " "1"" of type '" "struct mapObj *""'");
32965 : }
32966 0 : arg1 = (struct mapObj *)(argp1);
32967 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32968 0 : if (!SWIG_IsOK(res2)) {
32969 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setFontSet" "', argument " "2"" of type '" "char *""'");
32970 : }
32971 0 : arg2 = (char *)(buf2);
32972 0 : result = (int)mapObj_setFontSet(arg1,arg2);
32973 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32974 :
32975 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32976 0 : XSRETURN(argvi);
32977 : fail:
32978 :
32979 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32980 0 : SWIG_croak_null();
32981 : }
32982 : }
32983 :
32984 :
32985 0 : XS(_wrap_mapObj_saveMapContext) {
32986 : {
32987 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32988 : char *arg2 = (char *) 0 ;
32989 0 : void *argp1 = 0 ;
32990 : int res1 = 0 ;
32991 : int res2 ;
32992 0 : char *buf2 = 0 ;
32993 0 : int alloc2 = 0 ;
32994 : int argvi = 0;
32995 : int result;
32996 0 : dXSARGS;
32997 :
32998 0 : if ((items < 2) || (items > 2)) {
32999 0 : SWIG_croak("Usage: mapObj_saveMapContext(self,szFileName);");
33000 : }
33001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33002 0 : if (!SWIG_IsOK(res1)) {
33003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveMapContext" "', argument " "1"" of type '" "struct mapObj *""'");
33004 : }
33005 0 : arg1 = (struct mapObj *)(argp1);
33006 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33007 0 : if (!SWIG_IsOK(res2)) {
33008 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveMapContext" "', argument " "2"" of type '" "char *""'");
33009 : }
33010 0 : arg2 = (char *)(buf2);
33011 : result = (int)mapObj_saveMapContext(arg1,arg2);
33012 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33013 :
33014 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33015 0 : XSRETURN(argvi);
33016 : fail:
33017 :
33018 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33019 0 : SWIG_croak_null();
33020 : }
33021 : }
33022 :
33023 :
33024 0 : XS(_wrap_mapObj_loadMapContext) {
33025 : {
33026 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33027 : char *arg2 = (char *) 0 ;
33028 : int arg3 = (int) 0 ;
33029 0 : void *argp1 = 0 ;
33030 : int res1 = 0 ;
33031 : int res2 ;
33032 0 : char *buf2 = 0 ;
33033 0 : int alloc2 = 0 ;
33034 : int val3 ;
33035 : int ecode3 = 0 ;
33036 : int argvi = 0;
33037 : int result;
33038 0 : dXSARGS;
33039 :
33040 0 : if ((items < 2) || (items > 3)) {
33041 0 : SWIG_croak("Usage: mapObj_loadMapContext(self,szFileName,useUniqueNames);");
33042 : }
33043 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33044 0 : if (!SWIG_IsOK(res1)) {
33045 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadMapContext" "', argument " "1"" of type '" "struct mapObj *""'");
33046 : }
33047 0 : arg1 = (struct mapObj *)(argp1);
33048 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33049 0 : if (!SWIG_IsOK(res2)) {
33050 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadMapContext" "', argument " "2"" of type '" "char *""'");
33051 : }
33052 0 : arg2 = (char *)(buf2);
33053 0 : if (items > 2) {
33054 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
33055 0 : if (!SWIG_IsOK(ecode3)) {
33056 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_loadMapContext" "', argument " "3"" of type '" "int""'");
33057 : }
33058 0 : arg3 = (int)(val3);
33059 : }
33060 : result = (int)mapObj_loadMapContext(arg1,arg2,arg3);
33061 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33062 :
33063 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33064 :
33065 0 : XSRETURN(argvi);
33066 : fail:
33067 :
33068 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33069 :
33070 0 : SWIG_croak_null();
33071 : }
33072 : }
33073 :
33074 :
33075 0 : XS(_wrap_mapObj_moveLayerUp) {
33076 : {
33077 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33078 : int arg2 ;
33079 0 : void *argp1 = 0 ;
33080 : int res1 = 0 ;
33081 : int val2 ;
33082 : int ecode2 = 0 ;
33083 : int argvi = 0;
33084 : int result;
33085 0 : dXSARGS;
33086 :
33087 0 : if ((items < 2) || (items > 2)) {
33088 0 : SWIG_croak("Usage: mapObj_moveLayerUp(self,layerindex);");
33089 : }
33090 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33091 0 : if (!SWIG_IsOK(res1)) {
33092 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerUp" "', argument " "1"" of type '" "struct mapObj *""'");
33093 : }
33094 0 : arg1 = (struct mapObj *)(argp1);
33095 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33096 0 : if (!SWIG_IsOK(ecode2)) {
33097 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerUp" "', argument " "2"" of type '" "int""'");
33098 : }
33099 0 : arg2 = (int)(val2);
33100 : result = (int)mapObj_moveLayerUp(arg1,arg2);
33101 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33102 :
33103 :
33104 0 : XSRETURN(argvi);
33105 : fail:
33106 :
33107 :
33108 0 : SWIG_croak_null();
33109 : }
33110 : }
33111 :
33112 :
33113 0 : XS(_wrap_mapObj_moveLayerDown) {
33114 : {
33115 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33116 : int arg2 ;
33117 0 : void *argp1 = 0 ;
33118 : int res1 = 0 ;
33119 : int val2 ;
33120 : int ecode2 = 0 ;
33121 : int argvi = 0;
33122 : int result;
33123 0 : dXSARGS;
33124 :
33125 0 : if ((items < 2) || (items > 2)) {
33126 0 : SWIG_croak("Usage: mapObj_moveLayerDown(self,layerindex);");
33127 : }
33128 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33129 0 : if (!SWIG_IsOK(res1)) {
33130 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerDown" "', argument " "1"" of type '" "struct mapObj *""'");
33131 : }
33132 0 : arg1 = (struct mapObj *)(argp1);
33133 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33134 0 : if (!SWIG_IsOK(ecode2)) {
33135 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerDown" "', argument " "2"" of type '" "int""'");
33136 : }
33137 0 : arg2 = (int)(val2);
33138 : result = (int)mapObj_moveLayerDown(arg1,arg2);
33139 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33140 :
33141 :
33142 0 : XSRETURN(argvi);
33143 : fail:
33144 :
33145 :
33146 0 : SWIG_croak_null();
33147 : }
33148 : }
33149 :
33150 :
33151 0 : XS(_wrap_mapObj_getLayersDrawingOrder) {
33152 : {
33153 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33154 0 : void *argp1 = 0 ;
33155 : int res1 = 0 ;
33156 : int argvi = 0;
33157 : intarray *result = 0 ;
33158 0 : dXSARGS;
33159 :
33160 0 : if ((items < 1) || (items > 1)) {
33161 0 : SWIG_croak("Usage: mapObj_getLayersDrawingOrder(self);");
33162 : }
33163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33164 0 : if (!SWIG_IsOK(res1)) {
33165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'");
33166 : }
33167 0 : arg1 = (struct mapObj *)(argp1);
33168 0 : result = (intarray *)mapObj_getLayersDrawingOrder(arg1);
33169 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
33170 :
33171 0 : XSRETURN(argvi);
33172 : fail:
33173 :
33174 0 : SWIG_croak_null();
33175 : }
33176 : }
33177 :
33178 :
33179 0 : XS(_wrap_mapObj_setLayersDrawingOrder) {
33180 : {
33181 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33182 : int *arg2 = (int *) 0 ;
33183 0 : void *argp1 = 0 ;
33184 : int res1 = 0 ;
33185 0 : void *argp2 = 0 ;
33186 : int res2 = 0 ;
33187 : int argvi = 0;
33188 : int result;
33189 0 : dXSARGS;
33190 :
33191 0 : if ((items < 2) || (items > 2)) {
33192 0 : SWIG_croak("Usage: mapObj_setLayersDrawingOrder(self,panIndexes);");
33193 : }
33194 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33195 0 : if (!SWIG_IsOK(res1)) {
33196 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'");
33197 : }
33198 0 : arg1 = (struct mapObj *)(argp1);
33199 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 | 0 );
33200 0 : if (!SWIG_IsOK(res2)) {
33201 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "2"" of type '" "int *""'");
33202 : }
33203 0 : arg2 = (int *)(argp2);
33204 : result = (int)mapObj_setLayersDrawingOrder(arg1,arg2);
33205 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33206 :
33207 :
33208 0 : XSRETURN(argvi);
33209 : fail:
33210 :
33211 :
33212 0 : SWIG_croak_null();
33213 : }
33214 : }
33215 :
33216 :
33217 0 : XS(_wrap_mapObj_setConfigOption) {
33218 : {
33219 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33220 : char *arg2 = (char *) 0 ;
33221 : char *arg3 = (char *) 0 ;
33222 0 : void *argp1 = 0 ;
33223 : int res1 = 0 ;
33224 : int res2 ;
33225 0 : char *buf2 = 0 ;
33226 0 : int alloc2 = 0 ;
33227 : int res3 ;
33228 0 : char *buf3 = 0 ;
33229 0 : int alloc3 = 0 ;
33230 : int argvi = 0;
33231 0 : dXSARGS;
33232 :
33233 0 : if ((items < 3) || (items > 3)) {
33234 0 : SWIG_croak("Usage: mapObj_setConfigOption(self,key,value);");
33235 : }
33236 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33237 0 : if (!SWIG_IsOK(res1)) {
33238 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setConfigOption" "', argument " "1"" of type '" "struct mapObj *""'");
33239 : }
33240 0 : arg1 = (struct mapObj *)(argp1);
33241 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33242 0 : if (!SWIG_IsOK(res2)) {
33243 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setConfigOption" "', argument " "2"" of type '" "char *""'");
33244 : }
33245 0 : arg2 = (char *)(buf2);
33246 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
33247 0 : if (!SWIG_IsOK(res3)) {
33248 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setConfigOption" "', argument " "3"" of type '" "char *""'");
33249 : }
33250 0 : arg3 = (char *)(buf3);
33251 : mapObj_setConfigOption(arg1,arg2,arg3);
33252 0 : ST(argvi) = sv_newmortal();
33253 :
33254 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33255 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33256 0 : XSRETURN(argvi);
33257 : fail:
33258 :
33259 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33260 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33261 0 : SWIG_croak_null();
33262 : }
33263 : }
33264 :
33265 :
33266 0 : XS(_wrap_mapObj_getConfigOption) {
33267 : {
33268 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33269 : char *arg2 = (char *) 0 ;
33270 0 : void *argp1 = 0 ;
33271 : int res1 = 0 ;
33272 : int res2 ;
33273 0 : char *buf2 = 0 ;
33274 0 : int alloc2 = 0 ;
33275 : int argvi = 0;
33276 : char *result = 0 ;
33277 0 : dXSARGS;
33278 :
33279 0 : if ((items < 2) || (items > 2)) {
33280 0 : SWIG_croak("Usage: mapObj_getConfigOption(self,key);");
33281 : }
33282 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33283 0 : if (!SWIG_IsOK(res1)) {
33284 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getConfigOption" "', argument " "1"" of type '" "struct mapObj *""'");
33285 : }
33286 0 : arg1 = (struct mapObj *)(argp1);
33287 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33288 0 : if (!SWIG_IsOK(res2)) {
33289 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getConfigOption" "', argument " "2"" of type '" "char *""'");
33290 : }
33291 0 : arg2 = (char *)(buf2);
33292 : result = (char *)mapObj_getConfigOption(arg1,arg2);
33293 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33294 :
33295 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33296 0 : XSRETURN(argvi);
33297 : fail:
33298 :
33299 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33300 0 : SWIG_croak_null();
33301 : }
33302 : }
33303 :
33304 :
33305 0 : XS(_wrap_mapObj_applyConfigOptions) {
33306 : {
33307 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33308 0 : void *argp1 = 0 ;
33309 : int res1 = 0 ;
33310 : int argvi = 0;
33311 0 : dXSARGS;
33312 :
33313 0 : if ((items < 1) || (items > 1)) {
33314 0 : SWIG_croak("Usage: mapObj_applyConfigOptions(self);");
33315 : }
33316 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33317 0 : if (!SWIG_IsOK(res1)) {
33318 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyConfigOptions" "', argument " "1"" of type '" "struct mapObj *""'");
33319 : }
33320 0 : arg1 = (struct mapObj *)(argp1);
33321 : mapObj_applyConfigOptions(arg1);
33322 0 : ST(argvi) = sv_newmortal();
33323 :
33324 0 : XSRETURN(argvi);
33325 : fail:
33326 :
33327 0 : SWIG_croak_null();
33328 : }
33329 : }
33330 :
33331 :
33332 0 : XS(_wrap_mapObj_applySLD) {
33333 : {
33334 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33335 : char *arg2 = (char *) 0 ;
33336 0 : void *argp1 = 0 ;
33337 : int res1 = 0 ;
33338 : int res2 ;
33339 0 : char *buf2 = 0 ;
33340 0 : int alloc2 = 0 ;
33341 : int argvi = 0;
33342 : int result;
33343 0 : dXSARGS;
33344 :
33345 0 : if ((items < 2) || (items > 2)) {
33346 0 : SWIG_croak("Usage: mapObj_applySLD(self,sld);");
33347 : }
33348 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33349 0 : if (!SWIG_IsOK(res1)) {
33350 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLD" "', argument " "1"" of type '" "struct mapObj *""'");
33351 : }
33352 0 : arg1 = (struct mapObj *)(argp1);
33353 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33354 0 : if (!SWIG_IsOK(res2)) {
33355 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLD" "', argument " "2"" of type '" "char *""'");
33356 : }
33357 0 : arg2 = (char *)(buf2);
33358 : result = (int)mapObj_applySLD(arg1,arg2);
33359 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33360 :
33361 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33362 0 : XSRETURN(argvi);
33363 : fail:
33364 :
33365 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33366 0 : SWIG_croak_null();
33367 : }
33368 : }
33369 :
33370 :
33371 0 : XS(_wrap_mapObj_applySLDURL) {
33372 : {
33373 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33374 : char *arg2 = (char *) 0 ;
33375 0 : void *argp1 = 0 ;
33376 : int res1 = 0 ;
33377 : int res2 ;
33378 0 : char *buf2 = 0 ;
33379 0 : int alloc2 = 0 ;
33380 : int argvi = 0;
33381 : int result;
33382 0 : dXSARGS;
33383 :
33384 0 : if ((items < 2) || (items > 2)) {
33385 0 : SWIG_croak("Usage: mapObj_applySLDURL(self,sld);");
33386 : }
33387 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33388 0 : if (!SWIG_IsOK(res1)) {
33389 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLDURL" "', argument " "1"" of type '" "struct mapObj *""'");
33390 : }
33391 0 : arg1 = (struct mapObj *)(argp1);
33392 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33393 0 : if (!SWIG_IsOK(res2)) {
33394 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
33395 : }
33396 0 : arg2 = (char *)(buf2);
33397 : result = (int)mapObj_applySLDURL(arg1,arg2);
33398 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33399 :
33400 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33401 0 : XSRETURN(argvi);
33402 : fail:
33403 :
33404 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33405 0 : SWIG_croak_null();
33406 : }
33407 : }
33408 :
33409 :
33410 0 : XS(_wrap_mapObj_generateSLD) {
33411 : {
33412 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33413 : char *arg2 = (char *) NULL ;
33414 0 : void *argp1 = 0 ;
33415 : int res1 = 0 ;
33416 : int res2 ;
33417 0 : char *buf2 = 0 ;
33418 0 : int alloc2 = 0 ;
33419 : int argvi = 0;
33420 : char *result = 0 ;
33421 0 : dXSARGS;
33422 :
33423 0 : if ((items < 1) || (items > 2)) {
33424 0 : SWIG_croak("Usage: mapObj_generateSLD(self,sldVersion);");
33425 : }
33426 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33427 0 : if (!SWIG_IsOK(res1)) {
33428 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_generateSLD" "', argument " "1"" of type '" "struct mapObj *""'");
33429 : }
33430 0 : arg1 = (struct mapObj *)(argp1);
33431 0 : if (items > 1) {
33432 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33433 0 : if (!SWIG_IsOK(res2)) {
33434 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_generateSLD" "', argument " "2"" of type '" "char *""'");
33435 : }
33436 0 : arg2 = (char *)(buf2);
33437 : }
33438 : result = (char *)mapObj_generateSLD(arg1,arg2);
33439 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33440 :
33441 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33442 0 : free((char*)result);
33443 0 : XSRETURN(argvi);
33444 : fail:
33445 :
33446 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33447 0 : SWIG_croak_null();
33448 : }
33449 : }
33450 :
33451 :
33452 0 : XS(_wrap_mapObj_processTemplate) {
33453 : {
33454 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33455 : int arg2 ;
33456 : char **arg3 = (char **) 0 ;
33457 : char **arg4 = (char **) 0 ;
33458 : int arg5 ;
33459 0 : void *argp1 = 0 ;
33460 : int res1 = 0 ;
33461 : int val2 ;
33462 : int ecode2 = 0 ;
33463 0 : void *argp3 = 0 ;
33464 : int res3 = 0 ;
33465 0 : void *argp4 = 0 ;
33466 : int res4 = 0 ;
33467 : int val5 ;
33468 : int ecode5 = 0 ;
33469 : int argvi = 0;
33470 : char *result = 0 ;
33471 0 : dXSARGS;
33472 :
33473 0 : if ((items < 5) || (items > 5)) {
33474 0 : SWIG_croak("Usage: mapObj_processTemplate(self,bGenerateImages,names,values,numentries);");
33475 : }
33476 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33477 0 : if (!SWIG_IsOK(res1)) {
33478 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33479 : }
33480 0 : arg1 = (struct mapObj *)(argp1);
33481 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33482 0 : if (!SWIG_IsOK(ecode2)) {
33483 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_processTemplate" "', argument " "2"" of type '" "int""'");
33484 : }
33485 0 : arg2 = (int)(val2);
33486 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33487 0 : if (!SWIG_IsOK(res3)) {
33488 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processTemplate" "', argument " "3"" of type '" "char **""'");
33489 : }
33490 0 : arg3 = (char **)(argp3);
33491 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_p_char, 0 | 0 );
33492 0 : if (!SWIG_IsOK(res4)) {
33493 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_processTemplate" "', argument " "4"" of type '" "char **""'");
33494 : }
33495 0 : arg4 = (char **)(argp4);
33496 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
33497 0 : if (!SWIG_IsOK(ecode5)) {
33498 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_processTemplate" "', argument " "5"" of type '" "int""'");
33499 : }
33500 0 : arg5 = (int)(val5);
33501 : result = (char *)mapObj_processTemplate(arg1,arg2,arg3,arg4,arg5);
33502 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33503 :
33504 :
33505 :
33506 :
33507 :
33508 0 : free((char*)result);
33509 0 : XSRETURN(argvi);
33510 : fail:
33511 :
33512 :
33513 :
33514 :
33515 :
33516 0 : SWIG_croak_null();
33517 : }
33518 : }
33519 :
33520 :
33521 0 : XS(_wrap_mapObj_processLegendTemplate) {
33522 : {
33523 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33524 : char **arg2 = (char **) 0 ;
33525 : char **arg3 = (char **) 0 ;
33526 : int arg4 ;
33527 0 : void *argp1 = 0 ;
33528 : int res1 = 0 ;
33529 0 : void *argp2 = 0 ;
33530 : int res2 = 0 ;
33531 0 : void *argp3 = 0 ;
33532 : int res3 = 0 ;
33533 : int val4 ;
33534 : int ecode4 = 0 ;
33535 : int argvi = 0;
33536 : char *result = 0 ;
33537 0 : dXSARGS;
33538 :
33539 0 : if ((items < 4) || (items > 4)) {
33540 0 : SWIG_croak("Usage: mapObj_processLegendTemplate(self,names,values,numentries);");
33541 : }
33542 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33543 0 : if (!SWIG_IsOK(res1)) {
33544 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processLegendTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33545 : }
33546 0 : arg1 = (struct mapObj *)(argp1);
33547 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33548 0 : if (!SWIG_IsOK(res2)) {
33549 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processLegendTemplate" "', argument " "2"" of type '" "char **""'");
33550 : }
33551 0 : arg2 = (char **)(argp2);
33552 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33553 0 : if (!SWIG_IsOK(res3)) {
33554 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processLegendTemplate" "', argument " "3"" of type '" "char **""'");
33555 : }
33556 0 : arg3 = (char **)(argp3);
33557 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33558 0 : if (!SWIG_IsOK(ecode4)) {
33559 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processLegendTemplate" "', argument " "4"" of type '" "int""'");
33560 : }
33561 0 : arg4 = (int)(val4);
33562 : result = (char *)mapObj_processLegendTemplate(arg1,arg2,arg3,arg4);
33563 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33564 :
33565 :
33566 :
33567 :
33568 0 : free((char*)result);
33569 0 : XSRETURN(argvi);
33570 : fail:
33571 :
33572 :
33573 :
33574 :
33575 0 : SWIG_croak_null();
33576 : }
33577 : }
33578 :
33579 :
33580 0 : XS(_wrap_mapObj_processQueryTemplate) {
33581 : {
33582 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33583 : char **arg2 = (char **) 0 ;
33584 : char **arg3 = (char **) 0 ;
33585 : int arg4 ;
33586 0 : void *argp1 = 0 ;
33587 : int res1 = 0 ;
33588 0 : void *argp2 = 0 ;
33589 : int res2 = 0 ;
33590 0 : void *argp3 = 0 ;
33591 : int res3 = 0 ;
33592 : int val4 ;
33593 : int ecode4 = 0 ;
33594 : int argvi = 0;
33595 : char *result = 0 ;
33596 0 : dXSARGS;
33597 :
33598 0 : if ((items < 4) || (items > 4)) {
33599 0 : SWIG_croak("Usage: mapObj_processQueryTemplate(self,names,values,numentries);");
33600 : }
33601 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33602 0 : if (!SWIG_IsOK(res1)) {
33603 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processQueryTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33604 : }
33605 0 : arg1 = (struct mapObj *)(argp1);
33606 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33607 0 : if (!SWIG_IsOK(res2)) {
33608 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processQueryTemplate" "', argument " "2"" of type '" "char **""'");
33609 : }
33610 0 : arg2 = (char **)(argp2);
33611 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33612 0 : if (!SWIG_IsOK(res3)) {
33613 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processQueryTemplate" "', argument " "3"" of type '" "char **""'");
33614 : }
33615 0 : arg3 = (char **)(argp3);
33616 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33617 0 : if (!SWIG_IsOK(ecode4)) {
33618 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processQueryTemplate" "', argument " "4"" of type '" "int""'");
33619 : }
33620 0 : arg4 = (int)(val4);
33621 : result = (char *)mapObj_processQueryTemplate(arg1,arg2,arg3,arg4);
33622 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33623 :
33624 :
33625 :
33626 :
33627 0 : free((char*)result);
33628 0 : XSRETURN(argvi);
33629 : fail:
33630 :
33631 :
33632 :
33633 :
33634 0 : SWIG_croak_null();
33635 : }
33636 : }
33637 :
33638 :
33639 0 : XS(_wrap_mapObj_getOutputFormatByName) {
33640 : {
33641 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33642 : char *arg2 = (char *) 0 ;
33643 0 : void *argp1 = 0 ;
33644 : int res1 = 0 ;
33645 : int res2 ;
33646 0 : char *buf2 = 0 ;
33647 0 : int alloc2 = 0 ;
33648 : int argvi = 0;
33649 : outputFormatObj *result = 0 ;
33650 0 : dXSARGS;
33651 :
33652 0 : if ((items < 2) || (items > 2)) {
33653 0 : SWIG_croak("Usage: mapObj_getOutputFormatByName(self,name);");
33654 : }
33655 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33656 0 : if (!SWIG_IsOK(res1)) {
33657 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormatByName" "', argument " "1"" of type '" "struct mapObj *""'");
33658 : }
33659 0 : arg1 = (struct mapObj *)(argp1);
33660 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33661 0 : if (!SWIG_IsOK(res2)) {
33662 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getOutputFormatByName" "', argument " "2"" of type '" "char *""'");
33663 : }
33664 0 : arg2 = (char *)(buf2);
33665 : result = (outputFormatObj *)mapObj_getOutputFormatByName(arg1,arg2);
33666 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
33667 :
33668 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33669 0 : XSRETURN(argvi);
33670 : fail:
33671 :
33672 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33673 0 : SWIG_croak_null();
33674 : }
33675 : }
33676 :
33677 :
33678 0 : XS(_wrap_mapObj_appendOutputFormat) {
33679 : {
33680 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33681 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
33682 0 : void *argp1 = 0 ;
33683 : int res1 = 0 ;
33684 0 : void *argp2 = 0 ;
33685 : int res2 = 0 ;
33686 : int argvi = 0;
33687 : int result;
33688 0 : dXSARGS;
33689 :
33690 0 : if ((items < 2) || (items > 2)) {
33691 0 : SWIG_croak("Usage: mapObj_appendOutputFormat(self,format);");
33692 : }
33693 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33694 0 : if (!SWIG_IsOK(res1)) {
33695 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_appendOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
33696 : }
33697 0 : arg1 = (struct mapObj *)(argp1);
33698 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
33699 0 : if (!SWIG_IsOK(res2)) {
33700 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_appendOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'");
33701 : }
33702 0 : arg2 = (outputFormatObj *)(argp2);
33703 : result = (int)mapObj_appendOutputFormat(arg1,arg2);
33704 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33705 :
33706 :
33707 0 : XSRETURN(argvi);
33708 : fail:
33709 :
33710 :
33711 0 : SWIG_croak_null();
33712 : }
33713 : }
33714 :
33715 :
33716 0 : XS(_wrap_mapObj_removeOutputFormat) {
33717 : {
33718 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33719 : char *arg2 = (char *) 0 ;
33720 0 : void *argp1 = 0 ;
33721 : int res1 = 0 ;
33722 : int res2 ;
33723 0 : char *buf2 = 0 ;
33724 0 : int alloc2 = 0 ;
33725 : int argvi = 0;
33726 : int result;
33727 0 : dXSARGS;
33728 :
33729 0 : if ((items < 2) || (items > 2)) {
33730 0 : SWIG_croak("Usage: mapObj_removeOutputFormat(self,name);");
33731 : }
33732 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33733 0 : if (!SWIG_IsOK(res1)) {
33734 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
33735 : }
33736 0 : arg1 = (struct mapObj *)(argp1);
33737 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33738 0 : if (!SWIG_IsOK(res2)) {
33739 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeOutputFormat" "', argument " "2"" of type '" "char *""'");
33740 : }
33741 0 : arg2 = (char *)(buf2);
33742 : result = (int)mapObj_removeOutputFormat(arg1,arg2);
33743 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33744 :
33745 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33746 0 : XSRETURN(argvi);
33747 : fail:
33748 :
33749 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33750 0 : SWIG_croak_null();
33751 : }
33752 : }
33753 :
33754 :
33755 0 : XS(_wrap_mapObj_loadOWSParameters) {
33756 : {
33757 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33758 : cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
33759 : char *arg3 = (char *) "1.1.1" ;
33760 0 : void *argp1 = 0 ;
33761 : int res1 = 0 ;
33762 0 : void *argp2 = 0 ;
33763 : int res2 = 0 ;
33764 : int res3 ;
33765 0 : char *buf3 = 0 ;
33766 0 : int alloc3 = 0 ;
33767 : int argvi = 0;
33768 : int result;
33769 0 : dXSARGS;
33770 :
33771 0 : if ((items < 2) || (items > 3)) {
33772 0 : SWIG_croak("Usage: mapObj_loadOWSParameters(self,request,wmtver_string);");
33773 : }
33774 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33775 0 : if (!SWIG_IsOK(res1)) {
33776 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadOWSParameters" "', argument " "1"" of type '" "struct mapObj *""'");
33777 : }
33778 0 : arg1 = (struct mapObj *)(argp1);
33779 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
33780 0 : if (!SWIG_IsOK(res2)) {
33781 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadOWSParameters" "', argument " "2"" of type '" "cgiRequestObj *""'");
33782 : }
33783 0 : arg2 = (cgiRequestObj *)(argp2);
33784 0 : if (items > 2) {
33785 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
33786 0 : if (!SWIG_IsOK(res3)) {
33787 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_loadOWSParameters" "', argument " "3"" of type '" "char *""'");
33788 : }
33789 0 : arg3 = (char *)(buf3);
33790 : }
33791 : result = (int)mapObj_loadOWSParameters(arg1,arg2,arg3);
33792 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33793 :
33794 :
33795 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33796 0 : XSRETURN(argvi);
33797 : fail:
33798 :
33799 :
33800 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33801 0 : SWIG_croak_null();
33802 : }
33803 : }
33804 :
33805 :
33806 1 : XS(_wrap_mapObj_OWSDispatch) {
33807 : {
33808 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33809 : cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
33810 1 : void *argp1 = 0 ;
33811 : int res1 = 0 ;
33812 1 : void *argp2 = 0 ;
33813 : int res2 = 0 ;
33814 : int argvi = 0;
33815 : int result;
33816 1 : dXSARGS;
33817 :
33818 1 : if ((items < 2) || (items > 2)) {
33819 0 : SWIG_croak("Usage: mapObj_OWSDispatch(self,req);");
33820 : }
33821 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33822 1 : if (!SWIG_IsOK(res1)) {
33823 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_OWSDispatch" "', argument " "1"" of type '" "struct mapObj *""'");
33824 : }
33825 1 : arg1 = (struct mapObj *)(argp1);
33826 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
33827 1 : if (!SWIG_IsOK(res2)) {
33828 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_OWSDispatch" "', argument " "2"" of type '" "cgiRequestObj *""'");
33829 : }
33830 1 : arg2 = (cgiRequestObj *)(argp2);
33831 : result = (int)mapObj_OWSDispatch(arg1,arg2);
33832 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33833 :
33834 :
33835 1 : XSRETURN(argvi);
33836 : fail:
33837 :
33838 :
33839 0 : SWIG_croak_null();
33840 : }
33841 : }
33842 :
33843 :
33844 0 : XS(_wrap_mapObj_convertToString) {
33845 : {
33846 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33847 0 : void *argp1 = 0 ;
33848 : int res1 = 0 ;
33849 : int argvi = 0;
33850 : char *result = 0 ;
33851 0 : dXSARGS;
33852 :
33853 0 : if ((items < 1) || (items > 1)) {
33854 0 : SWIG_croak("Usage: mapObj_convertToString(self);");
33855 : }
33856 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33857 0 : if (!SWIG_IsOK(res1)) {
33858 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_convertToString" "', argument " "1"" of type '" "struct mapObj *""'");
33859 : }
33860 0 : arg1 = (struct mapObj *)(argp1);
33861 : result = (char *)mapObj_convertToString(arg1);
33862 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33863 :
33864 0 : free((char*)result);
33865 0 : XSRETURN(argvi);
33866 : fail:
33867 :
33868 0 : SWIG_croak_null();
33869 : }
33870 : }
33871 :
33872 :
33873 0 : XS(_wrap_mapObj_applyDefaultSubstitutions) {
33874 : {
33875 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33876 0 : void *argp1 = 0 ;
33877 : int res1 = 0 ;
33878 : int argvi = 0;
33879 0 : dXSARGS;
33880 :
33881 0 : if ((items < 1) || (items > 1)) {
33882 0 : SWIG_croak("Usage: mapObj_applyDefaultSubstitutions(self);");
33883 : }
33884 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33885 0 : if (!SWIG_IsOK(res1)) {
33886 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyDefaultSubstitutions" "', argument " "1"" of type '" "struct mapObj *""'");
33887 : }
33888 0 : arg1 = (struct mapObj *)(argp1);
33889 : mapObj_applyDefaultSubstitutions(arg1);
33890 0 : ST(argvi) = sv_newmortal();
33891 :
33892 0 : XSRETURN(argvi);
33893 : fail:
33894 :
33895 0 : SWIG_croak_null();
33896 : }
33897 : }
33898 :
33899 :
33900 0 : XS(_wrap_mapObj_applySubstitutions) {
33901 : {
33902 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33903 : char **arg2 = (char **) 0 ;
33904 : char **arg3 = (char **) 0 ;
33905 : int arg4 ;
33906 0 : void *argp1 = 0 ;
33907 : int res1 = 0 ;
33908 0 : void *argp2 = 0 ;
33909 : int res2 = 0 ;
33910 0 : void *argp3 = 0 ;
33911 : int res3 = 0 ;
33912 : int val4 ;
33913 : int ecode4 = 0 ;
33914 : int argvi = 0;
33915 0 : dXSARGS;
33916 :
33917 0 : if ((items < 4) || (items > 4)) {
33918 0 : SWIG_croak("Usage: mapObj_applySubstitutions(self,names,values,npairs);");
33919 : }
33920 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33921 0 : if (!SWIG_IsOK(res1)) {
33922 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySubstitutions" "', argument " "1"" of type '" "struct mapObj *""'");
33923 : }
33924 0 : arg1 = (struct mapObj *)(argp1);
33925 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33926 0 : if (!SWIG_IsOK(res2)) {
33927 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySubstitutions" "', argument " "2"" of type '" "char **""'");
33928 : }
33929 0 : arg2 = (char **)(argp2);
33930 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33931 0 : if (!SWIG_IsOK(res3)) {
33932 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_applySubstitutions" "', argument " "3"" of type '" "char **""'");
33933 : }
33934 0 : arg3 = (char **)(argp3);
33935 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33936 0 : if (!SWIG_IsOK(ecode4)) {
33937 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_applySubstitutions" "', argument " "4"" of type '" "int""'");
33938 : }
33939 0 : arg4 = (int)(val4);
33940 : mapObj_applySubstitutions(arg1,arg2,arg3,arg4);
33941 0 : ST(argvi) = sv_newmortal();
33942 :
33943 :
33944 :
33945 :
33946 0 : XSRETURN(argvi);
33947 : fail:
33948 :
33949 :
33950 :
33951 :
33952 0 : SWIG_croak_null();
33953 : }
33954 : }
33955 :
33956 :
33957 0 : XS(_wrap_mapObj_zoomPoint) {
33958 : {
33959 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33960 : int arg2 ;
33961 : pointObj *arg3 = (pointObj *) 0 ;
33962 : int arg4 ;
33963 : int arg5 ;
33964 : rectObj *arg6 = (rectObj *) 0 ;
33965 : rectObj *arg7 = (rectObj *) 0 ;
33966 0 : void *argp1 = 0 ;
33967 : int res1 = 0 ;
33968 : int val2 ;
33969 : int ecode2 = 0 ;
33970 0 : void *argp3 = 0 ;
33971 : int res3 = 0 ;
33972 : int val4 ;
33973 : int ecode4 = 0 ;
33974 : int val5 ;
33975 : int ecode5 = 0 ;
33976 0 : void *argp6 = 0 ;
33977 : int res6 = 0 ;
33978 0 : void *argp7 = 0 ;
33979 : int res7 = 0 ;
33980 : int argvi = 0;
33981 : int result;
33982 0 : dXSARGS;
33983 :
33984 0 : if ((items < 7) || (items > 7)) {
33985 0 : SWIG_croak("Usage: mapObj_zoomPoint(self,zoomfactor,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
33986 : }
33987 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33988 0 : if (!SWIG_IsOK(res1)) {
33989 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomPoint" "', argument " "1"" of type '" "struct mapObj *""'");
33990 : }
33991 0 : arg1 = (struct mapObj *)(argp1);
33992 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33993 0 : if (!SWIG_IsOK(ecode2)) {
33994 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomPoint" "', argument " "2"" of type '" "int""'");
33995 : }
33996 0 : arg2 = (int)(val2);
33997 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
33998 0 : if (!SWIG_IsOK(res3)) {
33999 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomPoint" "', argument " "3"" of type '" "pointObj *""'");
34000 : }
34001 0 : arg3 = (pointObj *)(argp3);
34002 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34003 0 : if (!SWIG_IsOK(ecode4)) {
34004 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomPoint" "', argument " "4"" of type '" "int""'");
34005 : }
34006 0 : arg4 = (int)(val4);
34007 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34008 0 : if (!SWIG_IsOK(ecode5)) {
34009 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomPoint" "', argument " "5"" of type '" "int""'");
34010 : }
34011 0 : arg5 = (int)(val5);
34012 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
34013 0 : if (!SWIG_IsOK(res6)) {
34014 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomPoint" "', argument " "6"" of type '" "rectObj *""'");
34015 : }
34016 0 : arg6 = (rectObj *)(argp6);
34017 0 : res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 | 0 );
34018 0 : if (!SWIG_IsOK(res7)) {
34019 0 : SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomPoint" "', argument " "7"" of type '" "rectObj *""'");
34020 : }
34021 0 : arg7 = (rectObj *)(argp7);
34022 0 : result = (int)mapObj_zoomPoint(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34023 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34024 :
34025 :
34026 :
34027 :
34028 :
34029 :
34030 :
34031 0 : XSRETURN(argvi);
34032 : fail:
34033 :
34034 :
34035 :
34036 :
34037 :
34038 :
34039 :
34040 0 : SWIG_croak_null();
34041 : }
34042 : }
34043 :
34044 :
34045 0 : XS(_wrap_mapObj_zoomRectangle) {
34046 : {
34047 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34048 : rectObj *arg2 = (rectObj *) 0 ;
34049 : int arg3 ;
34050 : int arg4 ;
34051 : rectObj *arg5 = (rectObj *) 0 ;
34052 : rectObj *arg6 = (rectObj *) 0 ;
34053 0 : void *argp1 = 0 ;
34054 : int res1 = 0 ;
34055 0 : void *argp2 = 0 ;
34056 : int res2 = 0 ;
34057 : int val3 ;
34058 : int ecode3 = 0 ;
34059 : int val4 ;
34060 : int ecode4 = 0 ;
34061 0 : void *argp5 = 0 ;
34062 : int res5 = 0 ;
34063 0 : void *argp6 = 0 ;
34064 : int res6 = 0 ;
34065 : int argvi = 0;
34066 : int result;
34067 0 : dXSARGS;
34068 :
34069 0 : if ((items < 6) || (items > 6)) {
34070 0 : SWIG_croak("Usage: mapObj_zoomRectangle(self,poPixRect,width,height,poGeorefExt,poMaxGeorefExt);");
34071 : }
34072 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34073 0 : if (!SWIG_IsOK(res1)) {
34074 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomRectangle" "', argument " "1"" of type '" "struct mapObj *""'");
34075 : }
34076 0 : arg1 = (struct mapObj *)(argp1);
34077 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
34078 0 : if (!SWIG_IsOK(res2)) {
34079 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_zoomRectangle" "', argument " "2"" of type '" "rectObj *""'");
34080 : }
34081 0 : arg2 = (rectObj *)(argp2);
34082 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34083 0 : if (!SWIG_IsOK(ecode3)) {
34084 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_zoomRectangle" "', argument " "3"" of type '" "int""'");
34085 : }
34086 0 : arg3 = (int)(val3);
34087 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34088 0 : if (!SWIG_IsOK(ecode4)) {
34089 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomRectangle" "', argument " "4"" of type '" "int""'");
34090 : }
34091 0 : arg4 = (int)(val4);
34092 0 : res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_rectObj, 0 | 0 );
34093 0 : if (!SWIG_IsOK(res5)) {
34094 0 : SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "mapObj_zoomRectangle" "', argument " "5"" of type '" "rectObj *""'");
34095 : }
34096 0 : arg5 = (rectObj *)(argp5);
34097 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
34098 0 : if (!SWIG_IsOK(res6)) {
34099 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomRectangle" "', argument " "6"" of type '" "rectObj *""'");
34100 : }
34101 0 : arg6 = (rectObj *)(argp6);
34102 0 : result = (int)mapObj_zoomRectangle(arg1,arg2,arg3,arg4,arg5,arg6);
34103 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34104 :
34105 :
34106 :
34107 :
34108 :
34109 :
34110 0 : XSRETURN(argvi);
34111 : fail:
34112 :
34113 :
34114 :
34115 :
34116 :
34117 :
34118 0 : SWIG_croak_null();
34119 : }
34120 : }
34121 :
34122 :
34123 0 : XS(_wrap_mapObj_zoomScale) {
34124 : {
34125 : struct mapObj *arg1 = (struct mapObj *) 0 ;
34126 : double arg2 ;
34127 : pointObj *arg3 = (pointObj *) 0 ;
34128 : int arg4 ;
34129 : int arg5 ;
34130 : rectObj *arg6 = (rectObj *) 0 ;
34131 : rectObj *arg7 = (rectObj *) 0 ;
34132 0 : void *argp1 = 0 ;
34133 : int res1 = 0 ;
34134 : double val2 ;
34135 : int ecode2 = 0 ;
34136 0 : void *argp3 = 0 ;
34137 : int res3 = 0 ;
34138 : int val4 ;
34139 : int ecode4 = 0 ;
34140 : int val5 ;
34141 : int ecode5 = 0 ;
34142 0 : void *argp6 = 0 ;
34143 : int res6 = 0 ;
34144 0 : void *argp7 = 0 ;
34145 : int res7 = 0 ;
34146 : int argvi = 0;
34147 : int result;
34148 0 : dXSARGS;
34149 :
34150 0 : if ((items < 7) || (items > 7)) {
34151 0 : SWIG_croak("Usage: mapObj_zoomScale(self,scale,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
34152 : }
34153 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34154 0 : if (!SWIG_IsOK(res1)) {
34155 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomScale" "', argument " "1"" of type '" "struct mapObj *""'");
34156 : }
34157 0 : arg1 = (struct mapObj *)(argp1);
34158 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34159 0 : if (!SWIG_IsOK(ecode2)) {
34160 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomScale" "', argument " "2"" of type '" "double""'");
34161 : }
34162 0 : arg2 = (double)(val2);
34163 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
34164 0 : if (!SWIG_IsOK(res3)) {
34165 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomScale" "', argument " "3"" of type '" "pointObj *""'");
34166 : }
34167 0 : arg3 = (pointObj *)(argp3);
34168 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34169 0 : if (!SWIG_IsOK(ecode4)) {
34170 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomScale" "', argument " "4"" of type '" "int""'");
34171 : }
34172 0 : arg4 = (int)(val4);
34173 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34174 0 : if (!SWIG_IsOK(ecode5)) {
34175 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomScale" "', argument " "5"" of type '" "int""'");
34176 : }
34177 0 : arg5 = (int)(val5);
34178 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
34179 0 : if (!SWIG_IsOK(res6)) {
34180 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomScale" "', argument " "6"" of type '" "rectObj *""'");
34181 : }
34182 0 : arg6 = (rectObj *)(argp6);
34183 0 : res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 | 0 );
34184 0 : if (!SWIG_IsOK(res7)) {
34185 0 : SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomScale" "', argument " "7"" of type '" "rectObj *""'");
34186 : }
34187 0 : arg7 = (rectObj *)(argp7);
34188 0 : result = (int)mapObj_zoomScale(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34189 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34190 :
34191 :
34192 :
34193 :
34194 :
34195 :
34196 :
34197 0 : XSRETURN(argvi);
34198 : fail:
34199 :
34200 :
34201 :
34202 :
34203 :
34204 :
34205 :
34206 0 : SWIG_croak_null();
34207 : }
34208 : }
34209 :
34210 :
34211 0 : XS(_wrap_msSaveImage) {
34212 : {
34213 : mapObj *arg1 = (mapObj *) 0 ;
34214 : imageObj *arg2 = (imageObj *) 0 ;
34215 : char *arg3 = (char *) 0 ;
34216 0 : void *argp1 = 0 ;
34217 : int res1 = 0 ;
34218 0 : void *argp2 = 0 ;
34219 : int res2 = 0 ;
34220 : int res3 ;
34221 0 : char *buf3 = 0 ;
34222 0 : int alloc3 = 0 ;
34223 : int argvi = 0;
34224 : int result;
34225 0 : dXSARGS;
34226 :
34227 0 : if ((items < 3) || (items > 3)) {
34228 0 : SWIG_croak("Usage: msSaveImage(map,img,filename);");
34229 : }
34230 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
34231 0 : if (!SWIG_IsOK(res1)) {
34232 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msSaveImage" "', argument " "1"" of type '" "mapObj *""'");
34233 : }
34234 0 : arg1 = (mapObj *)(argp1);
34235 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
34236 0 : if (!SWIG_IsOK(res2)) {
34237 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msSaveImage" "', argument " "2"" of type '" "imageObj *""'");
34238 : }
34239 0 : arg2 = (imageObj *)(argp2);
34240 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
34241 0 : if (!SWIG_IsOK(res3)) {
34242 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "msSaveImage" "', argument " "3"" of type '" "char const *""'");
34243 : }
34244 0 : arg3 = (char *)(buf3);
34245 0 : result = (int)msSaveImage(arg1,arg2,(char const *)arg3);
34246 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34247 :
34248 :
34249 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34250 0 : XSRETURN(argvi);
34251 : fail:
34252 :
34253 :
34254 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
34255 0 : SWIG_croak_null();
34256 : }
34257 : }
34258 :
34259 :
34260 0 : XS(_wrap_msFreeImage) {
34261 : {
34262 : imageObj *arg1 = (imageObj *) 0 ;
34263 0 : void *argp1 = 0 ;
34264 : int res1 = 0 ;
34265 : int argvi = 0;
34266 0 : dXSARGS;
34267 :
34268 0 : if ((items < 1) || (items > 1)) {
34269 0 : SWIG_croak("Usage: msFreeImage(img);");
34270 : }
34271 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
34272 0 : if (!SWIG_IsOK(res1)) {
34273 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msFreeImage" "', argument " "1"" of type '" "imageObj *""'");
34274 : }
34275 0 : arg1 = (imageObj *)(argp1);
34276 0 : msFreeImage(arg1);
34277 0 : ST(argvi) = sv_newmortal();
34278 :
34279 0 : XSRETURN(argvi);
34280 : fail:
34281 :
34282 0 : SWIG_croak_null();
34283 : }
34284 : }
34285 :
34286 :
34287 0 : XS(_wrap_msSetup) {
34288 : {
34289 : int argvi = 0;
34290 : int result;
34291 0 : dXSARGS;
34292 :
34293 0 : if ((items < 0) || (items > 0)) {
34294 0 : SWIG_croak("Usage: msSetup();");
34295 : }
34296 0 : result = (int)msSetup();
34297 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34298 0 : XSRETURN(argvi);
34299 : fail:
34300 0 : SWIG_croak_null();
34301 : }
34302 : }
34303 :
34304 :
34305 0 : XS(_wrap_msCleanup) {
34306 : {
34307 : int argvi = 0;
34308 0 : dXSARGS;
34309 :
34310 0 : if ((items < 0) || (items > 0)) {
34311 0 : SWIG_croak("Usage: msCleanup();");
34312 : }
34313 0 : msCleanup();
34314 0 : ST(argvi) = sv_newmortal();
34315 0 : XSRETURN(argvi);
34316 : fail:
34317 0 : SWIG_croak_null();
34318 : }
34319 : }
34320 :
34321 :
34322 0 : XS(_wrap_msLoadMapFromString) {
34323 : {
34324 : char *arg1 = (char *) 0 ;
34325 : char *arg2 = (char *) 0 ;
34326 : int res1 ;
34327 0 : char *buf1 = 0 ;
34328 0 : int alloc1 = 0 ;
34329 : int res2 ;
34330 0 : char *buf2 = 0 ;
34331 0 : int alloc2 = 0 ;
34332 : int argvi = 0;
34333 : mapObj *result = 0 ;
34334 0 : dXSARGS;
34335 :
34336 0 : if ((items < 2) || (items > 2)) {
34337 0 : SWIG_croak("Usage: msLoadMapFromString(buffer,new_mappath);");
34338 : }
34339 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
34340 0 : if (!SWIG_IsOK(res1)) {
34341 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msLoadMapFromString" "', argument " "1"" of type '" "char *""'");
34342 : }
34343 0 : arg1 = (char *)(buf1);
34344 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
34345 0 : if (!SWIG_IsOK(res2)) {
34346 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msLoadMapFromString" "', argument " "2"" of type '" "char *""'");
34347 : }
34348 0 : arg2 = (char *)(buf2);
34349 0 : result = (mapObj *)msLoadMapFromString(arg1,arg2);
34350 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34351 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
34352 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34353 0 : XSRETURN(argvi);
34354 : fail:
34355 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
34356 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34357 0 : SWIG_croak_null();
34358 : }
34359 : }
34360 :
34361 :
34362 0 : XS(_wrap_rectObj_minx_set) {
34363 : {
34364 : rectObj *arg1 = (rectObj *) 0 ;
34365 : double arg2 ;
34366 0 : void *argp1 = 0 ;
34367 : int res1 = 0 ;
34368 : double val2 ;
34369 : int ecode2 = 0 ;
34370 : int argvi = 0;
34371 0 : dXSARGS;
34372 :
34373 0 : if ((items < 2) || (items > 2)) {
34374 0 : SWIG_croak("Usage: rectObj_minx_set(self,minx);");
34375 : }
34376 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34377 0 : if (!SWIG_IsOK(res1)) {
34378 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_set" "', argument " "1"" of type '" "rectObj *""'");
34379 : }
34380 0 : arg1 = (rectObj *)(argp1);
34381 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34382 0 : if (!SWIG_IsOK(ecode2)) {
34383 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_minx_set" "', argument " "2"" of type '" "double""'");
34384 : }
34385 0 : arg2 = (double)(val2);
34386 0 : if (arg1) (arg1)->minx = arg2;
34387 0 : ST(argvi) = sv_newmortal();
34388 :
34389 :
34390 0 : XSRETURN(argvi);
34391 : fail:
34392 :
34393 :
34394 0 : SWIG_croak_null();
34395 : }
34396 : }
34397 :
34398 :
34399 1 : XS(_wrap_rectObj_minx_get) {
34400 : {
34401 : rectObj *arg1 = (rectObj *) 0 ;
34402 1 : void *argp1 = 0 ;
34403 : int res1 = 0 ;
34404 : int argvi = 0;
34405 : double result;
34406 1 : dXSARGS;
34407 :
34408 1 : if ((items < 1) || (items > 1)) {
34409 0 : SWIG_croak("Usage: rectObj_minx_get(self);");
34410 : }
34411 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34412 1 : if (!SWIG_IsOK(res1)) {
34413 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_get" "', argument " "1"" of type '" "rectObj *""'");
34414 : }
34415 1 : arg1 = (rectObj *)(argp1);
34416 1 : result = (double) ((arg1)->minx);
34417 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34418 :
34419 1 : XSRETURN(argvi);
34420 : fail:
34421 :
34422 0 : SWIG_croak_null();
34423 : }
34424 : }
34425 :
34426 :
34427 0 : XS(_wrap_rectObj_miny_set) {
34428 : {
34429 : rectObj *arg1 = (rectObj *) 0 ;
34430 : double arg2 ;
34431 0 : void *argp1 = 0 ;
34432 : int res1 = 0 ;
34433 : double val2 ;
34434 : int ecode2 = 0 ;
34435 : int argvi = 0;
34436 0 : dXSARGS;
34437 :
34438 0 : if ((items < 2) || (items > 2)) {
34439 0 : SWIG_croak("Usage: rectObj_miny_set(self,miny);");
34440 : }
34441 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34442 0 : if (!SWIG_IsOK(res1)) {
34443 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_set" "', argument " "1"" of type '" "rectObj *""'");
34444 : }
34445 0 : arg1 = (rectObj *)(argp1);
34446 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34447 0 : if (!SWIG_IsOK(ecode2)) {
34448 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_miny_set" "', argument " "2"" of type '" "double""'");
34449 : }
34450 0 : arg2 = (double)(val2);
34451 0 : if (arg1) (arg1)->miny = arg2;
34452 0 : ST(argvi) = sv_newmortal();
34453 :
34454 :
34455 0 : XSRETURN(argvi);
34456 : fail:
34457 :
34458 :
34459 0 : SWIG_croak_null();
34460 : }
34461 : }
34462 :
34463 :
34464 1 : XS(_wrap_rectObj_miny_get) {
34465 : {
34466 : rectObj *arg1 = (rectObj *) 0 ;
34467 1 : void *argp1 = 0 ;
34468 : int res1 = 0 ;
34469 : int argvi = 0;
34470 : double result;
34471 1 : dXSARGS;
34472 :
34473 1 : if ((items < 1) || (items > 1)) {
34474 0 : SWIG_croak("Usage: rectObj_miny_get(self);");
34475 : }
34476 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34477 1 : if (!SWIG_IsOK(res1)) {
34478 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_get" "', argument " "1"" of type '" "rectObj *""'");
34479 : }
34480 1 : arg1 = (rectObj *)(argp1);
34481 1 : result = (double) ((arg1)->miny);
34482 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34483 :
34484 1 : XSRETURN(argvi);
34485 : fail:
34486 :
34487 0 : SWIG_croak_null();
34488 : }
34489 : }
34490 :
34491 :
34492 0 : XS(_wrap_rectObj_maxx_set) {
34493 : {
34494 : rectObj *arg1 = (rectObj *) 0 ;
34495 : double arg2 ;
34496 0 : void *argp1 = 0 ;
34497 : int res1 = 0 ;
34498 : double val2 ;
34499 : int ecode2 = 0 ;
34500 : int argvi = 0;
34501 0 : dXSARGS;
34502 :
34503 0 : if ((items < 2) || (items > 2)) {
34504 0 : SWIG_croak("Usage: rectObj_maxx_set(self,maxx);");
34505 : }
34506 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34507 0 : if (!SWIG_IsOK(res1)) {
34508 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_set" "', argument " "1"" of type '" "rectObj *""'");
34509 : }
34510 0 : arg1 = (rectObj *)(argp1);
34511 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34512 0 : if (!SWIG_IsOK(ecode2)) {
34513 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxx_set" "', argument " "2"" of type '" "double""'");
34514 : }
34515 0 : arg2 = (double)(val2);
34516 0 : if (arg1) (arg1)->maxx = arg2;
34517 0 : ST(argvi) = sv_newmortal();
34518 :
34519 :
34520 0 : XSRETURN(argvi);
34521 : fail:
34522 :
34523 :
34524 0 : SWIG_croak_null();
34525 : }
34526 : }
34527 :
34528 :
34529 1 : XS(_wrap_rectObj_maxx_get) {
34530 : {
34531 : rectObj *arg1 = (rectObj *) 0 ;
34532 1 : void *argp1 = 0 ;
34533 : int res1 = 0 ;
34534 : int argvi = 0;
34535 : double result;
34536 1 : dXSARGS;
34537 :
34538 1 : if ((items < 1) || (items > 1)) {
34539 0 : SWIG_croak("Usage: rectObj_maxx_get(self);");
34540 : }
34541 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34542 1 : if (!SWIG_IsOK(res1)) {
34543 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_get" "', argument " "1"" of type '" "rectObj *""'");
34544 : }
34545 1 : arg1 = (rectObj *)(argp1);
34546 1 : result = (double) ((arg1)->maxx);
34547 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34548 :
34549 1 : XSRETURN(argvi);
34550 : fail:
34551 :
34552 0 : SWIG_croak_null();
34553 : }
34554 : }
34555 :
34556 :
34557 0 : XS(_wrap_rectObj_maxy_set) {
34558 : {
34559 : rectObj *arg1 = (rectObj *) 0 ;
34560 : double arg2 ;
34561 0 : void *argp1 = 0 ;
34562 : int res1 = 0 ;
34563 : double val2 ;
34564 : int ecode2 = 0 ;
34565 : int argvi = 0;
34566 0 : dXSARGS;
34567 :
34568 0 : if ((items < 2) || (items > 2)) {
34569 0 : SWIG_croak("Usage: rectObj_maxy_set(self,maxy);");
34570 : }
34571 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34572 0 : if (!SWIG_IsOK(res1)) {
34573 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_set" "', argument " "1"" of type '" "rectObj *""'");
34574 : }
34575 0 : arg1 = (rectObj *)(argp1);
34576 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34577 0 : if (!SWIG_IsOK(ecode2)) {
34578 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxy_set" "', argument " "2"" of type '" "double""'");
34579 : }
34580 0 : arg2 = (double)(val2);
34581 0 : if (arg1) (arg1)->maxy = arg2;
34582 0 : ST(argvi) = sv_newmortal();
34583 :
34584 :
34585 0 : XSRETURN(argvi);
34586 : fail:
34587 :
34588 :
34589 0 : SWIG_croak_null();
34590 : }
34591 : }
34592 :
34593 :
34594 1 : XS(_wrap_rectObj_maxy_get) {
34595 : {
34596 : rectObj *arg1 = (rectObj *) 0 ;
34597 1 : void *argp1 = 0 ;
34598 : int res1 = 0 ;
34599 : int argvi = 0;
34600 : double result;
34601 1 : dXSARGS;
34602 :
34603 1 : if ((items < 1) || (items > 1)) {
34604 0 : SWIG_croak("Usage: rectObj_maxy_get(self);");
34605 : }
34606 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34607 1 : if (!SWIG_IsOK(res1)) {
34608 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_get" "', argument " "1"" of type '" "rectObj *""'");
34609 : }
34610 1 : arg1 = (rectObj *)(argp1);
34611 1 : result = (double) ((arg1)->maxy);
34612 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34613 :
34614 1 : XSRETURN(argvi);
34615 : fail:
34616 :
34617 0 : SWIG_croak_null();
34618 : }
34619 : }
34620 :
34621 :
34622 0 : XS(_wrap_new_rectObj) {
34623 : {
34624 : double arg1 = (double) -1.0 ;
34625 : double arg2 = (double) -1.0 ;
34626 : double arg3 = (double) -1.0 ;
34627 : double arg4 = (double) -1.0 ;
34628 : int arg5 = (int) 0 ;
34629 : double val1 ;
34630 : int ecode1 = 0 ;
34631 : double val2 ;
34632 : int ecode2 = 0 ;
34633 : double val3 ;
34634 : int ecode3 = 0 ;
34635 : double val4 ;
34636 : int ecode4 = 0 ;
34637 : int val5 ;
34638 : int ecode5 = 0 ;
34639 : int argvi = 0;
34640 : rectObj *result = 0 ;
34641 0 : dXSARGS;
34642 :
34643 0 : if ((items < 0) || (items > 5)) {
34644 0 : SWIG_croak("Usage: new_rectObj(minx,miny,maxx,maxy,imageunits);");
34645 : }
34646 0 : if (items > 0) {
34647 0 : ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
34648 0 : if (!SWIG_IsOK(ecode1)) {
34649 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_rectObj" "', argument " "1"" of type '" "double""'");
34650 : }
34651 0 : arg1 = (double)(val1);
34652 : }
34653 0 : if (items > 1) {
34654 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34655 0 : if (!SWIG_IsOK(ecode2)) {
34656 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_rectObj" "', argument " "2"" of type '" "double""'");
34657 : }
34658 0 : arg2 = (double)(val2);
34659 : }
34660 0 : if (items > 2) {
34661 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34662 0 : if (!SWIG_IsOK(ecode3)) {
34663 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_rectObj" "', argument " "3"" of type '" "double""'");
34664 : }
34665 0 : arg3 = (double)(val3);
34666 : }
34667 0 : if (items > 3) {
34668 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34669 0 : if (!SWIG_IsOK(ecode4)) {
34670 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_rectObj" "', argument " "4"" of type '" "double""'");
34671 : }
34672 0 : arg4 = (double)(val4);
34673 : }
34674 0 : if (items > 4) {
34675 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34676 0 : if (!SWIG_IsOK(ecode5)) {
34677 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_rectObj" "', argument " "5"" of type '" "int""'");
34678 : }
34679 0 : arg5 = (int)(val5);
34680 : }
34681 0 : result = (rectObj *)new_rectObj(arg1,arg2,arg3,arg4,arg5);
34682 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34683 :
34684 :
34685 :
34686 :
34687 :
34688 0 : XSRETURN(argvi);
34689 : fail:
34690 :
34691 :
34692 :
34693 :
34694 :
34695 0 : SWIG_croak_null();
34696 : }
34697 : }
34698 :
34699 :
34700 0 : XS(_wrap_delete_rectObj) {
34701 : {
34702 : rectObj *arg1 = (rectObj *) 0 ;
34703 0 : void *argp1 = 0 ;
34704 : int res1 = 0 ;
34705 : int argvi = 0;
34706 0 : dXSARGS;
34707 :
34708 0 : if ((items < 1) || (items > 1)) {
34709 0 : SWIG_croak("Usage: delete_rectObj(self);");
34710 : }
34711 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, SWIG_POINTER_DISOWN | 0 );
34712 0 : if (!SWIG_IsOK(res1)) {
34713 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_rectObj" "', argument " "1"" of type '" "rectObj *""'");
34714 : }
34715 0 : arg1 = (rectObj *)(argp1);
34716 : delete_rectObj(arg1);
34717 0 : ST(argvi) = sv_newmortal();
34718 :
34719 0 : XSRETURN(argvi);
34720 : fail:
34721 :
34722 0 : SWIG_croak_null();
34723 : }
34724 : }
34725 :
34726 :
34727 0 : XS(_wrap_rectObj_project) {
34728 : {
34729 : rectObj *arg1 = (rectObj *) 0 ;
34730 : projectionObj *arg2 = (projectionObj *) 0 ;
34731 : projectionObj *arg3 = (projectionObj *) 0 ;
34732 0 : void *argp1 = 0 ;
34733 : int res1 = 0 ;
34734 0 : void *argp2 = 0 ;
34735 : int res2 = 0 ;
34736 0 : void *argp3 = 0 ;
34737 : int res3 = 0 ;
34738 : int argvi = 0;
34739 : int result;
34740 0 : dXSARGS;
34741 :
34742 0 : if ((items < 3) || (items > 3)) {
34743 0 : SWIG_croak("Usage: rectObj_project(self,projin,projout);");
34744 : }
34745 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34746 0 : if (!SWIG_IsOK(res1)) {
34747 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_project" "', argument " "1"" of type '" "rectObj *""'");
34748 : }
34749 0 : arg1 = (rectObj *)(argp1);
34750 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
34751 0 : if (!SWIG_IsOK(res2)) {
34752 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_project" "', argument " "2"" of type '" "projectionObj *""'");
34753 : }
34754 0 : arg2 = (projectionObj *)(argp2);
34755 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
34756 0 : if (!SWIG_IsOK(res3)) {
34757 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_project" "', argument " "3"" of type '" "projectionObj *""'");
34758 : }
34759 0 : arg3 = (projectionObj *)(argp3);
34760 : result = (int)rectObj_project(arg1,arg2,arg3);
34761 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34762 :
34763 :
34764 :
34765 0 : XSRETURN(argvi);
34766 : fail:
34767 :
34768 :
34769 :
34770 0 : SWIG_croak_null();
34771 : }
34772 : }
34773 :
34774 :
34775 0 : XS(_wrap_rectObj_fit) {
34776 : {
34777 : rectObj *arg1 = (rectObj *) 0 ;
34778 : int arg2 ;
34779 : int arg3 ;
34780 0 : void *argp1 = 0 ;
34781 : int res1 = 0 ;
34782 : int val2 ;
34783 : int ecode2 = 0 ;
34784 : int val3 ;
34785 : int ecode3 = 0 ;
34786 : int argvi = 0;
34787 : double result;
34788 0 : dXSARGS;
34789 :
34790 0 : if ((items < 3) || (items > 3)) {
34791 0 : SWIG_croak("Usage: rectObj_fit(self,width,height);");
34792 : }
34793 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34794 0 : if (!SWIG_IsOK(res1)) {
34795 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_fit" "', argument " "1"" of type '" "rectObj *""'");
34796 : }
34797 0 : arg1 = (rectObj *)(argp1);
34798 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34799 0 : if (!SWIG_IsOK(ecode2)) {
34800 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_fit" "', argument " "2"" of type '" "int""'");
34801 : }
34802 0 : arg2 = (int)(val2);
34803 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34804 0 : if (!SWIG_IsOK(ecode3)) {
34805 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "rectObj_fit" "', argument " "3"" of type '" "int""'");
34806 : }
34807 0 : arg3 = (int)(val3);
34808 : result = (double)rectObj_fit(arg1,arg2,arg3);
34809 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34810 :
34811 :
34812 :
34813 0 : XSRETURN(argvi);
34814 : fail:
34815 :
34816 :
34817 :
34818 0 : SWIG_croak_null();
34819 : }
34820 : }
34821 :
34822 :
34823 0 : XS(_wrap_rectObj_draw) {
34824 : {
34825 : rectObj *arg1 = (rectObj *) 0 ;
34826 : mapObj *arg2 = (mapObj *) 0 ;
34827 : layerObj *arg3 = (layerObj *) 0 ;
34828 : imageObj *arg4 = (imageObj *) 0 ;
34829 : int arg5 ;
34830 : char *arg6 = (char *) 0 ;
34831 0 : void *argp1 = 0 ;
34832 : int res1 = 0 ;
34833 0 : void *argp2 = 0 ;
34834 : int res2 = 0 ;
34835 0 : void *argp3 = 0 ;
34836 : int res3 = 0 ;
34837 0 : void *argp4 = 0 ;
34838 : int res4 = 0 ;
34839 : int val5 ;
34840 : int ecode5 = 0 ;
34841 : int res6 ;
34842 0 : char *buf6 = 0 ;
34843 0 : int alloc6 = 0 ;
34844 : int argvi = 0;
34845 : int result;
34846 0 : dXSARGS;
34847 :
34848 0 : if ((items < 6) || (items > 6)) {
34849 0 : SWIG_croak("Usage: rectObj_draw(self,map,layer,image,classindex,text);");
34850 : }
34851 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34852 0 : if (!SWIG_IsOK(res1)) {
34853 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_draw" "', argument " "1"" of type '" "rectObj *""'");
34854 : }
34855 0 : arg1 = (rectObj *)(argp1);
34856 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
34857 0 : if (!SWIG_IsOK(res2)) {
34858 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_draw" "', argument " "2"" of type '" "mapObj *""'");
34859 : }
34860 0 : arg2 = (mapObj *)(argp2);
34861 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
34862 0 : if (!SWIG_IsOK(res3)) {
34863 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_draw" "', argument " "3"" of type '" "layerObj *""'");
34864 : }
34865 0 : arg3 = (layerObj *)(argp3);
34866 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
34867 0 : if (!SWIG_IsOK(res4)) {
34868 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "rectObj_draw" "', argument " "4"" of type '" "imageObj *""'");
34869 : }
34870 0 : arg4 = (imageObj *)(argp4);
34871 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34872 0 : if (!SWIG_IsOK(ecode5)) {
34873 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "rectObj_draw" "', argument " "5"" of type '" "int""'");
34874 : }
34875 0 : arg5 = (int)(val5);
34876 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
34877 0 : if (!SWIG_IsOK(res6)) {
34878 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "rectObj_draw" "', argument " "6"" of type '" "char *""'");
34879 : }
34880 0 : arg6 = (char *)(buf6);
34881 0 : result = (int)rectObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
34882 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34883 :
34884 :
34885 :
34886 :
34887 :
34888 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
34889 0 : XSRETURN(argvi);
34890 : fail:
34891 :
34892 :
34893 :
34894 :
34895 :
34896 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
34897 0 : SWIG_croak_null();
34898 : }
34899 : }
34900 :
34901 :
34902 0 : XS(_wrap_rectObj_getCenter) {
34903 : {
34904 : rectObj *arg1 = (rectObj *) 0 ;
34905 0 : void *argp1 = 0 ;
34906 : int res1 = 0 ;
34907 : int argvi = 0;
34908 : pointObj *result = 0 ;
34909 0 : dXSARGS;
34910 :
34911 0 : if ((items < 1) || (items > 1)) {
34912 0 : SWIG_croak("Usage: rectObj_getCenter(self);");
34913 : }
34914 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34915 0 : if (!SWIG_IsOK(res1)) {
34916 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_getCenter" "', argument " "1"" of type '" "rectObj *""'");
34917 : }
34918 0 : arg1 = (rectObj *)(argp1);
34919 0 : result = (pointObj *)rectObj_getCenter(arg1);
34920 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34921 :
34922 0 : XSRETURN(argvi);
34923 : fail:
34924 :
34925 0 : SWIG_croak_null();
34926 : }
34927 : }
34928 :
34929 :
34930 0 : XS(_wrap_rectObj_toPolygon) {
34931 : {
34932 : rectObj *arg1 = (rectObj *) 0 ;
34933 0 : void *argp1 = 0 ;
34934 : int res1 = 0 ;
34935 : int argvi = 0;
34936 : shapeObj *result = 0 ;
34937 0 : dXSARGS;
34938 :
34939 0 : if ((items < 1) || (items > 1)) {
34940 0 : SWIG_croak("Usage: rectObj_toPolygon(self);");
34941 : }
34942 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34943 0 : if (!SWIG_IsOK(res1)) {
34944 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toPolygon" "', argument " "1"" of type '" "rectObj *""'");
34945 : }
34946 0 : arg1 = (rectObj *)(argp1);
34947 0 : result = (shapeObj *)rectObj_toPolygon(arg1);
34948 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34949 :
34950 0 : XSRETURN(argvi);
34951 : fail:
34952 :
34953 0 : SWIG_croak_null();
34954 : }
34955 : }
34956 :
34957 :
34958 0 : XS(_wrap_rectObj_toString) {
34959 : {
34960 : rectObj *arg1 = (rectObj *) 0 ;
34961 0 : void *argp1 = 0 ;
34962 : int res1 = 0 ;
34963 : int argvi = 0;
34964 : char *result = 0 ;
34965 0 : dXSARGS;
34966 :
34967 0 : if ((items < 1) || (items > 1)) {
34968 0 : SWIG_croak("Usage: rectObj_toString(self);");
34969 : }
34970 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34971 0 : if (!SWIG_IsOK(res1)) {
34972 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toString" "', argument " "1"" of type '" "rectObj *""'");
34973 : }
34974 0 : arg1 = (rectObj *)(argp1);
34975 0 : result = (char *)rectObj_toString(arg1);
34976 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
34977 :
34978 0 : free((char*)result);
34979 0 : XSRETURN(argvi);
34980 : fail:
34981 :
34982 0 : SWIG_croak_null();
34983 : }
34984 : }
34985 :
34986 :
34987 0 : XS(_wrap_pointObj_x_set) {
34988 : {
34989 : pointObj *arg1 = (pointObj *) 0 ;
34990 : double arg2 ;
34991 0 : void *argp1 = 0 ;
34992 : int res1 = 0 ;
34993 : double val2 ;
34994 : int ecode2 = 0 ;
34995 : int argvi = 0;
34996 0 : dXSARGS;
34997 :
34998 0 : if ((items < 2) || (items > 2)) {
34999 0 : SWIG_croak("Usage: pointObj_x_set(self,x);");
35000 : }
35001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35002 0 : if (!SWIG_IsOK(res1)) {
35003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_set" "', argument " "1"" of type '" "pointObj *""'");
35004 : }
35005 0 : arg1 = (pointObj *)(argp1);
35006 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35007 0 : if (!SWIG_IsOK(ecode2)) {
35008 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_x_set" "', argument " "2"" of type '" "double""'");
35009 : }
35010 0 : arg2 = (double)(val2);
35011 0 : if (arg1) (arg1)->x = arg2;
35012 0 : ST(argvi) = sv_newmortal();
35013 :
35014 :
35015 0 : XSRETURN(argvi);
35016 : fail:
35017 :
35018 :
35019 0 : SWIG_croak_null();
35020 : }
35021 : }
35022 :
35023 :
35024 1 : XS(_wrap_pointObj_x_get) {
35025 : {
35026 : pointObj *arg1 = (pointObj *) 0 ;
35027 1 : void *argp1 = 0 ;
35028 : int res1 = 0 ;
35029 : int argvi = 0;
35030 : double result;
35031 1 : dXSARGS;
35032 :
35033 1 : if ((items < 1) || (items > 1)) {
35034 0 : SWIG_croak("Usage: pointObj_x_get(self);");
35035 : }
35036 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35037 1 : if (!SWIG_IsOK(res1)) {
35038 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_get" "', argument " "1"" of type '" "pointObj *""'");
35039 : }
35040 1 : arg1 = (pointObj *)(argp1);
35041 1 : result = (double) ((arg1)->x);
35042 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35043 :
35044 1 : XSRETURN(argvi);
35045 : fail:
35046 :
35047 0 : SWIG_croak_null();
35048 : }
35049 : }
35050 :
35051 :
35052 0 : XS(_wrap_pointObj_y_set) {
35053 : {
35054 : pointObj *arg1 = (pointObj *) 0 ;
35055 : double arg2 ;
35056 0 : void *argp1 = 0 ;
35057 : int res1 = 0 ;
35058 : double val2 ;
35059 : int ecode2 = 0 ;
35060 : int argvi = 0;
35061 0 : dXSARGS;
35062 :
35063 0 : if ((items < 2) || (items > 2)) {
35064 0 : SWIG_croak("Usage: pointObj_y_set(self,y);");
35065 : }
35066 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35067 0 : if (!SWIG_IsOK(res1)) {
35068 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_set" "', argument " "1"" of type '" "pointObj *""'");
35069 : }
35070 0 : arg1 = (pointObj *)(argp1);
35071 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35072 0 : if (!SWIG_IsOK(ecode2)) {
35073 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_y_set" "', argument " "2"" of type '" "double""'");
35074 : }
35075 0 : arg2 = (double)(val2);
35076 0 : if (arg1) (arg1)->y = arg2;
35077 0 : ST(argvi) = sv_newmortal();
35078 :
35079 :
35080 0 : XSRETURN(argvi);
35081 : fail:
35082 :
35083 :
35084 0 : SWIG_croak_null();
35085 : }
35086 : }
35087 :
35088 :
35089 1 : XS(_wrap_pointObj_y_get) {
35090 : {
35091 : pointObj *arg1 = (pointObj *) 0 ;
35092 1 : void *argp1 = 0 ;
35093 : int res1 = 0 ;
35094 : int argvi = 0;
35095 : double result;
35096 1 : dXSARGS;
35097 :
35098 1 : if ((items < 1) || (items > 1)) {
35099 0 : SWIG_croak("Usage: pointObj_y_get(self);");
35100 : }
35101 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35102 1 : if (!SWIG_IsOK(res1)) {
35103 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_get" "', argument " "1"" of type '" "pointObj *""'");
35104 : }
35105 1 : arg1 = (pointObj *)(argp1);
35106 1 : result = (double) ((arg1)->y);
35107 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35108 :
35109 1 : XSRETURN(argvi);
35110 : fail:
35111 :
35112 0 : SWIG_croak_null();
35113 : }
35114 : }
35115 :
35116 :
35117 0 : XS(_wrap_new_pointObj) {
35118 : {
35119 : double arg1 = (double) 0.0 ;
35120 : double arg2 = (double) 0.0 ;
35121 : double arg3 = (double) 0.0 ;
35122 : double arg4 = (double) -2e38 ;
35123 : double val1 ;
35124 : int ecode1 = 0 ;
35125 : double val2 ;
35126 : int ecode2 = 0 ;
35127 : double val3 ;
35128 : int ecode3 = 0 ;
35129 : double val4 ;
35130 : int ecode4 = 0 ;
35131 : int argvi = 0;
35132 : pointObj *result = 0 ;
35133 0 : dXSARGS;
35134 :
35135 0 : if ((items < 0) || (items > 4)) {
35136 0 : SWIG_croak("Usage: new_pointObj(x,y,z,m);");
35137 : }
35138 0 : if (items > 0) {
35139 0 : ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
35140 0 : if (!SWIG_IsOK(ecode1)) {
35141 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_pointObj" "', argument " "1"" of type '" "double""'");
35142 : }
35143 0 : arg1 = (double)(val1);
35144 : }
35145 0 : if (items > 1) {
35146 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35147 0 : if (!SWIG_IsOK(ecode2)) {
35148 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_pointObj" "', argument " "2"" of type '" "double""'");
35149 : }
35150 0 : arg2 = (double)(val2);
35151 : }
35152 0 : if (items > 2) {
35153 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35154 0 : if (!SWIG_IsOK(ecode3)) {
35155 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_pointObj" "', argument " "3"" of type '" "double""'");
35156 : }
35157 : arg3 = (double)(val3);
35158 : }
35159 0 : if (items > 3) {
35160 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35161 0 : if (!SWIG_IsOK(ecode4)) {
35162 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_pointObj" "', argument " "4"" of type '" "double""'");
35163 : }
35164 : arg4 = (double)(val4);
35165 : }
35166 : result = (pointObj *)new_pointObj(arg1,arg2,arg3,arg4);
35167 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35168 :
35169 :
35170 :
35171 :
35172 0 : XSRETURN(argvi);
35173 : fail:
35174 :
35175 :
35176 :
35177 :
35178 0 : SWIG_croak_null();
35179 : }
35180 : }
35181 :
35182 :
35183 0 : XS(_wrap_delete_pointObj) {
35184 : {
35185 : pointObj *arg1 = (pointObj *) 0 ;
35186 0 : void *argp1 = 0 ;
35187 : int res1 = 0 ;
35188 : int argvi = 0;
35189 0 : dXSARGS;
35190 :
35191 0 : if ((items < 1) || (items > 1)) {
35192 0 : SWIG_croak("Usage: delete_pointObj(self);");
35193 : }
35194 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, SWIG_POINTER_DISOWN | 0 );
35195 0 : if (!SWIG_IsOK(res1)) {
35196 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pointObj" "', argument " "1"" of type '" "pointObj *""'");
35197 : }
35198 0 : arg1 = (pointObj *)(argp1);
35199 : delete_pointObj(arg1);
35200 0 : ST(argvi) = sv_newmortal();
35201 :
35202 0 : XSRETURN(argvi);
35203 : fail:
35204 :
35205 0 : SWIG_croak_null();
35206 : }
35207 : }
35208 :
35209 :
35210 0 : XS(_wrap_pointObj_project) {
35211 : {
35212 : pointObj *arg1 = (pointObj *) 0 ;
35213 : projectionObj *arg2 = (projectionObj *) 0 ;
35214 : projectionObj *arg3 = (projectionObj *) 0 ;
35215 0 : void *argp1 = 0 ;
35216 : int res1 = 0 ;
35217 0 : void *argp2 = 0 ;
35218 : int res2 = 0 ;
35219 0 : void *argp3 = 0 ;
35220 : int res3 = 0 ;
35221 : int argvi = 0;
35222 : int result;
35223 0 : dXSARGS;
35224 :
35225 0 : if ((items < 3) || (items > 3)) {
35226 0 : SWIG_croak("Usage: pointObj_project(self,projin,projout);");
35227 : }
35228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35229 0 : if (!SWIG_IsOK(res1)) {
35230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_project" "', argument " "1"" of type '" "pointObj *""'");
35231 : }
35232 0 : arg1 = (pointObj *)(argp1);
35233 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
35234 0 : if (!SWIG_IsOK(res2)) {
35235 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_project" "', argument " "2"" of type '" "projectionObj *""'");
35236 : }
35237 0 : arg2 = (projectionObj *)(argp2);
35238 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
35239 0 : if (!SWIG_IsOK(res3)) {
35240 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_project" "', argument " "3"" of type '" "projectionObj *""'");
35241 : }
35242 0 : arg3 = (projectionObj *)(argp3);
35243 : result = (int)pointObj_project(arg1,arg2,arg3);
35244 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35245 :
35246 :
35247 :
35248 0 : XSRETURN(argvi);
35249 : fail:
35250 :
35251 :
35252 :
35253 0 : SWIG_croak_null();
35254 : }
35255 : }
35256 :
35257 :
35258 0 : XS(_wrap_pointObj_draw) {
35259 : {
35260 : pointObj *arg1 = (pointObj *) 0 ;
35261 : mapObj *arg2 = (mapObj *) 0 ;
35262 : layerObj *arg3 = (layerObj *) 0 ;
35263 : imageObj *arg4 = (imageObj *) 0 ;
35264 : int arg5 ;
35265 : char *arg6 = (char *) 0 ;
35266 0 : void *argp1 = 0 ;
35267 : int res1 = 0 ;
35268 0 : void *argp2 = 0 ;
35269 : int res2 = 0 ;
35270 0 : void *argp3 = 0 ;
35271 : int res3 = 0 ;
35272 0 : void *argp4 = 0 ;
35273 : int res4 = 0 ;
35274 : int val5 ;
35275 : int ecode5 = 0 ;
35276 : int res6 ;
35277 0 : char *buf6 = 0 ;
35278 0 : int alloc6 = 0 ;
35279 : int argvi = 0;
35280 : int result;
35281 0 : dXSARGS;
35282 :
35283 0 : if ((items < 6) || (items > 6)) {
35284 0 : SWIG_croak("Usage: pointObj_draw(self,map,layer,image,classindex,text);");
35285 : }
35286 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35287 0 : if (!SWIG_IsOK(res1)) {
35288 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_draw" "', argument " "1"" of type '" "pointObj *""'");
35289 : }
35290 0 : arg1 = (pointObj *)(argp1);
35291 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
35292 0 : if (!SWIG_IsOK(res2)) {
35293 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_draw" "', argument " "2"" of type '" "mapObj *""'");
35294 : }
35295 0 : arg2 = (mapObj *)(argp2);
35296 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
35297 0 : if (!SWIG_IsOK(res3)) {
35298 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_draw" "', argument " "3"" of type '" "layerObj *""'");
35299 : }
35300 0 : arg3 = (layerObj *)(argp3);
35301 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
35302 0 : if (!SWIG_IsOK(res4)) {
35303 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pointObj_draw" "', argument " "4"" of type '" "imageObj *""'");
35304 : }
35305 0 : arg4 = (imageObj *)(argp4);
35306 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35307 0 : if (!SWIG_IsOK(ecode5)) {
35308 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_draw" "', argument " "5"" of type '" "int""'");
35309 : }
35310 0 : arg5 = (int)(val5);
35311 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
35312 0 : if (!SWIG_IsOK(res6)) {
35313 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pointObj_draw" "', argument " "6"" of type '" "char *""'");
35314 : }
35315 0 : arg6 = (char *)(buf6);
35316 : result = (int)pointObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
35317 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35318 :
35319 :
35320 :
35321 :
35322 :
35323 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35324 0 : XSRETURN(argvi);
35325 : fail:
35326 :
35327 :
35328 :
35329 :
35330 :
35331 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35332 0 : SWIG_croak_null();
35333 : }
35334 : }
35335 :
35336 :
35337 0 : XS(_wrap_pointObj_distanceToPoint) {
35338 : {
35339 : pointObj *arg1 = (pointObj *) 0 ;
35340 : pointObj *arg2 = (pointObj *) 0 ;
35341 0 : void *argp1 = 0 ;
35342 : int res1 = 0 ;
35343 0 : void *argp2 = 0 ;
35344 : int res2 = 0 ;
35345 : int argvi = 0;
35346 : double result;
35347 0 : dXSARGS;
35348 :
35349 0 : if ((items < 2) || (items > 2)) {
35350 0 : SWIG_croak("Usage: pointObj_distanceToPoint(self,point);");
35351 : }
35352 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35353 0 : if (!SWIG_IsOK(res1)) {
35354 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToPoint" "', argument " "1"" of type '" "pointObj *""'");
35355 : }
35356 0 : arg1 = (pointObj *)(argp1);
35357 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35358 0 : if (!SWIG_IsOK(res2)) {
35359 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'");
35360 : }
35361 0 : arg2 = (pointObj *)(argp2);
35362 : result = (double)pointObj_distanceToPoint(arg1,arg2);
35363 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35364 :
35365 :
35366 0 : XSRETURN(argvi);
35367 : fail:
35368 :
35369 :
35370 0 : SWIG_croak_null();
35371 : }
35372 : }
35373 :
35374 :
35375 1 : XS(_wrap_pointObj_distanceToSegment) {
35376 : {
35377 : pointObj *arg1 = (pointObj *) 0 ;
35378 : pointObj *arg2 = (pointObj *) 0 ;
35379 : pointObj *arg3 = (pointObj *) 0 ;
35380 1 : void *argp1 = 0 ;
35381 : int res1 = 0 ;
35382 1 : void *argp2 = 0 ;
35383 : int res2 = 0 ;
35384 1 : void *argp3 = 0 ;
35385 : int res3 = 0 ;
35386 : int argvi = 0;
35387 : double result;
35388 1 : dXSARGS;
35389 :
35390 1 : if ((items < 3) || (items > 3)) {
35391 0 : SWIG_croak("Usage: pointObj_distanceToSegment(self,a,b);");
35392 : }
35393 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35394 1 : if (!SWIG_IsOK(res1)) {
35395 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToSegment" "', argument " "1"" of type '" "pointObj *""'");
35396 : }
35397 1 : arg1 = (pointObj *)(argp1);
35398 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35399 1 : if (!SWIG_IsOK(res2)) {
35400 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToSegment" "', argument " "2"" of type '" "pointObj *""'");
35401 : }
35402 1 : arg2 = (pointObj *)(argp2);
35403 1 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
35404 1 : if (!SWIG_IsOK(res3)) {
35405 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_distanceToSegment" "', argument " "3"" of type '" "pointObj *""'");
35406 : }
35407 1 : arg3 = (pointObj *)(argp3);
35408 : result = (double)pointObj_distanceToSegment(arg1,arg2,arg3);
35409 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35410 :
35411 :
35412 :
35413 1 : XSRETURN(argvi);
35414 : fail:
35415 :
35416 :
35417 :
35418 0 : SWIG_croak_null();
35419 : }
35420 : }
35421 :
35422 :
35423 0 : XS(_wrap_pointObj_distanceToShape) {
35424 : {
35425 : pointObj *arg1 = (pointObj *) 0 ;
35426 : shapeObj *arg2 = (shapeObj *) 0 ;
35427 0 : void *argp1 = 0 ;
35428 : int res1 = 0 ;
35429 0 : void *argp2 = 0 ;
35430 : int res2 = 0 ;
35431 : int argvi = 0;
35432 : double result;
35433 0 : dXSARGS;
35434 :
35435 0 : if ((items < 2) || (items > 2)) {
35436 0 : SWIG_croak("Usage: pointObj_distanceToShape(self,shape);");
35437 : }
35438 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35439 0 : if (!SWIG_IsOK(res1)) {
35440 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToShape" "', argument " "1"" of type '" "pointObj *""'");
35441 : }
35442 0 : arg1 = (pointObj *)(argp1);
35443 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
35444 0 : if (!SWIG_IsOK(res2)) {
35445 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'");
35446 : }
35447 0 : arg2 = (shapeObj *)(argp2);
35448 : result = (double)pointObj_distanceToShape(arg1,arg2);
35449 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35450 :
35451 :
35452 0 : XSRETURN(argvi);
35453 : fail:
35454 :
35455 :
35456 0 : SWIG_croak_null();
35457 : }
35458 : }
35459 :
35460 :
35461 0 : XS(_wrap_pointObj_setXY) {
35462 : {
35463 : pointObj *arg1 = (pointObj *) 0 ;
35464 : double arg2 ;
35465 : double arg3 ;
35466 : double arg4 = (double) -2e38 ;
35467 0 : void *argp1 = 0 ;
35468 : int res1 = 0 ;
35469 : double val2 ;
35470 : int ecode2 = 0 ;
35471 : double val3 ;
35472 : int ecode3 = 0 ;
35473 : double val4 ;
35474 : int ecode4 = 0 ;
35475 : int argvi = 0;
35476 : int result;
35477 0 : dXSARGS;
35478 :
35479 0 : if ((items < 3) || (items > 4)) {
35480 0 : SWIG_croak("Usage: pointObj_setXY(self,x,y,m);");
35481 : }
35482 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35483 0 : if (!SWIG_IsOK(res1)) {
35484 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXY" "', argument " "1"" of type '" "pointObj *""'");
35485 : }
35486 0 : arg1 = (pointObj *)(argp1);
35487 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35488 0 : if (!SWIG_IsOK(ecode2)) {
35489 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXY" "', argument " "2"" of type '" "double""'");
35490 : }
35491 0 : arg2 = (double)(val2);
35492 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35493 0 : if (!SWIG_IsOK(ecode3)) {
35494 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXY" "', argument " "3"" of type '" "double""'");
35495 : }
35496 0 : arg3 = (double)(val3);
35497 0 : if (items > 3) {
35498 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35499 0 : if (!SWIG_IsOK(ecode4)) {
35500 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXY" "', argument " "4"" of type '" "double""'");
35501 : }
35502 : arg4 = (double)(val4);
35503 : }
35504 : result = (int)pointObj_setXY(arg1,arg2,arg3,arg4);
35505 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35506 :
35507 :
35508 :
35509 :
35510 0 : XSRETURN(argvi);
35511 : fail:
35512 :
35513 :
35514 :
35515 :
35516 0 : SWIG_croak_null();
35517 : }
35518 : }
35519 :
35520 :
35521 0 : XS(_wrap_pointObj_setXYZ) {
35522 : {
35523 : pointObj *arg1 = (pointObj *) 0 ;
35524 : double arg2 ;
35525 : double arg3 ;
35526 : double arg4 ;
35527 : double arg5 = (double) -2e38 ;
35528 0 : void *argp1 = 0 ;
35529 : int res1 = 0 ;
35530 : double val2 ;
35531 : int ecode2 = 0 ;
35532 : double val3 ;
35533 : int ecode3 = 0 ;
35534 : double val4 ;
35535 : int ecode4 = 0 ;
35536 : double val5 ;
35537 : int ecode5 = 0 ;
35538 : int argvi = 0;
35539 : int result;
35540 0 : dXSARGS;
35541 :
35542 0 : if ((items < 4) || (items > 5)) {
35543 0 : SWIG_croak("Usage: pointObj_setXYZ(self,x,y,z,m);");
35544 : }
35545 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35546 0 : if (!SWIG_IsOK(res1)) {
35547 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZ" "', argument " "1"" of type '" "pointObj *""'");
35548 : }
35549 0 : arg1 = (pointObj *)(argp1);
35550 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35551 0 : if (!SWIG_IsOK(ecode2)) {
35552 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZ" "', argument " "2"" of type '" "double""'");
35553 : }
35554 0 : arg2 = (double)(val2);
35555 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35556 0 : if (!SWIG_IsOK(ecode3)) {
35557 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZ" "', argument " "3"" of type '" "double""'");
35558 : }
35559 0 : arg3 = (double)(val3);
35560 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35561 0 : if (!SWIG_IsOK(ecode4)) {
35562 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZ" "', argument " "4"" of type '" "double""'");
35563 : }
35564 : arg4 = (double)(val4);
35565 0 : if (items > 4) {
35566 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35567 0 : if (!SWIG_IsOK(ecode5)) {
35568 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZ" "', argument " "5"" of type '" "double""'");
35569 : }
35570 : arg5 = (double)(val5);
35571 : }
35572 : result = (int)pointObj_setXYZ(arg1,arg2,arg3,arg4,arg5);
35573 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35574 :
35575 :
35576 :
35577 :
35578 :
35579 0 : XSRETURN(argvi);
35580 : fail:
35581 :
35582 :
35583 :
35584 :
35585 :
35586 0 : SWIG_croak_null();
35587 : }
35588 : }
35589 :
35590 :
35591 0 : XS(_wrap_pointObj_setXYZM) {
35592 : {
35593 : pointObj *arg1 = (pointObj *) 0 ;
35594 : double arg2 ;
35595 : double arg3 ;
35596 : double arg4 ;
35597 : double arg5 ;
35598 0 : void *argp1 = 0 ;
35599 : int res1 = 0 ;
35600 : double val2 ;
35601 : int ecode2 = 0 ;
35602 : double val3 ;
35603 : int ecode3 = 0 ;
35604 : double val4 ;
35605 : int ecode4 = 0 ;
35606 : double val5 ;
35607 : int ecode5 = 0 ;
35608 : int argvi = 0;
35609 : int result;
35610 0 : dXSARGS;
35611 :
35612 0 : if ((items < 5) || (items > 5)) {
35613 0 : SWIG_croak("Usage: pointObj_setXYZM(self,x,y,z,m);");
35614 : }
35615 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35616 0 : if (!SWIG_IsOK(res1)) {
35617 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZM" "', argument " "1"" of type '" "pointObj *""'");
35618 : }
35619 0 : arg1 = (pointObj *)(argp1);
35620 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35621 0 : if (!SWIG_IsOK(ecode2)) {
35622 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZM" "', argument " "2"" of type '" "double""'");
35623 : }
35624 0 : arg2 = (double)(val2);
35625 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35626 0 : if (!SWIG_IsOK(ecode3)) {
35627 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZM" "', argument " "3"" of type '" "double""'");
35628 : }
35629 0 : arg3 = (double)(val3);
35630 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35631 0 : if (!SWIG_IsOK(ecode4)) {
35632 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZM" "', argument " "4"" of type '" "double""'");
35633 : }
35634 : arg4 = (double)(val4);
35635 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35636 0 : if (!SWIG_IsOK(ecode5)) {
35637 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZM" "', argument " "5"" of type '" "double""'");
35638 : }
35639 : arg5 = (double)(val5);
35640 : result = (int)pointObj_setXYZM(arg1,arg2,arg3,arg4,arg5);
35641 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35642 :
35643 :
35644 :
35645 :
35646 :
35647 0 : XSRETURN(argvi);
35648 : fail:
35649 :
35650 :
35651 :
35652 :
35653 :
35654 0 : SWIG_croak_null();
35655 : }
35656 : }
35657 :
35658 :
35659 0 : XS(_wrap_pointObj_toString) {
35660 : {
35661 : pointObj *arg1 = (pointObj *) 0 ;
35662 0 : void *argp1 = 0 ;
35663 : int res1 = 0 ;
35664 : int argvi = 0;
35665 : char *result = 0 ;
35666 0 : dXSARGS;
35667 :
35668 0 : if ((items < 1) || (items > 1)) {
35669 0 : SWIG_croak("Usage: pointObj_toString(self);");
35670 : }
35671 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35672 0 : if (!SWIG_IsOK(res1)) {
35673 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toString" "', argument " "1"" of type '" "pointObj *""'");
35674 : }
35675 0 : arg1 = (pointObj *)(argp1);
35676 0 : result = (char *)pointObj_toString(arg1);
35677 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
35678 :
35679 0 : free((char*)result);
35680 0 : XSRETURN(argvi);
35681 : fail:
35682 :
35683 0 : SWIG_croak_null();
35684 : }
35685 : }
35686 :
35687 :
35688 0 : XS(_wrap_pointObj_toShape) {
35689 : {
35690 : pointObj *arg1 = (pointObj *) 0 ;
35691 0 : void *argp1 = 0 ;
35692 : int res1 = 0 ;
35693 : int argvi = 0;
35694 : shapeObj *result = 0 ;
35695 0 : dXSARGS;
35696 :
35697 0 : if ((items < 1) || (items > 1)) {
35698 0 : SWIG_croak("Usage: pointObj_toShape(self);");
35699 : }
35700 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35701 0 : if (!SWIG_IsOK(res1)) {
35702 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toShape" "', argument " "1"" of type '" "pointObj *""'");
35703 : }
35704 0 : arg1 = (pointObj *)(argp1);
35705 0 : result = (shapeObj *)pointObj_toShape(arg1);
35706 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35707 :
35708 0 : XSRETURN(argvi);
35709 : fail:
35710 :
35711 0 : SWIG_croak_null();
35712 : }
35713 : }
35714 :
35715 :
35716 1 : XS(_wrap_lineObj_numpoints_get) {
35717 : {
35718 : lineObj *arg1 = (lineObj *) 0 ;
35719 1 : void *argp1 = 0 ;
35720 : int res1 = 0 ;
35721 : int argvi = 0;
35722 : int result;
35723 1 : dXSARGS;
35724 :
35725 1 : if ((items < 1) || (items > 1)) {
35726 0 : SWIG_croak("Usage: lineObj_numpoints_get(self);");
35727 : }
35728 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35729 1 : if (!SWIG_IsOK(res1)) {
35730 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_numpoints_get" "', argument " "1"" of type '" "lineObj *""'");
35731 : }
35732 1 : arg1 = (lineObj *)(argp1);
35733 1 : result = (int) ((arg1)->numpoints);
35734 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35735 :
35736 1 : XSRETURN(argvi);
35737 : fail:
35738 :
35739 0 : SWIG_croak_null();
35740 : }
35741 : }
35742 :
35743 :
35744 1 : XS(_wrap_new_lineObj) {
35745 : {
35746 : int argvi = 0;
35747 : lineObj *result = 0 ;
35748 1 : dXSARGS;
35749 :
35750 1 : if ((items < 0) || (items > 0)) {
35751 0 : SWIG_croak("Usage: new_lineObj();");
35752 : }
35753 : result = (lineObj *)new_lineObj();
35754 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35755 1 : XSRETURN(argvi);
35756 : fail:
35757 0 : SWIG_croak_null();
35758 : }
35759 : }
35760 :
35761 :
35762 1 : XS(_wrap_delete_lineObj) {
35763 : {
35764 : lineObj *arg1 = (lineObj *) 0 ;
35765 1 : void *argp1 = 0 ;
35766 : int res1 = 0 ;
35767 : int argvi = 0;
35768 1 : dXSARGS;
35769 :
35770 1 : if ((items < 1) || (items > 1)) {
35771 0 : SWIG_croak("Usage: delete_lineObj(self);");
35772 : }
35773 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, SWIG_POINTER_DISOWN | 0 );
35774 1 : if (!SWIG_IsOK(res1)) {
35775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_lineObj" "', argument " "1"" of type '" "lineObj *""'");
35776 : }
35777 1 : arg1 = (lineObj *)(argp1);
35778 : delete_lineObj(arg1);
35779 1 : ST(argvi) = sv_newmortal();
35780 :
35781 1 : XSRETURN(argvi);
35782 : fail:
35783 :
35784 0 : SWIG_croak_null();
35785 : }
35786 : }
35787 :
35788 :
35789 0 : XS(_wrap_lineObj_project) {
35790 : {
35791 : lineObj *arg1 = (lineObj *) 0 ;
35792 : projectionObj *arg2 = (projectionObj *) 0 ;
35793 : projectionObj *arg3 = (projectionObj *) 0 ;
35794 0 : void *argp1 = 0 ;
35795 : int res1 = 0 ;
35796 0 : void *argp2 = 0 ;
35797 : int res2 = 0 ;
35798 0 : void *argp3 = 0 ;
35799 : int res3 = 0 ;
35800 : int argvi = 0;
35801 : int result;
35802 0 : dXSARGS;
35803 :
35804 0 : if ((items < 3) || (items > 3)) {
35805 0 : SWIG_croak("Usage: lineObj_project(self,projin,projout);");
35806 : }
35807 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35808 0 : if (!SWIG_IsOK(res1)) {
35809 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_project" "', argument " "1"" of type '" "lineObj *""'");
35810 : }
35811 0 : arg1 = (lineObj *)(argp1);
35812 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
35813 0 : if (!SWIG_IsOK(res2)) {
35814 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_project" "', argument " "2"" of type '" "projectionObj *""'");
35815 : }
35816 0 : arg2 = (projectionObj *)(argp2);
35817 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
35818 0 : if (!SWIG_IsOK(res3)) {
35819 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_project" "', argument " "3"" of type '" "projectionObj *""'");
35820 : }
35821 0 : arg3 = (projectionObj *)(argp3);
35822 : result = (int)lineObj_project(arg1,arg2,arg3);
35823 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35824 :
35825 :
35826 :
35827 0 : XSRETURN(argvi);
35828 : fail:
35829 :
35830 :
35831 :
35832 0 : SWIG_croak_null();
35833 : }
35834 : }
35835 :
35836 :
35837 1 : XS(_wrap_lineObj_get) {
35838 : {
35839 : lineObj *arg1 = (lineObj *) 0 ;
35840 : int arg2 ;
35841 1 : void *argp1 = 0 ;
35842 : int res1 = 0 ;
35843 : int val2 ;
35844 : int ecode2 = 0 ;
35845 : int argvi = 0;
35846 : pointObj *result = 0 ;
35847 1 : dXSARGS;
35848 :
35849 1 : if ((items < 2) || (items > 2)) {
35850 0 : SWIG_croak("Usage: lineObj_get(self,i);");
35851 : }
35852 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35853 1 : if (!SWIG_IsOK(res1)) {
35854 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_get" "', argument " "1"" of type '" "lineObj *""'");
35855 : }
35856 1 : arg1 = (lineObj *)(argp1);
35857 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35858 1 : if (!SWIG_IsOK(ecode2)) {
35859 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_get" "', argument " "2"" of type '" "int""'");
35860 : }
35861 1 : arg2 = (int)(val2);
35862 : result = (pointObj *)lineObj_get(arg1,arg2);
35863 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
35864 :
35865 :
35866 1 : XSRETURN(argvi);
35867 : fail:
35868 :
35869 :
35870 0 : SWIG_croak_null();
35871 : }
35872 : }
35873 :
35874 :
35875 1 : XS(_wrap_lineObj_add) {
35876 : {
35877 : lineObj *arg1 = (lineObj *) 0 ;
35878 : pointObj *arg2 = (pointObj *) 0 ;
35879 1 : void *argp1 = 0 ;
35880 : int res1 = 0 ;
35881 1 : void *argp2 = 0 ;
35882 : int res2 = 0 ;
35883 : int argvi = 0;
35884 : int result;
35885 1 : dXSARGS;
35886 :
35887 1 : if ((items < 2) || (items > 2)) {
35888 0 : SWIG_croak("Usage: lineObj_add(self,p);");
35889 : }
35890 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35891 1 : if (!SWIG_IsOK(res1)) {
35892 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_add" "', argument " "1"" of type '" "lineObj *""'");
35893 : }
35894 1 : arg1 = (lineObj *)(argp1);
35895 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35896 1 : if (!SWIG_IsOK(res2)) {
35897 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_add" "', argument " "2"" of type '" "pointObj *""'");
35898 : }
35899 1 : arg2 = (pointObj *)(argp2);
35900 1 : result = (int)lineObj_add(arg1,arg2);
35901 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35902 :
35903 :
35904 1 : XSRETURN(argvi);
35905 : fail:
35906 :
35907 :
35908 0 : SWIG_croak_null();
35909 : }
35910 : }
35911 :
35912 :
35913 0 : XS(_wrap_lineObj_set) {
35914 : {
35915 : lineObj *arg1 = (lineObj *) 0 ;
35916 : int arg2 ;
35917 : pointObj *arg3 = (pointObj *) 0 ;
35918 0 : void *argp1 = 0 ;
35919 : int res1 = 0 ;
35920 : int val2 ;
35921 : int ecode2 = 0 ;
35922 0 : void *argp3 = 0 ;
35923 : int res3 = 0 ;
35924 : int argvi = 0;
35925 : int result;
35926 0 : dXSARGS;
35927 :
35928 0 : if ((items < 3) || (items > 3)) {
35929 0 : SWIG_croak("Usage: lineObj_set(self,i,p);");
35930 : }
35931 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35932 0 : if (!SWIG_IsOK(res1)) {
35933 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_set" "', argument " "1"" of type '" "lineObj *""'");
35934 : }
35935 0 : arg1 = (lineObj *)(argp1);
35936 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35937 0 : if (!SWIG_IsOK(ecode2)) {
35938 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_set" "', argument " "2"" of type '" "int""'");
35939 : }
35940 0 : arg2 = (int)(val2);
35941 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
35942 0 : if (!SWIG_IsOK(res3)) {
35943 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_set" "', argument " "3"" of type '" "pointObj *""'");
35944 : }
35945 0 : arg3 = (pointObj *)(argp3);
35946 : result = (int)lineObj_set(arg1,arg2,arg3);
35947 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35948 :
35949 :
35950 :
35951 0 : XSRETURN(argvi);
35952 : fail:
35953 :
35954 :
35955 :
35956 0 : SWIG_croak_null();
35957 : }
35958 : }
35959 :
35960 :
35961 1 : XS(_wrap_shapeObj_numlines_get) {
35962 : {
35963 : shapeObj *arg1 = (shapeObj *) 0 ;
35964 1 : void *argp1 = 0 ;
35965 : int res1 = 0 ;
35966 : int argvi = 0;
35967 : int result;
35968 1 : dXSARGS;
35969 :
35970 1 : if ((items < 1) || (items > 1)) {
35971 0 : SWIG_croak("Usage: shapeObj_numlines_get(self);");
35972 : }
35973 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35974 1 : if (!SWIG_IsOK(res1)) {
35975 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numlines_get" "', argument " "1"" of type '" "shapeObj *""'");
35976 : }
35977 1 : arg1 = (shapeObj *)(argp1);
35978 1 : result = (int) ((arg1)->numlines);
35979 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35980 :
35981 1 : XSRETURN(argvi);
35982 : fail:
35983 :
35984 0 : SWIG_croak_null();
35985 : }
35986 : }
35987 :
35988 :
35989 0 : XS(_wrap_shapeObj_numvalues_get) {
35990 : {
35991 : shapeObj *arg1 = (shapeObj *) 0 ;
35992 0 : void *argp1 = 0 ;
35993 : int res1 = 0 ;
35994 : int argvi = 0;
35995 : int result;
35996 0 : dXSARGS;
35997 :
35998 0 : if ((items < 1) || (items > 1)) {
35999 0 : SWIG_croak("Usage: shapeObj_numvalues_get(self);");
36000 : }
36001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36002 0 : if (!SWIG_IsOK(res1)) {
36003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numvalues_get" "', argument " "1"" of type '" "shapeObj *""'");
36004 : }
36005 0 : arg1 = (shapeObj *)(argp1);
36006 0 : result = (int) ((arg1)->numvalues);
36007 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36008 :
36009 0 : XSRETURN(argvi);
36010 : fail:
36011 :
36012 0 : SWIG_croak_null();
36013 : }
36014 : }
36015 :
36016 :
36017 0 : XS(_wrap_shapeObj_bounds_set) {
36018 : {
36019 : shapeObj *arg1 = (shapeObj *) 0 ;
36020 : rectObj *arg2 = (rectObj *) 0 ;
36021 0 : void *argp1 = 0 ;
36022 : int res1 = 0 ;
36023 0 : void *argp2 = 0 ;
36024 : int res2 = 0 ;
36025 : int argvi = 0;
36026 0 : dXSARGS;
36027 :
36028 0 : if ((items < 2) || (items > 2)) {
36029 0 : SWIG_croak("Usage: shapeObj_bounds_set(self,bounds);");
36030 : }
36031 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36032 0 : if (!SWIG_IsOK(res1)) {
36033 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_set" "', argument " "1"" of type '" "shapeObj *""'");
36034 : }
36035 0 : arg1 = (shapeObj *)(argp1);
36036 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
36037 0 : if (!SWIG_IsOK(res2)) {
36038 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_bounds_set" "', argument " "2"" of type '" "rectObj *""'");
36039 : }
36040 0 : arg2 = (rectObj *)(argp2);
36041 0 : if (arg1) (arg1)->bounds = *arg2;
36042 0 : ST(argvi) = sv_newmortal();
36043 :
36044 :
36045 0 : XSRETURN(argvi);
36046 : fail:
36047 :
36048 :
36049 0 : SWIG_croak_null();
36050 : }
36051 : }
36052 :
36053 :
36054 1 : XS(_wrap_shapeObj_bounds_get) {
36055 : {
36056 : shapeObj *arg1 = (shapeObj *) 0 ;
36057 1 : void *argp1 = 0 ;
36058 : int res1 = 0 ;
36059 : int argvi = 0;
36060 : rectObj *result = 0 ;
36061 1 : dXSARGS;
36062 :
36063 1 : if ((items < 1) || (items > 1)) {
36064 0 : SWIG_croak("Usage: shapeObj_bounds_get(self);");
36065 : }
36066 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36067 1 : if (!SWIG_IsOK(res1)) {
36068 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_get" "', argument " "1"" of type '" "shapeObj *""'");
36069 : }
36070 1 : arg1 = (shapeObj *)(argp1);
36071 1 : result = (rectObj *)& ((arg1)->bounds);
36072 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
36073 :
36074 1 : XSRETURN(argvi);
36075 : fail:
36076 :
36077 0 : SWIG_croak_null();
36078 : }
36079 : }
36080 :
36081 :
36082 0 : XS(_wrap_shapeObj_type_set) {
36083 : {
36084 : shapeObj *arg1 = (shapeObj *) 0 ;
36085 : int arg2 ;
36086 0 : void *argp1 = 0 ;
36087 : int res1 = 0 ;
36088 : int val2 ;
36089 : int ecode2 = 0 ;
36090 : int argvi = 0;
36091 0 : dXSARGS;
36092 :
36093 0 : if ((items < 2) || (items > 2)) {
36094 0 : SWIG_croak("Usage: shapeObj_type_set(self,type);");
36095 : }
36096 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36097 0 : if (!SWIG_IsOK(res1)) {
36098 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_set" "', argument " "1"" of type '" "shapeObj *""'");
36099 : }
36100 0 : arg1 = (shapeObj *)(argp1);
36101 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36102 0 : if (!SWIG_IsOK(ecode2)) {
36103 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_type_set" "', argument " "2"" of type '" "int""'");
36104 : }
36105 0 : arg2 = (int)(val2);
36106 0 : if (arg1) (arg1)->type = arg2;
36107 0 : ST(argvi) = sv_newmortal();
36108 :
36109 :
36110 0 : XSRETURN(argvi);
36111 : fail:
36112 :
36113 :
36114 0 : SWIG_croak_null();
36115 : }
36116 : }
36117 :
36118 :
36119 0 : XS(_wrap_shapeObj_type_get) {
36120 : {
36121 : shapeObj *arg1 = (shapeObj *) 0 ;
36122 0 : void *argp1 = 0 ;
36123 : int res1 = 0 ;
36124 : int argvi = 0;
36125 : int result;
36126 0 : dXSARGS;
36127 :
36128 0 : if ((items < 1) || (items > 1)) {
36129 0 : SWIG_croak("Usage: shapeObj_type_get(self);");
36130 : }
36131 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36132 0 : if (!SWIG_IsOK(res1)) {
36133 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_get" "', argument " "1"" of type '" "shapeObj *""'");
36134 : }
36135 0 : arg1 = (shapeObj *)(argp1);
36136 0 : result = (int) ((arg1)->type);
36137 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36138 :
36139 0 : XSRETURN(argvi);
36140 : fail:
36141 :
36142 0 : SWIG_croak_null();
36143 : }
36144 : }
36145 :
36146 :
36147 0 : XS(_wrap_shapeObj_index_set) {
36148 : {
36149 : shapeObj *arg1 = (shapeObj *) 0 ;
36150 : long arg2 ;
36151 0 : void *argp1 = 0 ;
36152 : int res1 = 0 ;
36153 : long val2 ;
36154 : int ecode2 = 0 ;
36155 : int argvi = 0;
36156 0 : dXSARGS;
36157 :
36158 0 : if ((items < 2) || (items > 2)) {
36159 0 : SWIG_croak("Usage: shapeObj_index_set(self,index);");
36160 : }
36161 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36162 0 : if (!SWIG_IsOK(res1)) {
36163 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_set" "', argument " "1"" of type '" "shapeObj *""'");
36164 : }
36165 0 : arg1 = (shapeObj *)(argp1);
36166 0 : ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36167 0 : if (!SWIG_IsOK(ecode2)) {
36168 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_index_set" "', argument " "2"" of type '" "long""'");
36169 : }
36170 0 : arg2 = (long)(val2);
36171 0 : if (arg1) (arg1)->index = arg2;
36172 0 : ST(argvi) = sv_newmortal();
36173 :
36174 :
36175 0 : XSRETURN(argvi);
36176 : fail:
36177 :
36178 :
36179 0 : SWIG_croak_null();
36180 : }
36181 : }
36182 :
36183 :
36184 0 : XS(_wrap_shapeObj_index_get) {
36185 : {
36186 : shapeObj *arg1 = (shapeObj *) 0 ;
36187 0 : void *argp1 = 0 ;
36188 : int res1 = 0 ;
36189 : int argvi = 0;
36190 : long result;
36191 0 : dXSARGS;
36192 :
36193 0 : if ((items < 1) || (items > 1)) {
36194 0 : SWIG_croak("Usage: shapeObj_index_get(self);");
36195 : }
36196 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36197 0 : if (!SWIG_IsOK(res1)) {
36198 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_get" "', argument " "1"" of type '" "shapeObj *""'");
36199 : }
36200 0 : arg1 = (shapeObj *)(argp1);
36201 0 : result = (long) ((arg1)->index);
36202 0 : ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
36203 :
36204 0 : XSRETURN(argvi);
36205 : fail:
36206 :
36207 0 : SWIG_croak_null();
36208 : }
36209 : }
36210 :
36211 :
36212 0 : XS(_wrap_shapeObj_tileindex_set) {
36213 : {
36214 : shapeObj *arg1 = (shapeObj *) 0 ;
36215 : int arg2 ;
36216 0 : void *argp1 = 0 ;
36217 : int res1 = 0 ;
36218 : int val2 ;
36219 : int ecode2 = 0 ;
36220 : int argvi = 0;
36221 0 : dXSARGS;
36222 :
36223 0 : if ((items < 2) || (items > 2)) {
36224 0 : SWIG_croak("Usage: shapeObj_tileindex_set(self,tileindex);");
36225 : }
36226 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36227 0 : if (!SWIG_IsOK(res1)) {
36228 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36229 : }
36230 0 : arg1 = (shapeObj *)(argp1);
36231 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36232 0 : if (!SWIG_IsOK(ecode2)) {
36233 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_tileindex_set" "', argument " "2"" of type '" "int""'");
36234 : }
36235 0 : arg2 = (int)(val2);
36236 0 : if (arg1) (arg1)->tileindex = arg2;
36237 0 : ST(argvi) = sv_newmortal();
36238 :
36239 :
36240 0 : XSRETURN(argvi);
36241 : fail:
36242 :
36243 :
36244 0 : SWIG_croak_null();
36245 : }
36246 : }
36247 :
36248 :
36249 0 : XS(_wrap_shapeObj_tileindex_get) {
36250 : {
36251 : shapeObj *arg1 = (shapeObj *) 0 ;
36252 0 : void *argp1 = 0 ;
36253 : int res1 = 0 ;
36254 : int argvi = 0;
36255 : int result;
36256 0 : dXSARGS;
36257 :
36258 0 : if ((items < 1) || (items > 1)) {
36259 0 : SWIG_croak("Usage: shapeObj_tileindex_get(self);");
36260 : }
36261 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36262 0 : if (!SWIG_IsOK(res1)) {
36263 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36264 : }
36265 0 : arg1 = (shapeObj *)(argp1);
36266 0 : result = (int) ((arg1)->tileindex);
36267 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36268 :
36269 0 : XSRETURN(argvi);
36270 : fail:
36271 :
36272 0 : SWIG_croak_null();
36273 : }
36274 : }
36275 :
36276 :
36277 0 : XS(_wrap_shapeObj_classindex_set) {
36278 : {
36279 : shapeObj *arg1 = (shapeObj *) 0 ;
36280 : int arg2 ;
36281 0 : void *argp1 = 0 ;
36282 : int res1 = 0 ;
36283 : int val2 ;
36284 : int ecode2 = 0 ;
36285 : int argvi = 0;
36286 0 : dXSARGS;
36287 :
36288 0 : if ((items < 2) || (items > 2)) {
36289 0 : SWIG_croak("Usage: shapeObj_classindex_set(self,classindex);");
36290 : }
36291 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36292 0 : if (!SWIG_IsOK(res1)) {
36293 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36294 : }
36295 0 : arg1 = (shapeObj *)(argp1);
36296 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36297 0 : if (!SWIG_IsOK(ecode2)) {
36298 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_classindex_set" "', argument " "2"" of type '" "int""'");
36299 : }
36300 0 : arg2 = (int)(val2);
36301 0 : if (arg1) (arg1)->classindex = arg2;
36302 0 : ST(argvi) = sv_newmortal();
36303 :
36304 :
36305 0 : XSRETURN(argvi);
36306 : fail:
36307 :
36308 :
36309 0 : SWIG_croak_null();
36310 : }
36311 : }
36312 :
36313 :
36314 0 : XS(_wrap_shapeObj_classindex_get) {
36315 : {
36316 : shapeObj *arg1 = (shapeObj *) 0 ;
36317 0 : void *argp1 = 0 ;
36318 : int res1 = 0 ;
36319 : int argvi = 0;
36320 : int result;
36321 0 : dXSARGS;
36322 :
36323 0 : if ((items < 1) || (items > 1)) {
36324 0 : SWIG_croak("Usage: shapeObj_classindex_get(self);");
36325 : }
36326 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36327 0 : if (!SWIG_IsOK(res1)) {
36328 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36329 : }
36330 0 : arg1 = (shapeObj *)(argp1);
36331 0 : result = (int) ((arg1)->classindex);
36332 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36333 :
36334 0 : XSRETURN(argvi);
36335 : fail:
36336 :
36337 0 : SWIG_croak_null();
36338 : }
36339 : }
36340 :
36341 :
36342 0 : XS(_wrap_shapeObj_text_set) {
36343 : {
36344 : shapeObj *arg1 = (shapeObj *) 0 ;
36345 : char *arg2 = (char *) 0 ;
36346 0 : void *argp1 = 0 ;
36347 : int res1 = 0 ;
36348 : int res2 ;
36349 0 : char *buf2 = 0 ;
36350 0 : int alloc2 = 0 ;
36351 : int argvi = 0;
36352 0 : dXSARGS;
36353 :
36354 0 : if ((items < 2) || (items > 2)) {
36355 0 : SWIG_croak("Usage: shapeObj_text_set(self,text);");
36356 : }
36357 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36358 0 : if (!SWIG_IsOK(res1)) {
36359 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_set" "', argument " "1"" of type '" "shapeObj *""'");
36360 : }
36361 0 : arg1 = (shapeObj *)(argp1);
36362 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
36363 0 : if (!SWIG_IsOK(res2)) {
36364 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_text_set" "', argument " "2"" of type '" "char *""'");
36365 : }
36366 0 : arg2 = (char *)(buf2);
36367 : {
36368 0 : if (arg1->text) free((char*)arg1->text);
36369 0 : if (arg2) {
36370 0 : arg1->text = (char *) malloc(strlen(arg2)+1);
36371 : strcpy((char*)arg1->text,arg2);
36372 : } else {
36373 0 : arg1->text = 0;
36374 : }
36375 : }
36376 0 : ST(argvi) = sv_newmortal();
36377 :
36378 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
36379 0 : XSRETURN(argvi);
36380 : fail:
36381 :
36382 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
36383 0 : SWIG_croak_null();
36384 : }
36385 : }
36386 :
36387 :
36388 0 : XS(_wrap_shapeObj_text_get) {
36389 : {
36390 : shapeObj *arg1 = (shapeObj *) 0 ;
36391 0 : void *argp1 = 0 ;
36392 : int res1 = 0 ;
36393 : int argvi = 0;
36394 : char *result = 0 ;
36395 0 : dXSARGS;
36396 :
36397 0 : if ((items < 1) || (items > 1)) {
36398 0 : SWIG_croak("Usage: shapeObj_text_get(self);");
36399 : }
36400 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36401 0 : if (!SWIG_IsOK(res1)) {
36402 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_get" "', argument " "1"" of type '" "shapeObj *""'");
36403 : }
36404 0 : arg1 = (shapeObj *)(argp1);
36405 0 : result = (char *) ((arg1)->text);
36406 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
36407 :
36408 0 : XSRETURN(argvi);
36409 : fail:
36410 :
36411 0 : SWIG_croak_null();
36412 : }
36413 : }
36414 :
36415 :
36416 0 : XS(_wrap_shapeObj_scratch_set) {
36417 : {
36418 : shapeObj *arg1 = (shapeObj *) 0 ;
36419 : int arg2 ;
36420 0 : void *argp1 = 0 ;
36421 : int res1 = 0 ;
36422 : int val2 ;
36423 : int ecode2 = 0 ;
36424 : int argvi = 0;
36425 0 : dXSARGS;
36426 :
36427 0 : if ((items < 2) || (items > 2)) {
36428 0 : SWIG_croak("Usage: shapeObj_scratch_set(self,scratch);");
36429 : }
36430 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36431 0 : if (!SWIG_IsOK(res1)) {
36432 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_set" "', argument " "1"" of type '" "shapeObj *""'");
36433 : }
36434 0 : arg1 = (shapeObj *)(argp1);
36435 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36436 0 : if (!SWIG_IsOK(ecode2)) {
36437 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_scratch_set" "', argument " "2"" of type '" "int""'");
36438 : }
36439 0 : arg2 = (int)(val2);
36440 0 : if (arg1) (arg1)->scratch = arg2;
36441 0 : ST(argvi) = sv_newmortal();
36442 :
36443 :
36444 0 : XSRETURN(argvi);
36445 : fail:
36446 :
36447 :
36448 0 : SWIG_croak_null();
36449 : }
36450 : }
36451 :
36452 :
36453 0 : XS(_wrap_shapeObj_scratch_get) {
36454 : {
36455 : shapeObj *arg1 = (shapeObj *) 0 ;
36456 0 : void *argp1 = 0 ;
36457 : int res1 = 0 ;
36458 : int argvi = 0;
36459 : int result;
36460 0 : dXSARGS;
36461 :
36462 0 : if ((items < 1) || (items > 1)) {
36463 0 : SWIG_croak("Usage: shapeObj_scratch_get(self);");
36464 : }
36465 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36466 0 : if (!SWIG_IsOK(res1)) {
36467 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_get" "', argument " "1"" of type '" "shapeObj *""'");
36468 : }
36469 0 : arg1 = (shapeObj *)(argp1);
36470 0 : result = (int) ((arg1)->scratch);
36471 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36472 :
36473 0 : XSRETURN(argvi);
36474 : fail:
36475 :
36476 0 : SWIG_croak_null();
36477 : }
36478 : }
36479 :
36480 :
36481 0 : XS(_wrap_shapeObj_resultindex_set) {
36482 : {
36483 : shapeObj *arg1 = (shapeObj *) 0 ;
36484 : int arg2 ;
36485 0 : void *argp1 = 0 ;
36486 : int res1 = 0 ;
36487 : int val2 ;
36488 : int ecode2 = 0 ;
36489 : int argvi = 0;
36490 0 : dXSARGS;
36491 :
36492 0 : if ((items < 2) || (items > 2)) {
36493 0 : SWIG_croak("Usage: shapeObj_resultindex_set(self,resultindex);");
36494 : }
36495 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36496 0 : if (!SWIG_IsOK(res1)) {
36497 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36498 : }
36499 0 : arg1 = (shapeObj *)(argp1);
36500 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36501 0 : if (!SWIG_IsOK(ecode2)) {
36502 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_resultindex_set" "', argument " "2"" of type '" "int""'");
36503 : }
36504 0 : arg2 = (int)(val2);
36505 0 : if (arg1) (arg1)->resultindex = arg2;
36506 0 : ST(argvi) = sv_newmortal();
36507 :
36508 :
36509 0 : XSRETURN(argvi);
36510 : fail:
36511 :
36512 :
36513 0 : SWIG_croak_null();
36514 : }
36515 : }
36516 :
36517 :
36518 0 : XS(_wrap_shapeObj_resultindex_get) {
36519 : {
36520 : shapeObj *arg1 = (shapeObj *) 0 ;
36521 0 : void *argp1 = 0 ;
36522 : int res1 = 0 ;
36523 : int argvi = 0;
36524 : int result;
36525 0 : dXSARGS;
36526 :
36527 0 : if ((items < 1) || (items > 1)) {
36528 0 : SWIG_croak("Usage: shapeObj_resultindex_get(self);");
36529 : }
36530 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36531 0 : if (!SWIG_IsOK(res1)) {
36532 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36533 : }
36534 0 : arg1 = (shapeObj *)(argp1);
36535 0 : result = (int) ((arg1)->resultindex);
36536 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36537 :
36538 0 : XSRETURN(argvi);
36539 : fail:
36540 :
36541 0 : SWIG_croak_null();
36542 : }
36543 : }
36544 :
36545 :
36546 1 : XS(_wrap_new_shapeObj) {
36547 : {
36548 : int arg1 = (int) MS_SHAPE_NULL ;
36549 : int val1 ;
36550 : int ecode1 = 0 ;
36551 : int argvi = 0;
36552 : shapeObj *result = 0 ;
36553 1 : dXSARGS;
36554 :
36555 1 : if ((items < 0) || (items > 1)) {
36556 0 : SWIG_croak("Usage: new_shapeObj(type);");
36557 : }
36558 1 : if (items > 0) {
36559 1 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
36560 1 : if (!SWIG_IsOK(ecode1)) {
36561 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_shapeObj" "', argument " "1"" of type '" "int""'");
36562 : }
36563 1 : arg1 = (int)(val1);
36564 : }
36565 1 : result = (shapeObj *)new_shapeObj(arg1);
36566 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36567 :
36568 1 : XSRETURN(argvi);
36569 : fail:
36570 :
36571 0 : SWIG_croak_null();
36572 : }
36573 : }
36574 :
36575 :
36576 1 : XS(_wrap_delete_shapeObj) {
36577 : {
36578 : shapeObj *arg1 = (shapeObj *) 0 ;
36579 1 : void *argp1 = 0 ;
36580 : int res1 = 0 ;
36581 : int argvi = 0;
36582 1 : dXSARGS;
36583 :
36584 1 : if ((items < 1) || (items > 1)) {
36585 0 : SWIG_croak("Usage: delete_shapeObj(self);");
36586 : }
36587 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, SWIG_POINTER_DISOWN | 0 );
36588 1 : if (!SWIG_IsOK(res1)) {
36589 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapeObj" "', argument " "1"" of type '" "shapeObj *""'");
36590 : }
36591 1 : arg1 = (shapeObj *)(argp1);
36592 : delete_shapeObj(arg1);
36593 1 : ST(argvi) = sv_newmortal();
36594 :
36595 1 : XSRETURN(argvi);
36596 : fail:
36597 :
36598 0 : SWIG_croak_null();
36599 : }
36600 : }
36601 :
36602 :
36603 1 : XS(_wrap_shapeObj_fromWKT) {
36604 : {
36605 : char *arg1 = (char *) 0 ;
36606 : int res1 ;
36607 1 : char *buf1 = 0 ;
36608 1 : int alloc1 = 0 ;
36609 : int argvi = 0;
36610 : shapeObj *result = 0 ;
36611 1 : dXSARGS;
36612 :
36613 1 : if ((items < 1) || (items > 1)) {
36614 0 : SWIG_croak("Usage: shapeObj_fromWKT(wkt);");
36615 : }
36616 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
36617 1 : if (!SWIG_IsOK(res1)) {
36618 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_fromWKT" "', argument " "1"" of type '" "char *""'");
36619 : }
36620 1 : arg1 = (char *)(buf1);
36621 : result = (shapeObj *)shapeObj_fromWKT(arg1);
36622 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36623 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
36624 1 : XSRETURN(argvi);
36625 : fail:
36626 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
36627 0 : SWIG_croak_null();
36628 : }
36629 : }
36630 :
36631 :
36632 0 : XS(_wrap_shapeObj_project) {
36633 : {
36634 : shapeObj *arg1 = (shapeObj *) 0 ;
36635 : projectionObj *arg2 = (projectionObj *) 0 ;
36636 : projectionObj *arg3 = (projectionObj *) 0 ;
36637 0 : void *argp1 = 0 ;
36638 : int res1 = 0 ;
36639 0 : void *argp2 = 0 ;
36640 : int res2 = 0 ;
36641 0 : void *argp3 = 0 ;
36642 : int res3 = 0 ;
36643 : int argvi = 0;
36644 : int result;
36645 0 : dXSARGS;
36646 :
36647 0 : if ((items < 3) || (items > 3)) {
36648 0 : SWIG_croak("Usage: shapeObj_project(self,projin,projout);");
36649 : }
36650 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36651 0 : if (!SWIG_IsOK(res1)) {
36652 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_project" "', argument " "1"" of type '" "shapeObj *""'");
36653 : }
36654 0 : arg1 = (shapeObj *)(argp1);
36655 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
36656 0 : if (!SWIG_IsOK(res2)) {
36657 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_project" "', argument " "2"" of type '" "projectionObj *""'");
36658 : }
36659 0 : arg2 = (projectionObj *)(argp2);
36660 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
36661 0 : if (!SWIG_IsOK(res3)) {
36662 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_project" "', argument " "3"" of type '" "projectionObj *""'");
36663 : }
36664 0 : arg3 = (projectionObj *)(argp3);
36665 : result = (int)shapeObj_project(arg1,arg2,arg3);
36666 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36667 :
36668 :
36669 :
36670 0 : XSRETURN(argvi);
36671 : fail:
36672 :
36673 :
36674 :
36675 0 : SWIG_croak_null();
36676 : }
36677 : }
36678 :
36679 :
36680 1 : XS(_wrap_shapeObj_get) {
36681 : {
36682 : shapeObj *arg1 = (shapeObj *) 0 ;
36683 : int arg2 ;
36684 1 : void *argp1 = 0 ;
36685 : int res1 = 0 ;
36686 : int val2 ;
36687 : int ecode2 = 0 ;
36688 : int argvi = 0;
36689 : lineObj *result = 0 ;
36690 1 : dXSARGS;
36691 :
36692 1 : if ((items < 2) || (items > 2)) {
36693 0 : SWIG_croak("Usage: shapeObj_get(self,i);");
36694 : }
36695 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36696 1 : if (!SWIG_IsOK(res1)) {
36697 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_get" "', argument " "1"" of type '" "shapeObj *""'");
36698 : }
36699 1 : arg1 = (shapeObj *)(argp1);
36700 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36701 1 : if (!SWIG_IsOK(ecode2)) {
36702 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_get" "', argument " "2"" of type '" "int""'");
36703 : }
36704 1 : arg2 = (int)(val2);
36705 : result = (lineObj *)shapeObj_get(arg1,arg2);
36706 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
36707 :
36708 :
36709 1 : XSRETURN(argvi);
36710 : fail:
36711 :
36712 :
36713 0 : SWIG_croak_null();
36714 : }
36715 : }
36716 :
36717 :
36718 1 : XS(_wrap_shapeObj_add) {
36719 : {
36720 : shapeObj *arg1 = (shapeObj *) 0 ;
36721 : lineObj *arg2 = (lineObj *) 0 ;
36722 1 : void *argp1 = 0 ;
36723 : int res1 = 0 ;
36724 1 : void *argp2 = 0 ;
36725 : int res2 = 0 ;
36726 : int argvi = 0;
36727 : int result;
36728 1 : dXSARGS;
36729 :
36730 1 : if ((items < 2) || (items > 2)) {
36731 0 : SWIG_croak("Usage: shapeObj_add(self,line);");
36732 : }
36733 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36734 1 : if (!SWIG_IsOK(res1)) {
36735 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_add" "', argument " "1"" of type '" "shapeObj *""'");
36736 : }
36737 1 : arg1 = (shapeObj *)(argp1);
36738 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 | 0 );
36739 1 : if (!SWIG_IsOK(res2)) {
36740 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_add" "', argument " "2"" of type '" "lineObj *""'");
36741 : }
36742 1 : arg2 = (lineObj *)(argp2);
36743 : result = (int)shapeObj_add(arg1,arg2);
36744 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36745 :
36746 :
36747 1 : XSRETURN(argvi);
36748 : fail:
36749 :
36750 :
36751 0 : SWIG_croak_null();
36752 : }
36753 : }
36754 :
36755 :
36756 0 : XS(_wrap_shapeObj_draw) {
36757 : {
36758 : shapeObj *arg1 = (shapeObj *) 0 ;
36759 : mapObj *arg2 = (mapObj *) 0 ;
36760 : layerObj *arg3 = (layerObj *) 0 ;
36761 : imageObj *arg4 = (imageObj *) 0 ;
36762 0 : void *argp1 = 0 ;
36763 : int res1 = 0 ;
36764 0 : void *argp2 = 0 ;
36765 : int res2 = 0 ;
36766 0 : void *argp3 = 0 ;
36767 : int res3 = 0 ;
36768 0 : void *argp4 = 0 ;
36769 : int res4 = 0 ;
36770 : int argvi = 0;
36771 : int result;
36772 0 : dXSARGS;
36773 :
36774 0 : if ((items < 4) || (items > 4)) {
36775 0 : SWIG_croak("Usage: shapeObj_draw(self,map,layer,image);");
36776 : }
36777 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36778 0 : if (!SWIG_IsOK(res1)) {
36779 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_draw" "', argument " "1"" of type '" "shapeObj *""'");
36780 : }
36781 0 : arg1 = (shapeObj *)(argp1);
36782 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
36783 0 : if (!SWIG_IsOK(res2)) {
36784 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_draw" "', argument " "2"" of type '" "mapObj *""'");
36785 : }
36786 0 : arg2 = (mapObj *)(argp2);
36787 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
36788 0 : if (!SWIG_IsOK(res3)) {
36789 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_draw" "', argument " "3"" of type '" "layerObj *""'");
36790 : }
36791 0 : arg3 = (layerObj *)(argp3);
36792 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
36793 0 : if (!SWIG_IsOK(res4)) {
36794 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapeObj_draw" "', argument " "4"" of type '" "imageObj *""'");
36795 : }
36796 0 : arg4 = (imageObj *)(argp4);
36797 : result = (int)shapeObj_draw(arg1,arg2,arg3,arg4);
36798 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36799 :
36800 :
36801 :
36802 :
36803 0 : XSRETURN(argvi);
36804 : fail:
36805 :
36806 :
36807 :
36808 :
36809 0 : SWIG_croak_null();
36810 : }
36811 : }
36812 :
36813 :
36814 0 : XS(_wrap_shapeObj_setBounds) {
36815 : {
36816 : shapeObj *arg1 = (shapeObj *) 0 ;
36817 0 : void *argp1 = 0 ;
36818 : int res1 = 0 ;
36819 : int argvi = 0;
36820 0 : dXSARGS;
36821 :
36822 0 : if ((items < 1) || (items > 1)) {
36823 0 : SWIG_croak("Usage: shapeObj_setBounds(self);");
36824 : }
36825 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36826 0 : if (!SWIG_IsOK(res1)) {
36827 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setBounds" "', argument " "1"" of type '" "shapeObj *""'");
36828 : }
36829 0 : arg1 = (shapeObj *)(argp1);
36830 : shapeObj_setBounds(arg1);
36831 0 : ST(argvi) = sv_newmortal();
36832 :
36833 0 : XSRETURN(argvi);
36834 : fail:
36835 :
36836 0 : SWIG_croak_null();
36837 : }
36838 : }
36839 :
36840 :
36841 0 : XS(_wrap_shapeObj_clone) {
36842 : {
36843 : shapeObj *arg1 = (shapeObj *) 0 ;
36844 0 : void *argp1 = 0 ;
36845 : int res1 = 0 ;
36846 : int argvi = 0;
36847 : shapeObj *result = 0 ;
36848 0 : dXSARGS;
36849 :
36850 0 : if ((items < 1) || (items > 1)) {
36851 0 : SWIG_croak("Usage: shapeObj_clone(self);");
36852 : }
36853 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36854 0 : if (!SWIG_IsOK(res1)) {
36855 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_clone" "', argument " "1"" of type '" "shapeObj *""'");
36856 : }
36857 0 : arg1 = (shapeObj *)(argp1);
36858 0 : result = (shapeObj *)shapeObj_clone(arg1);
36859 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36860 :
36861 0 : XSRETURN(argvi);
36862 : fail:
36863 :
36864 0 : SWIG_croak_null();
36865 : }
36866 : }
36867 :
36868 :
36869 0 : XS(_wrap_shapeObj_copy) {
36870 : {
36871 : shapeObj *arg1 = (shapeObj *) 0 ;
36872 : shapeObj *arg2 = (shapeObj *) 0 ;
36873 0 : void *argp1 = 0 ;
36874 : int res1 = 0 ;
36875 0 : void *argp2 = 0 ;
36876 : int res2 = 0 ;
36877 : int argvi = 0;
36878 : int result;
36879 0 : dXSARGS;
36880 :
36881 0 : if ((items < 2) || (items > 2)) {
36882 0 : SWIG_croak("Usage: shapeObj_copy(self,dest);");
36883 : }
36884 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36885 0 : if (!SWIG_IsOK(res1)) {
36886 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_copy" "', argument " "1"" of type '" "shapeObj *""'");
36887 : }
36888 0 : arg1 = (shapeObj *)(argp1);
36889 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
36890 0 : if (!SWIG_IsOK(res2)) {
36891 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_copy" "', argument " "2"" of type '" "shapeObj *""'");
36892 : }
36893 0 : arg2 = (shapeObj *)(argp2);
36894 : result = (int)shapeObj_copy(arg1,arg2);
36895 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36896 :
36897 :
36898 0 : XSRETURN(argvi);
36899 : fail:
36900 :
36901 :
36902 0 : SWIG_croak_null();
36903 : }
36904 : }
36905 :
36906 :
36907 1 : XS(_wrap_shapeObj_toWKT) {
36908 : {
36909 : shapeObj *arg1 = (shapeObj *) 0 ;
36910 1 : void *argp1 = 0 ;
36911 : int res1 = 0 ;
36912 : int argvi = 0;
36913 : char *result = 0 ;
36914 1 : dXSARGS;
36915 :
36916 1 : if ((items < 1) || (items > 1)) {
36917 0 : SWIG_croak("Usage: shapeObj_toWKT(self);");
36918 : }
36919 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36920 1 : if (!SWIG_IsOK(res1)) {
36921 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_toWKT" "', argument " "1"" of type '" "shapeObj *""'");
36922 : }
36923 1 : arg1 = (shapeObj *)(argp1);
36924 : result = (char *)shapeObj_toWKT(arg1);
36925 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
36926 :
36927 1 : free((char*)result);
36928 1 : XSRETURN(argvi);
36929 : fail:
36930 :
36931 0 : SWIG_croak_null();
36932 : }
36933 : }
36934 :
36935 :
36936 0 : XS(_wrap_shapeObj_buffer) {
36937 : {
36938 : shapeObj *arg1 = (shapeObj *) 0 ;
36939 : double arg2 ;
36940 0 : void *argp1 = 0 ;
36941 : int res1 = 0 ;
36942 : double val2 ;
36943 : int ecode2 = 0 ;
36944 : int argvi = 0;
36945 : shapeObj *result = 0 ;
36946 0 : dXSARGS;
36947 :
36948 0 : if ((items < 2) || (items > 2)) {
36949 0 : SWIG_croak("Usage: shapeObj_buffer(self,width);");
36950 : }
36951 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36952 0 : if (!SWIG_IsOK(res1)) {
36953 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_buffer" "', argument " "1"" of type '" "shapeObj *""'");
36954 : }
36955 0 : arg1 = (shapeObj *)(argp1);
36956 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36957 0 : if (!SWIG_IsOK(ecode2)) {
36958 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_buffer" "', argument " "2"" of type '" "double""'");
36959 : }
36960 0 : arg2 = (double)(val2);
36961 : result = (shapeObj *)shapeObj_buffer(arg1,arg2);
36962 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36963 :
36964 :
36965 0 : XSRETURN(argvi);
36966 : fail:
36967 :
36968 :
36969 0 : SWIG_croak_null();
36970 : }
36971 : }
36972 :
36973 :
36974 0 : XS(_wrap_shapeObj_simplify) {
36975 : {
36976 : shapeObj *arg1 = (shapeObj *) 0 ;
36977 : double arg2 ;
36978 0 : void *argp1 = 0 ;
36979 : int res1 = 0 ;
36980 : double val2 ;
36981 : int ecode2 = 0 ;
36982 : int argvi = 0;
36983 : shapeObj *result = 0 ;
36984 0 : dXSARGS;
36985 :
36986 0 : if ((items < 2) || (items > 2)) {
36987 0 : SWIG_croak("Usage: shapeObj_simplify(self,tolerance);");
36988 : }
36989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36990 0 : if (!SWIG_IsOK(res1)) {
36991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_simplify" "', argument " "1"" of type '" "shapeObj *""'");
36992 : }
36993 0 : arg1 = (shapeObj *)(argp1);
36994 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36995 0 : if (!SWIG_IsOK(ecode2)) {
36996 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_simplify" "', argument " "2"" of type '" "double""'");
36997 : }
36998 0 : arg2 = (double)(val2);
36999 : result = (shapeObj *)shapeObj_simplify(arg1,arg2);
37000 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37001 :
37002 :
37003 0 : XSRETURN(argvi);
37004 : fail:
37005 :
37006 :
37007 0 : SWIG_croak_null();
37008 : }
37009 : }
37010 :
37011 :
37012 0 : XS(_wrap_shapeObj_topologyPreservingSimplify) {
37013 : {
37014 : shapeObj *arg1 = (shapeObj *) 0 ;
37015 : double arg2 ;
37016 0 : void *argp1 = 0 ;
37017 : int res1 = 0 ;
37018 : double val2 ;
37019 : int ecode2 = 0 ;
37020 : int argvi = 0;
37021 : shapeObj *result = 0 ;
37022 0 : dXSARGS;
37023 :
37024 0 : if ((items < 2) || (items > 2)) {
37025 0 : SWIG_croak("Usage: shapeObj_topologyPreservingSimplify(self,tolerance);");
37026 : }
37027 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37028 0 : if (!SWIG_IsOK(res1)) {
37029 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "1"" of type '" "shapeObj *""'");
37030 : }
37031 0 : arg1 = (shapeObj *)(argp1);
37032 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37033 0 : if (!SWIG_IsOK(ecode2)) {
37034 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "2"" of type '" "double""'");
37035 : }
37036 0 : arg2 = (double)(val2);
37037 : result = (shapeObj *)shapeObj_topologyPreservingSimplify(arg1,arg2);
37038 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37039 :
37040 :
37041 0 : XSRETURN(argvi);
37042 : fail:
37043 :
37044 :
37045 0 : SWIG_croak_null();
37046 : }
37047 : }
37048 :
37049 :
37050 0 : XS(_wrap_shapeObj_convexHull) {
37051 : {
37052 : shapeObj *arg1 = (shapeObj *) 0 ;
37053 0 : void *argp1 = 0 ;
37054 : int res1 = 0 ;
37055 : int argvi = 0;
37056 : shapeObj *result = 0 ;
37057 0 : dXSARGS;
37058 :
37059 0 : if ((items < 1) || (items > 1)) {
37060 0 : SWIG_croak("Usage: shapeObj_convexHull(self);");
37061 : }
37062 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37063 0 : if (!SWIG_IsOK(res1)) {
37064 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_convexHull" "', argument " "1"" of type '" "shapeObj *""'");
37065 : }
37066 0 : arg1 = (shapeObj *)(argp1);
37067 : result = (shapeObj *)shapeObj_convexHull(arg1);
37068 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37069 :
37070 0 : XSRETURN(argvi);
37071 : fail:
37072 :
37073 0 : SWIG_croak_null();
37074 : }
37075 : }
37076 :
37077 :
37078 0 : XS(_wrap_shapeObj_boundary) {
37079 : {
37080 : shapeObj *arg1 = (shapeObj *) 0 ;
37081 0 : void *argp1 = 0 ;
37082 : int res1 = 0 ;
37083 : int argvi = 0;
37084 : shapeObj *result = 0 ;
37085 0 : dXSARGS;
37086 :
37087 0 : if ((items < 1) || (items > 1)) {
37088 0 : SWIG_croak("Usage: shapeObj_boundary(self);");
37089 : }
37090 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37091 0 : if (!SWIG_IsOK(res1)) {
37092 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_boundary" "', argument " "1"" of type '" "shapeObj *""'");
37093 : }
37094 0 : arg1 = (shapeObj *)(argp1);
37095 : result = (shapeObj *)shapeObj_boundary(arg1);
37096 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37097 :
37098 0 : XSRETURN(argvi);
37099 : fail:
37100 :
37101 0 : SWIG_croak_null();
37102 : }
37103 : }
37104 :
37105 :
37106 0 : XS(_wrap_shapeObj_getCentroid) {
37107 : {
37108 : shapeObj *arg1 = (shapeObj *) 0 ;
37109 0 : void *argp1 = 0 ;
37110 : int res1 = 0 ;
37111 : int argvi = 0;
37112 : pointObj *result = 0 ;
37113 0 : dXSARGS;
37114 :
37115 0 : if ((items < 1) || (items > 1)) {
37116 0 : SWIG_croak("Usage: shapeObj_getCentroid(self);");
37117 : }
37118 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37119 0 : if (!SWIG_IsOK(res1)) {
37120 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getCentroid" "', argument " "1"" of type '" "shapeObj *""'");
37121 : }
37122 0 : arg1 = (shapeObj *)(argp1);
37123 : result = (pointObj *)shapeObj_getCentroid(arg1);
37124 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37125 :
37126 0 : XSRETURN(argvi);
37127 : fail:
37128 :
37129 0 : SWIG_croak_null();
37130 : }
37131 : }
37132 :
37133 :
37134 0 : XS(_wrap_shapeObj_Union) {
37135 : {
37136 : shapeObj *arg1 = (shapeObj *) 0 ;
37137 : shapeObj *arg2 = (shapeObj *) 0 ;
37138 0 : void *argp1 = 0 ;
37139 : int res1 = 0 ;
37140 0 : void *argp2 = 0 ;
37141 : int res2 = 0 ;
37142 : int argvi = 0;
37143 : shapeObj *result = 0 ;
37144 0 : dXSARGS;
37145 :
37146 0 : if ((items < 2) || (items > 2)) {
37147 0 : SWIG_croak("Usage: shapeObj_Union(self,shape);");
37148 : }
37149 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37150 0 : if (!SWIG_IsOK(res1)) {
37151 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_Union" "', argument " "1"" of type '" "shapeObj *""'");
37152 : }
37153 0 : arg1 = (shapeObj *)(argp1);
37154 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37155 0 : if (!SWIG_IsOK(res2)) {
37156 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_Union" "', argument " "2"" of type '" "shapeObj *""'");
37157 : }
37158 0 : arg2 = (shapeObj *)(argp2);
37159 : result = (shapeObj *)shapeObj_Union(arg1,arg2);
37160 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37161 :
37162 :
37163 0 : XSRETURN(argvi);
37164 : fail:
37165 :
37166 :
37167 0 : SWIG_croak_null();
37168 : }
37169 : }
37170 :
37171 :
37172 0 : XS(_wrap_shapeObj_intersection) {
37173 : {
37174 : shapeObj *arg1 = (shapeObj *) 0 ;
37175 : shapeObj *arg2 = (shapeObj *) 0 ;
37176 0 : void *argp1 = 0 ;
37177 : int res1 = 0 ;
37178 0 : void *argp2 = 0 ;
37179 : int res2 = 0 ;
37180 : int argvi = 0;
37181 : shapeObj *result = 0 ;
37182 0 : dXSARGS;
37183 :
37184 0 : if ((items < 2) || (items > 2)) {
37185 0 : SWIG_croak("Usage: shapeObj_intersection(self,shape);");
37186 : }
37187 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37188 0 : if (!SWIG_IsOK(res1)) {
37189 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersection" "', argument " "1"" of type '" "shapeObj *""'");
37190 : }
37191 0 : arg1 = (shapeObj *)(argp1);
37192 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37193 0 : if (!SWIG_IsOK(res2)) {
37194 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersection" "', argument " "2"" of type '" "shapeObj *""'");
37195 : }
37196 0 : arg2 = (shapeObj *)(argp2);
37197 : result = (shapeObj *)shapeObj_intersection(arg1,arg2);
37198 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37199 :
37200 :
37201 0 : XSRETURN(argvi);
37202 : fail:
37203 :
37204 :
37205 0 : SWIG_croak_null();
37206 : }
37207 : }
37208 :
37209 :
37210 0 : XS(_wrap_shapeObj_difference) {
37211 : {
37212 : shapeObj *arg1 = (shapeObj *) 0 ;
37213 : shapeObj *arg2 = (shapeObj *) 0 ;
37214 0 : void *argp1 = 0 ;
37215 : int res1 = 0 ;
37216 0 : void *argp2 = 0 ;
37217 : int res2 = 0 ;
37218 : int argvi = 0;
37219 : shapeObj *result = 0 ;
37220 0 : dXSARGS;
37221 :
37222 0 : if ((items < 2) || (items > 2)) {
37223 0 : SWIG_croak("Usage: shapeObj_difference(self,shape);");
37224 : }
37225 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37226 0 : if (!SWIG_IsOK(res1)) {
37227 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_difference" "', argument " "1"" of type '" "shapeObj *""'");
37228 : }
37229 0 : arg1 = (shapeObj *)(argp1);
37230 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37231 0 : if (!SWIG_IsOK(res2)) {
37232 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_difference" "', argument " "2"" of type '" "shapeObj *""'");
37233 : }
37234 0 : arg2 = (shapeObj *)(argp2);
37235 : result = (shapeObj *)shapeObj_difference(arg1,arg2);
37236 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37237 :
37238 :
37239 0 : XSRETURN(argvi);
37240 : fail:
37241 :
37242 :
37243 0 : SWIG_croak_null();
37244 : }
37245 : }
37246 :
37247 :
37248 0 : XS(_wrap_shapeObj_symDifference) {
37249 : {
37250 : shapeObj *arg1 = (shapeObj *) 0 ;
37251 : shapeObj *arg2 = (shapeObj *) 0 ;
37252 0 : void *argp1 = 0 ;
37253 : int res1 = 0 ;
37254 0 : void *argp2 = 0 ;
37255 : int res2 = 0 ;
37256 : int argvi = 0;
37257 : shapeObj *result = 0 ;
37258 0 : dXSARGS;
37259 :
37260 0 : if ((items < 2) || (items > 2)) {
37261 0 : SWIG_croak("Usage: shapeObj_symDifference(self,shape);");
37262 : }
37263 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37264 0 : if (!SWIG_IsOK(res1)) {
37265 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_symDifference" "', argument " "1"" of type '" "shapeObj *""'");
37266 : }
37267 0 : arg1 = (shapeObj *)(argp1);
37268 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37269 0 : if (!SWIG_IsOK(res2)) {
37270 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_symDifference" "', argument " "2"" of type '" "shapeObj *""'");
37271 : }
37272 0 : arg2 = (shapeObj *)(argp2);
37273 : result = (shapeObj *)shapeObj_symDifference(arg1,arg2);
37274 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37275 :
37276 :
37277 0 : XSRETURN(argvi);
37278 : fail:
37279 :
37280 :
37281 0 : SWIG_croak_null();
37282 : }
37283 : }
37284 :
37285 :
37286 0 : XS(_wrap_shapeObj_contains__SWIG_0) {
37287 : {
37288 : shapeObj *arg1 = (shapeObj *) 0 ;
37289 : shapeObj *arg2 = (shapeObj *) 0 ;
37290 0 : void *argp1 = 0 ;
37291 : int res1 = 0 ;
37292 0 : void *argp2 = 0 ;
37293 : int res2 = 0 ;
37294 : int argvi = 0;
37295 : int result;
37296 0 : dXSARGS;
37297 :
37298 0 : if ((items < 2) || (items > 2)) {
37299 0 : SWIG_croak("Usage: shapeObj_contains(self,shape);");
37300 : }
37301 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37302 0 : if (!SWIG_IsOK(res1)) {
37303 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'");
37304 : }
37305 0 : arg1 = (shapeObj *)(argp1);
37306 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37307 0 : if (!SWIG_IsOK(res2)) {
37308 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "shapeObj *""'");
37309 : }
37310 0 : arg2 = (shapeObj *)(argp2);
37311 : result = (int)shapeObj_contains__SWIG_0(arg1,arg2);
37312 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37313 :
37314 :
37315 0 : XSRETURN(argvi);
37316 : fail:
37317 :
37318 :
37319 0 : SWIG_croak_null();
37320 : }
37321 : }
37322 :
37323 :
37324 0 : XS(_wrap_shapeObj_overlaps) {
37325 : {
37326 : shapeObj *arg1 = (shapeObj *) 0 ;
37327 : shapeObj *arg2 = (shapeObj *) 0 ;
37328 0 : void *argp1 = 0 ;
37329 : int res1 = 0 ;
37330 0 : void *argp2 = 0 ;
37331 : int res2 = 0 ;
37332 : int argvi = 0;
37333 : int result;
37334 0 : dXSARGS;
37335 :
37336 0 : if ((items < 2) || (items > 2)) {
37337 0 : SWIG_croak("Usage: shapeObj_overlaps(self,shape);");
37338 : }
37339 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37340 0 : if (!SWIG_IsOK(res1)) {
37341 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_overlaps" "', argument " "1"" of type '" "shapeObj *""'");
37342 : }
37343 0 : arg1 = (shapeObj *)(argp1);
37344 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37345 0 : if (!SWIG_IsOK(res2)) {
37346 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_overlaps" "', argument " "2"" of type '" "shapeObj *""'");
37347 : }
37348 0 : arg2 = (shapeObj *)(argp2);
37349 : result = (int)shapeObj_overlaps(arg1,arg2);
37350 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37351 :
37352 :
37353 0 : XSRETURN(argvi);
37354 : fail:
37355 :
37356 :
37357 0 : SWIG_croak_null();
37358 : }
37359 : }
37360 :
37361 :
37362 1 : XS(_wrap_shapeObj_within) {
37363 : {
37364 : shapeObj *arg1 = (shapeObj *) 0 ;
37365 : shapeObj *arg2 = (shapeObj *) 0 ;
37366 1 : void *argp1 = 0 ;
37367 : int res1 = 0 ;
37368 1 : void *argp2 = 0 ;
37369 : int res2 = 0 ;
37370 : int argvi = 0;
37371 : int result;
37372 1 : dXSARGS;
37373 :
37374 1 : if ((items < 2) || (items > 2)) {
37375 0 : SWIG_croak("Usage: shapeObj_within(self,shape);");
37376 : }
37377 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37378 1 : if (!SWIG_IsOK(res1)) {
37379 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_within" "', argument " "1"" of type '" "shapeObj *""'");
37380 : }
37381 1 : arg1 = (shapeObj *)(argp1);
37382 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37383 1 : if (!SWIG_IsOK(res2)) {
37384 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_within" "', argument " "2"" of type '" "shapeObj *""'");
37385 : }
37386 1 : arg2 = (shapeObj *)(argp2);
37387 : result = (int)shapeObj_within(arg1,arg2);
37388 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37389 :
37390 :
37391 1 : XSRETURN(argvi);
37392 : fail:
37393 :
37394 :
37395 0 : SWIG_croak_null();
37396 : }
37397 : }
37398 :
37399 :
37400 0 : XS(_wrap_shapeObj_crosses) {
37401 : {
37402 : shapeObj *arg1 = (shapeObj *) 0 ;
37403 : shapeObj *arg2 = (shapeObj *) 0 ;
37404 0 : void *argp1 = 0 ;
37405 : int res1 = 0 ;
37406 0 : void *argp2 = 0 ;
37407 : int res2 = 0 ;
37408 : int argvi = 0;
37409 : int result;
37410 0 : dXSARGS;
37411 :
37412 0 : if ((items < 2) || (items > 2)) {
37413 0 : SWIG_croak("Usage: shapeObj_crosses(self,shape);");
37414 : }
37415 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37416 0 : if (!SWIG_IsOK(res1)) {
37417 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_crosses" "', argument " "1"" of type '" "shapeObj *""'");
37418 : }
37419 0 : arg1 = (shapeObj *)(argp1);
37420 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37421 0 : if (!SWIG_IsOK(res2)) {
37422 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_crosses" "', argument " "2"" of type '" "shapeObj *""'");
37423 : }
37424 0 : arg2 = (shapeObj *)(argp2);
37425 : result = (int)shapeObj_crosses(arg1,arg2);
37426 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37427 :
37428 :
37429 0 : XSRETURN(argvi);
37430 : fail:
37431 :
37432 :
37433 0 : SWIG_croak_null();
37434 : }
37435 : }
37436 :
37437 :
37438 0 : XS(_wrap_shapeObj_intersects) {
37439 : {
37440 : shapeObj *arg1 = (shapeObj *) 0 ;
37441 : shapeObj *arg2 = (shapeObj *) 0 ;
37442 0 : void *argp1 = 0 ;
37443 : int res1 = 0 ;
37444 0 : void *argp2 = 0 ;
37445 : int res2 = 0 ;
37446 : int argvi = 0;
37447 : int result;
37448 0 : dXSARGS;
37449 :
37450 0 : if ((items < 2) || (items > 2)) {
37451 0 : SWIG_croak("Usage: shapeObj_intersects(self,shape);");
37452 : }
37453 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37454 0 : if (!SWIG_IsOK(res1)) {
37455 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersects" "', argument " "1"" of type '" "shapeObj *""'");
37456 : }
37457 0 : arg1 = (shapeObj *)(argp1);
37458 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37459 0 : if (!SWIG_IsOK(res2)) {
37460 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersects" "', argument " "2"" of type '" "shapeObj *""'");
37461 : }
37462 0 : arg2 = (shapeObj *)(argp2);
37463 : result = (int)shapeObj_intersects(arg1,arg2);
37464 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37465 :
37466 :
37467 0 : XSRETURN(argvi);
37468 : fail:
37469 :
37470 :
37471 0 : SWIG_croak_null();
37472 : }
37473 : }
37474 :
37475 :
37476 0 : XS(_wrap_shapeObj_touches) {
37477 : {
37478 : shapeObj *arg1 = (shapeObj *) 0 ;
37479 : shapeObj *arg2 = (shapeObj *) 0 ;
37480 0 : void *argp1 = 0 ;
37481 : int res1 = 0 ;
37482 0 : void *argp2 = 0 ;
37483 : int res2 = 0 ;
37484 : int argvi = 0;
37485 : int result;
37486 0 : dXSARGS;
37487 :
37488 0 : if ((items < 2) || (items > 2)) {
37489 0 : SWIG_croak("Usage: shapeObj_touches(self,shape);");
37490 : }
37491 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37492 0 : if (!SWIG_IsOK(res1)) {
37493 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_touches" "', argument " "1"" of type '" "shapeObj *""'");
37494 : }
37495 0 : arg1 = (shapeObj *)(argp1);
37496 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37497 0 : if (!SWIG_IsOK(res2)) {
37498 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_touches" "', argument " "2"" of type '" "shapeObj *""'");
37499 : }
37500 0 : arg2 = (shapeObj *)(argp2);
37501 : result = (int)shapeObj_touches(arg1,arg2);
37502 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37503 :
37504 :
37505 0 : XSRETURN(argvi);
37506 : fail:
37507 :
37508 :
37509 0 : SWIG_croak_null();
37510 : }
37511 : }
37512 :
37513 :
37514 0 : XS(_wrap_shapeObj_equals) {
37515 : {
37516 : shapeObj *arg1 = (shapeObj *) 0 ;
37517 : shapeObj *arg2 = (shapeObj *) 0 ;
37518 0 : void *argp1 = 0 ;
37519 : int res1 = 0 ;
37520 0 : void *argp2 = 0 ;
37521 : int res2 = 0 ;
37522 : int argvi = 0;
37523 : int result;
37524 0 : dXSARGS;
37525 :
37526 0 : if ((items < 2) || (items > 2)) {
37527 0 : SWIG_croak("Usage: shapeObj_equals(self,shape);");
37528 : }
37529 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37530 0 : if (!SWIG_IsOK(res1)) {
37531 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_equals" "', argument " "1"" of type '" "shapeObj *""'");
37532 : }
37533 0 : arg1 = (shapeObj *)(argp1);
37534 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37535 0 : if (!SWIG_IsOK(res2)) {
37536 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_equals" "', argument " "2"" of type '" "shapeObj *""'");
37537 : }
37538 0 : arg2 = (shapeObj *)(argp2);
37539 : result = (int)shapeObj_equals(arg1,arg2);
37540 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37541 :
37542 :
37543 0 : XSRETURN(argvi);
37544 : fail:
37545 :
37546 :
37547 0 : SWIG_croak_null();
37548 : }
37549 : }
37550 :
37551 :
37552 0 : XS(_wrap_shapeObj_disjoint) {
37553 : {
37554 : shapeObj *arg1 = (shapeObj *) 0 ;
37555 : shapeObj *arg2 = (shapeObj *) 0 ;
37556 0 : void *argp1 = 0 ;
37557 : int res1 = 0 ;
37558 0 : void *argp2 = 0 ;
37559 : int res2 = 0 ;
37560 : int argvi = 0;
37561 : int result;
37562 0 : dXSARGS;
37563 :
37564 0 : if ((items < 2) || (items > 2)) {
37565 0 : SWIG_croak("Usage: shapeObj_disjoint(self,shape);");
37566 : }
37567 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37568 0 : if (!SWIG_IsOK(res1)) {
37569 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_disjoint" "', argument " "1"" of type '" "shapeObj *""'");
37570 : }
37571 0 : arg1 = (shapeObj *)(argp1);
37572 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37573 0 : if (!SWIG_IsOK(res2)) {
37574 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_disjoint" "', argument " "2"" of type '" "shapeObj *""'");
37575 : }
37576 0 : arg2 = (shapeObj *)(argp2);
37577 : result = (int)shapeObj_disjoint(arg1,arg2);
37578 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37579 :
37580 :
37581 0 : XSRETURN(argvi);
37582 : fail:
37583 :
37584 :
37585 0 : SWIG_croak_null();
37586 : }
37587 : }
37588 :
37589 :
37590 0 : XS(_wrap_shapeObj_getArea) {
37591 : {
37592 : shapeObj *arg1 = (shapeObj *) 0 ;
37593 0 : void *argp1 = 0 ;
37594 : int res1 = 0 ;
37595 : int argvi = 0;
37596 : double result;
37597 0 : dXSARGS;
37598 :
37599 0 : if ((items < 1) || (items > 1)) {
37600 0 : SWIG_croak("Usage: shapeObj_getArea(self);");
37601 : }
37602 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37603 0 : if (!SWIG_IsOK(res1)) {
37604 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getArea" "', argument " "1"" of type '" "shapeObj *""'");
37605 : }
37606 0 : arg1 = (shapeObj *)(argp1);
37607 : result = (double)shapeObj_getArea(arg1);
37608 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37609 :
37610 0 : XSRETURN(argvi);
37611 : fail:
37612 :
37613 0 : SWIG_croak_null();
37614 : }
37615 : }
37616 :
37617 :
37618 0 : XS(_wrap_shapeObj_getLength) {
37619 : {
37620 : shapeObj *arg1 = (shapeObj *) 0 ;
37621 0 : void *argp1 = 0 ;
37622 : int res1 = 0 ;
37623 : int argvi = 0;
37624 : double result;
37625 0 : dXSARGS;
37626 :
37627 0 : if ((items < 1) || (items > 1)) {
37628 0 : SWIG_croak("Usage: shapeObj_getLength(self);");
37629 : }
37630 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37631 0 : if (!SWIG_IsOK(res1)) {
37632 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLength" "', argument " "1"" of type '" "shapeObj *""'");
37633 : }
37634 0 : arg1 = (shapeObj *)(argp1);
37635 : result = (double)shapeObj_getLength(arg1);
37636 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37637 :
37638 0 : XSRETURN(argvi);
37639 : fail:
37640 :
37641 0 : SWIG_croak_null();
37642 : }
37643 : }
37644 :
37645 :
37646 0 : XS(_wrap_shapeObj_getValue) {
37647 : {
37648 : shapeObj *arg1 = (shapeObj *) 0 ;
37649 : int arg2 ;
37650 0 : void *argp1 = 0 ;
37651 : int res1 = 0 ;
37652 : int val2 ;
37653 : int ecode2 = 0 ;
37654 : int argvi = 0;
37655 : char *result = 0 ;
37656 0 : dXSARGS;
37657 :
37658 0 : if ((items < 2) || (items > 2)) {
37659 0 : SWIG_croak("Usage: shapeObj_getValue(self,i);");
37660 : }
37661 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37662 0 : if (!SWIG_IsOK(res1)) {
37663 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getValue" "', argument " "1"" of type '" "shapeObj *""'");
37664 : }
37665 0 : arg1 = (shapeObj *)(argp1);
37666 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37667 0 : if (!SWIG_IsOK(ecode2)) {
37668 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_getValue" "', argument " "2"" of type '" "int""'");
37669 : }
37670 0 : arg2 = (int)(val2);
37671 : result = (char *)shapeObj_getValue(arg1,arg2);
37672 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
37673 :
37674 :
37675 0 : XSRETURN(argvi);
37676 : fail:
37677 :
37678 :
37679 0 : SWIG_croak_null();
37680 : }
37681 : }
37682 :
37683 :
37684 0 : XS(_wrap_shapeObj_contains__SWIG_1) {
37685 : {
37686 : shapeObj *arg1 = (shapeObj *) 0 ;
37687 : pointObj *arg2 = (pointObj *) 0 ;
37688 0 : void *argp1 = 0 ;
37689 : int res1 = 0 ;
37690 0 : void *argp2 = 0 ;
37691 : int res2 = 0 ;
37692 : int argvi = 0;
37693 : int result;
37694 0 : dXSARGS;
37695 :
37696 0 : if ((items < 2) || (items > 2)) {
37697 0 : SWIG_croak("Usage: shapeObj_contains(self,point);");
37698 : }
37699 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37700 0 : if (!SWIG_IsOK(res1)) {
37701 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'");
37702 : }
37703 0 : arg1 = (shapeObj *)(argp1);
37704 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
37705 0 : if (!SWIG_IsOK(res2)) {
37706 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "pointObj *""'");
37707 : }
37708 0 : arg2 = (pointObj *)(argp2);
37709 : result = (int)shapeObj_contains__SWIG_1(arg1,arg2);
37710 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37711 :
37712 :
37713 0 : XSRETURN(argvi);
37714 : fail:
37715 :
37716 :
37717 0 : SWIG_croak_null();
37718 : }
37719 : }
37720 :
37721 :
37722 0 : XS(_wrap_shapeObj_contains) {
37723 0 : dXSARGS;
37724 :
37725 : {
37726 : unsigned long _index = 0;
37727 : SWIG_TypeRank _rank = 0;
37728 0 : if (items == 2) {
37729 : SWIG_TypeRank _ranki = 0;
37730 : SWIG_TypeRank _rankm = 0;
37731 : SWIG_TypeRank _pi = 1;
37732 : int _v = 0;
37733 : {
37734 0 : void *vptr = 0;
37735 0 : int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
37736 : _v = SWIG_CheckState(res);
37737 : }
37738 0 : if (!_v) goto check_1;
37739 0 : _ranki += _v*_pi;
37740 : _rankm += _pi;
37741 : _pi *= SWIG_MAXCASTRANK;
37742 : {
37743 0 : void *vptr = 0;
37744 0 : int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_shapeObj, 0);
37745 : _v = SWIG_CheckState(res);
37746 : }
37747 0 : if (!_v) goto check_1;
37748 0 : _ranki += _v*_pi;
37749 : _rankm += _pi;
37750 : _pi *= SWIG_MAXCASTRANK;
37751 : if (!_index || (_ranki < _rank)) {
37752 : _rank = _ranki; _index = 1;
37753 0 : if (_rank == _rankm) goto dispatch;
37754 : }
37755 : }
37756 : check_1:
37757 :
37758 0 : if (items == 2) {
37759 : SWIG_TypeRank _ranki = 0;
37760 : SWIG_TypeRank _rankm = 0;
37761 : SWIG_TypeRank _pi = 1;
37762 : int _v = 0;
37763 : {
37764 0 : void *vptr = 0;
37765 0 : int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
37766 : _v = SWIG_CheckState(res);
37767 : }
37768 0 : if (!_v) goto check_2;
37769 0 : _ranki += _v*_pi;
37770 : _rankm += _pi;
37771 : _pi *= SWIG_MAXCASTRANK;
37772 : {
37773 0 : void *vptr = 0;
37774 0 : int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_pointObj, 0);
37775 : _v = SWIG_CheckState(res);
37776 : }
37777 0 : if (!_v) goto check_2;
37778 0 : _ranki += _v*_pi;
37779 : _rankm += _pi;
37780 : _pi *= SWIG_MAXCASTRANK;
37781 0 : if (!_index || (_ranki < _rank)) {
37782 : _rank = _ranki; _index = 2;
37783 : if (_rank == _rankm) goto dispatch;
37784 : }
37785 : }
37786 : check_2:
37787 :
37788 : dispatch:
37789 0 : switch(_index) {
37790 : case 1:
37791 0 : PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_0); return;
37792 : case 2:
37793 0 : PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_1); return;
37794 : }
37795 : }
37796 :
37797 0 : croak("No matching function for overloaded 'shapeObj_contains'");
37798 : XSRETURN(0);
37799 : }
37800 :
37801 :
37802 0 : XS(_wrap_shapeObj_distanceToPoint) {
37803 : {
37804 : shapeObj *arg1 = (shapeObj *) 0 ;
37805 : pointObj *arg2 = (pointObj *) 0 ;
37806 0 : void *argp1 = 0 ;
37807 : int res1 = 0 ;
37808 0 : void *argp2 = 0 ;
37809 : int res2 = 0 ;
37810 : int argvi = 0;
37811 : double result;
37812 0 : dXSARGS;
37813 :
37814 0 : if ((items < 2) || (items > 2)) {
37815 0 : SWIG_croak("Usage: shapeObj_distanceToPoint(self,point);");
37816 : }
37817 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37818 0 : if (!SWIG_IsOK(res1)) {
37819 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToPoint" "', argument " "1"" of type '" "shapeObj *""'");
37820 : }
37821 0 : arg1 = (shapeObj *)(argp1);
37822 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
37823 0 : if (!SWIG_IsOK(res2)) {
37824 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'");
37825 : }
37826 0 : arg2 = (pointObj *)(argp2);
37827 : result = (double)shapeObj_distanceToPoint(arg1,arg2);
37828 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37829 :
37830 :
37831 0 : XSRETURN(argvi);
37832 : fail:
37833 :
37834 :
37835 0 : SWIG_croak_null();
37836 : }
37837 : }
37838 :
37839 :
37840 0 : XS(_wrap_shapeObj_distanceToShape) {
37841 : {
37842 : shapeObj *arg1 = (shapeObj *) 0 ;
37843 : shapeObj *arg2 = (shapeObj *) 0 ;
37844 0 : void *argp1 = 0 ;
37845 : int res1 = 0 ;
37846 0 : void *argp2 = 0 ;
37847 : int res2 = 0 ;
37848 : int argvi = 0;
37849 : double result;
37850 0 : dXSARGS;
37851 :
37852 0 : if ((items < 2) || (items > 2)) {
37853 0 : SWIG_croak("Usage: shapeObj_distanceToShape(self,shape);");
37854 : }
37855 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37856 0 : if (!SWIG_IsOK(res1)) {
37857 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToShape" "', argument " "1"" of type '" "shapeObj *""'");
37858 : }
37859 0 : arg1 = (shapeObj *)(argp1);
37860 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37861 0 : if (!SWIG_IsOK(res2)) {
37862 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'");
37863 : }
37864 0 : arg2 = (shapeObj *)(argp2);
37865 : result = (double)shapeObj_distanceToShape(arg1,arg2);
37866 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37867 :
37868 :
37869 0 : XSRETURN(argvi);
37870 : fail:
37871 :
37872 :
37873 0 : SWIG_croak_null();
37874 : }
37875 : }
37876 :
37877 :
37878 0 : XS(_wrap_shapeObj_getLabelPoint) {
37879 : {
37880 : shapeObj *arg1 = (shapeObj *) 0 ;
37881 0 : void *argp1 = 0 ;
37882 : int res1 = 0 ;
37883 : int argvi = 0;
37884 : pointObj *result = 0 ;
37885 0 : dXSARGS;
37886 :
37887 0 : if ((items < 1) || (items > 1)) {
37888 0 : SWIG_croak("Usage: shapeObj_getLabelPoint(self);");
37889 : }
37890 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37891 0 : if (!SWIG_IsOK(res1)) {
37892 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLabelPoint" "', argument " "1"" of type '" "shapeObj *""'");
37893 : }
37894 0 : arg1 = (shapeObj *)(argp1);
37895 0 : result = (pointObj *)shapeObj_getLabelPoint(arg1);
37896 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37897 :
37898 0 : XSRETURN(argvi);
37899 : fail:
37900 :
37901 0 : SWIG_croak_null();
37902 : }
37903 : }
37904 :
37905 :
37906 0 : XS(_wrap_shapeObj_setValue) {
37907 : {
37908 0 : shapeObj *arg1 = (shapeObj *) 0 ;
37909 : int arg2 ;
37910 : char *arg3 = (char *) 0 ;
37911 0 : void *argp1 = 0 ;
37912 : int res1 = 0 ;
37913 : int val2 ;
37914 : int ecode2 = 0 ;
37915 : int res3 ;
37916 0 : char *buf3 = 0 ;
37917 0 : int alloc3 = 0 ;
37918 : int argvi = 0;
37919 : int result;
37920 0 : dXSARGS;
37921 :
37922 0 : if ((items < 3) || (items > 3)) {
37923 0 : SWIG_croak("Usage: shapeObj_setValue(self,i,value);");
37924 : }
37925 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37926 0 : if (!SWIG_IsOK(res1)) {
37927 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setValue" "', argument " "1"" of type '" "shapeObj *""'");
37928 : }
37929 0 : arg1 = (shapeObj *)(argp1);
37930 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37931 0 : if (!SWIG_IsOK(ecode2)) {
37932 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_setValue" "', argument " "2"" of type '" "int""'");
37933 : }
37934 0 : arg2 = (int)(val2);
37935 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
37936 0 : if (!SWIG_IsOK(res3)) {
37937 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_setValue" "', argument " "3"" of type '" "char *""'");
37938 : }
37939 0 : arg3 = (char *)(buf3);
37940 0 : result = (int)shapeObj_setValue(arg1,arg2,arg3);
37941 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37942 :
37943 :
37944 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
37945 0 : XSRETURN(argvi);
37946 : fail:
37947 :
37948 :
37949 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
37950 0 : SWIG_croak_null();
37951 : }
37952 : }
37953 :
37954 :
37955 0 : XS(_wrap_shapeObj_initValues) {
37956 : {
37957 : shapeObj *arg1 = (shapeObj *) 0 ;
37958 : int arg2 ;
37959 0 : void *argp1 = 0 ;
37960 : int res1 = 0 ;
37961 : int val2 ;
37962 : int ecode2 = 0 ;
37963 : int argvi = 0;
37964 0 : dXSARGS;
37965 :
37966 0 : if ((items < 2) || (items > 2)) {
37967 0 : SWIG_croak("Usage: shapeObj_initValues(self,numvalues);");
37968 : }
37969 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37970 0 : if (!SWIG_IsOK(res1)) {
37971 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_initValues" "', argument " "1"" of type '" "shapeObj *""'");
37972 : }
37973 0 : arg1 = (shapeObj *)(argp1);
37974 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37975 0 : if (!SWIG_IsOK(ecode2)) {
37976 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_initValues" "', argument " "2"" of type '" "int""'");
37977 : }
37978 0 : arg2 = (int)(val2);
37979 0 : shapeObj_initValues(arg1,arg2);
37980 0 : ST(argvi) = sv_newmortal();
37981 :
37982 :
37983 0 : XSRETURN(argvi);
37984 : fail:
37985 :
37986 :
37987 0 : SWIG_croak_null();
37988 : }
37989 : }
37990 :
37991 :
37992 0 : XS(_wrap_DBFInfo_fp_get) {
37993 : {
37994 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37995 0 : void *argp1 = 0 ;
37996 : int res1 = 0 ;
37997 : int argvi = 0;
37998 : FILE *result = 0 ;
37999 0 : dXSARGS;
38000 :
38001 0 : if ((items < 1) || (items > 1)) {
38002 0 : SWIG_croak("Usage: DBFInfo_fp_get(self);");
38003 : }
38004 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38005 0 : if (!SWIG_IsOK(res1)) {
38006 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_fp_get" "', argument " "1"" of type '" "DBFInfo *""'");
38007 : }
38008 0 : arg1 = (DBFInfo *)(argp1);
38009 0 : result = (FILE *) ((arg1)->fp);
38010 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
38011 :
38012 0 : XSRETURN(argvi);
38013 : fail:
38014 :
38015 0 : SWIG_croak_null();
38016 : }
38017 : }
38018 :
38019 :
38020 0 : XS(_wrap_DBFInfo_nRecords_get) {
38021 : {
38022 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38023 0 : void *argp1 = 0 ;
38024 : int res1 = 0 ;
38025 : int argvi = 0;
38026 : int result;
38027 0 : dXSARGS;
38028 :
38029 0 : if ((items < 1) || (items > 1)) {
38030 0 : SWIG_croak("Usage: DBFInfo_nRecords_get(self);");
38031 : }
38032 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38033 0 : if (!SWIG_IsOK(res1)) {
38034 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecords_get" "', argument " "1"" of type '" "DBFInfo *""'");
38035 : }
38036 0 : arg1 = (DBFInfo *)(argp1);
38037 0 : result = (int) ((arg1)->nRecords);
38038 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38039 :
38040 0 : XSRETURN(argvi);
38041 : fail:
38042 :
38043 0 : SWIG_croak_null();
38044 : }
38045 : }
38046 :
38047 :
38048 0 : XS(_wrap_DBFInfo_nRecordLength_get) {
38049 : {
38050 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38051 0 : void *argp1 = 0 ;
38052 : int res1 = 0 ;
38053 : int argvi = 0;
38054 : unsigned int result;
38055 0 : dXSARGS;
38056 :
38057 0 : if ((items < 1) || (items > 1)) {
38058 0 : SWIG_croak("Usage: DBFInfo_nRecordLength_get(self);");
38059 : }
38060 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38061 0 : if (!SWIG_IsOK(res1)) {
38062 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecordLength_get" "', argument " "1"" of type '" "DBFInfo *""'");
38063 : }
38064 0 : arg1 = (DBFInfo *)(argp1);
38065 0 : result = (unsigned int) ((arg1)->nRecordLength);
38066 0 : ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1((unsigned int)(result)); argvi++ ;
38067 :
38068 0 : XSRETURN(argvi);
38069 : fail:
38070 :
38071 0 : SWIG_croak_null();
38072 : }
38073 : }
38074 :
38075 :
38076 0 : XS(_wrap_DBFInfo_nHeaderLength_get) {
38077 : {
38078 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38079 0 : void *argp1 = 0 ;
38080 : int res1 = 0 ;
38081 : int argvi = 0;
38082 : int result;
38083 0 : dXSARGS;
38084 :
38085 0 : if ((items < 1) || (items > 1)) {
38086 0 : SWIG_croak("Usage: DBFInfo_nHeaderLength_get(self);");
38087 : }
38088 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38089 0 : if (!SWIG_IsOK(res1)) {
38090 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nHeaderLength_get" "', argument " "1"" of type '" "DBFInfo *""'");
38091 : }
38092 0 : arg1 = (DBFInfo *)(argp1);
38093 0 : result = (int) ((arg1)->nHeaderLength);
38094 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38095 :
38096 0 : XSRETURN(argvi);
38097 : fail:
38098 :
38099 0 : SWIG_croak_null();
38100 : }
38101 : }
38102 :
38103 :
38104 0 : XS(_wrap_DBFInfo_nFields_get) {
38105 : {
38106 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38107 0 : void *argp1 = 0 ;
38108 : int res1 = 0 ;
38109 : int argvi = 0;
38110 : int result;
38111 0 : dXSARGS;
38112 :
38113 0 : if ((items < 1) || (items > 1)) {
38114 0 : SWIG_croak("Usage: DBFInfo_nFields_get(self);");
38115 : }
38116 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38117 0 : if (!SWIG_IsOK(res1)) {
38118 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nFields_get" "', argument " "1"" of type '" "DBFInfo *""'");
38119 : }
38120 0 : arg1 = (DBFInfo *)(argp1);
38121 0 : result = (int) ((arg1)->nFields);
38122 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38123 :
38124 0 : XSRETURN(argvi);
38125 : fail:
38126 :
38127 0 : SWIG_croak_null();
38128 : }
38129 : }
38130 :
38131 :
38132 0 : XS(_wrap_DBFInfo_panFieldOffset_get) {
38133 : {
38134 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38135 0 : void *argp1 = 0 ;
38136 : int res1 = 0 ;
38137 : int argvi = 0;
38138 : int *result = 0 ;
38139 0 : dXSARGS;
38140 :
38141 0 : if ((items < 1) || (items > 1)) {
38142 0 : SWIG_croak("Usage: DBFInfo_panFieldOffset_get(self);");
38143 : }
38144 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38145 0 : if (!SWIG_IsOK(res1)) {
38146 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldOffset_get" "', argument " "1"" of type '" "DBFInfo *""'");
38147 : }
38148 0 : arg1 = (DBFInfo *)(argp1);
38149 0 : result = (int *) ((arg1)->panFieldOffset);
38150 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
38151 :
38152 0 : XSRETURN(argvi);
38153 : fail:
38154 :
38155 0 : SWIG_croak_null();
38156 : }
38157 : }
38158 :
38159 :
38160 0 : XS(_wrap_DBFInfo_panFieldSize_get) {
38161 : {
38162 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38163 0 : void *argp1 = 0 ;
38164 : int res1 = 0 ;
38165 : int argvi = 0;
38166 : int *result = 0 ;
38167 0 : dXSARGS;
38168 :
38169 0 : if ((items < 1) || (items > 1)) {
38170 0 : SWIG_croak("Usage: DBFInfo_panFieldSize_get(self);");
38171 : }
38172 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38173 0 : if (!SWIG_IsOK(res1)) {
38174 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldSize_get" "', argument " "1"" of type '" "DBFInfo *""'");
38175 : }
38176 0 : arg1 = (DBFInfo *)(argp1);
38177 0 : result = (int *) ((arg1)->panFieldSize);
38178 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
38179 :
38180 0 : XSRETURN(argvi);
38181 : fail:
38182 :
38183 0 : SWIG_croak_null();
38184 : }
38185 : }
38186 :
38187 :
38188 0 : XS(_wrap_DBFInfo_panFieldDecimals_get) {
38189 : {
38190 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38191 0 : void *argp1 = 0 ;
38192 : int res1 = 0 ;
38193 : int argvi = 0;
38194 : int *result = 0 ;
38195 0 : dXSARGS;
38196 :
38197 0 : if ((items < 1) || (items > 1)) {
38198 0 : SWIG_croak("Usage: DBFInfo_panFieldDecimals_get(self);");
38199 : }
38200 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38201 0 : if (!SWIG_IsOK(res1)) {
38202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldDecimals_get" "', argument " "1"" of type '" "DBFInfo *""'");
38203 : }
38204 0 : arg1 = (DBFInfo *)(argp1);
38205 0 : result = (int *) ((arg1)->panFieldDecimals);
38206 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
38207 :
38208 0 : XSRETURN(argvi);
38209 : fail:
38210 :
38211 0 : SWIG_croak_null();
38212 : }
38213 : }
38214 :
38215 :
38216 0 : XS(_wrap_DBFInfo_pachFieldType_get) {
38217 : {
38218 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38219 0 : void *argp1 = 0 ;
38220 : int res1 = 0 ;
38221 : int argvi = 0;
38222 : char *result = 0 ;
38223 0 : dXSARGS;
38224 :
38225 0 : if ((items < 1) || (items > 1)) {
38226 0 : SWIG_croak("Usage: DBFInfo_pachFieldType_get(self);");
38227 : }
38228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38229 0 : if (!SWIG_IsOK(res1)) {
38230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pachFieldType_get" "', argument " "1"" of type '" "DBFInfo *""'");
38231 : }
38232 0 : arg1 = (DBFInfo *)(argp1);
38233 0 : result = (char *) ((arg1)->pachFieldType);
38234 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38235 :
38236 0 : XSRETURN(argvi);
38237 : fail:
38238 :
38239 0 : SWIG_croak_null();
38240 : }
38241 : }
38242 :
38243 :
38244 0 : XS(_wrap_DBFInfo_pszHeader_get) {
38245 : {
38246 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38247 0 : void *argp1 = 0 ;
38248 : int res1 = 0 ;
38249 : int argvi = 0;
38250 : char *result = 0 ;
38251 0 : dXSARGS;
38252 :
38253 0 : if ((items < 1) || (items > 1)) {
38254 0 : SWIG_croak("Usage: DBFInfo_pszHeader_get(self);");
38255 : }
38256 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38257 0 : if (!SWIG_IsOK(res1)) {
38258 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszHeader_get" "', argument " "1"" of type '" "DBFInfo *""'");
38259 : }
38260 0 : arg1 = (DBFInfo *)(argp1);
38261 0 : result = (char *) ((arg1)->pszHeader);
38262 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38263 :
38264 0 : XSRETURN(argvi);
38265 : fail:
38266 :
38267 0 : SWIG_croak_null();
38268 : }
38269 : }
38270 :
38271 :
38272 0 : XS(_wrap_DBFInfo_nCurrentRecord_get) {
38273 : {
38274 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38275 0 : void *argp1 = 0 ;
38276 : int res1 = 0 ;
38277 : int argvi = 0;
38278 : int result;
38279 0 : dXSARGS;
38280 :
38281 0 : if ((items < 1) || (items > 1)) {
38282 0 : SWIG_croak("Usage: DBFInfo_nCurrentRecord_get(self);");
38283 : }
38284 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38285 0 : if (!SWIG_IsOK(res1)) {
38286 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'");
38287 : }
38288 0 : arg1 = (DBFInfo *)(argp1);
38289 0 : result = (int) ((arg1)->nCurrentRecord);
38290 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38291 :
38292 0 : XSRETURN(argvi);
38293 : fail:
38294 :
38295 0 : SWIG_croak_null();
38296 : }
38297 : }
38298 :
38299 :
38300 0 : XS(_wrap_DBFInfo_bCurrentRecordModified_get) {
38301 : {
38302 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38303 0 : void *argp1 = 0 ;
38304 : int res1 = 0 ;
38305 : int argvi = 0;
38306 : int result;
38307 0 : dXSARGS;
38308 :
38309 0 : if ((items < 1) || (items > 1)) {
38310 0 : SWIG_croak("Usage: DBFInfo_bCurrentRecordModified_get(self);");
38311 : }
38312 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38313 0 : if (!SWIG_IsOK(res1)) {
38314 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bCurrentRecordModified_get" "', argument " "1"" of type '" "DBFInfo *""'");
38315 : }
38316 0 : arg1 = (DBFInfo *)(argp1);
38317 0 : result = (int) ((arg1)->bCurrentRecordModified);
38318 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38319 :
38320 0 : XSRETURN(argvi);
38321 : fail:
38322 :
38323 0 : SWIG_croak_null();
38324 : }
38325 : }
38326 :
38327 :
38328 0 : XS(_wrap_DBFInfo_pszCurrentRecord_get) {
38329 : {
38330 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38331 0 : void *argp1 = 0 ;
38332 : int res1 = 0 ;
38333 : int argvi = 0;
38334 : char *result = 0 ;
38335 0 : dXSARGS;
38336 :
38337 0 : if ((items < 1) || (items > 1)) {
38338 0 : SWIG_croak("Usage: DBFInfo_pszCurrentRecord_get(self);");
38339 : }
38340 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38341 0 : if (!SWIG_IsOK(res1)) {
38342 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'");
38343 : }
38344 0 : arg1 = (DBFInfo *)(argp1);
38345 0 : result = (char *) ((arg1)->pszCurrentRecord);
38346 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38347 :
38348 0 : XSRETURN(argvi);
38349 : fail:
38350 :
38351 0 : SWIG_croak_null();
38352 : }
38353 : }
38354 :
38355 :
38356 0 : XS(_wrap_DBFInfo_bNoHeader_get) {
38357 : {
38358 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38359 0 : void *argp1 = 0 ;
38360 : int res1 = 0 ;
38361 : int argvi = 0;
38362 : int result;
38363 0 : dXSARGS;
38364 :
38365 0 : if ((items < 1) || (items > 1)) {
38366 0 : SWIG_croak("Usage: DBFInfo_bNoHeader_get(self);");
38367 : }
38368 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38369 0 : if (!SWIG_IsOK(res1)) {
38370 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bNoHeader_get" "', argument " "1"" of type '" "DBFInfo *""'");
38371 : }
38372 0 : arg1 = (DBFInfo *)(argp1);
38373 0 : result = (int) ((arg1)->bNoHeader);
38374 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38375 :
38376 0 : XSRETURN(argvi);
38377 : fail:
38378 :
38379 0 : SWIG_croak_null();
38380 : }
38381 : }
38382 :
38383 :
38384 0 : XS(_wrap_DBFInfo_bUpdated_get) {
38385 : {
38386 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38387 0 : void *argp1 = 0 ;
38388 : int res1 = 0 ;
38389 : int argvi = 0;
38390 : int result;
38391 0 : dXSARGS;
38392 :
38393 0 : if ((items < 1) || (items > 1)) {
38394 0 : SWIG_croak("Usage: DBFInfo_bUpdated_get(self);");
38395 : }
38396 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38397 0 : if (!SWIG_IsOK(res1)) {
38398 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bUpdated_get" "', argument " "1"" of type '" "DBFInfo *""'");
38399 : }
38400 0 : arg1 = (DBFInfo *)(argp1);
38401 0 : result = (int) ((arg1)->bUpdated);
38402 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38403 :
38404 0 : XSRETURN(argvi);
38405 : fail:
38406 :
38407 0 : SWIG_croak_null();
38408 : }
38409 : }
38410 :
38411 :
38412 0 : XS(_wrap_DBFInfo_pszStringField_get) {
38413 : {
38414 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38415 0 : void *argp1 = 0 ;
38416 : int res1 = 0 ;
38417 : int argvi = 0;
38418 : char *result = 0 ;
38419 0 : dXSARGS;
38420 :
38421 0 : if ((items < 1) || (items > 1)) {
38422 0 : SWIG_croak("Usage: DBFInfo_pszStringField_get(self);");
38423 : }
38424 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38425 0 : if (!SWIG_IsOK(res1)) {
38426 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszStringField_get" "', argument " "1"" of type '" "DBFInfo *""'");
38427 : }
38428 0 : arg1 = (DBFInfo *)(argp1);
38429 0 : result = (char *) ((arg1)->pszStringField);
38430 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38431 :
38432 0 : XSRETURN(argvi);
38433 : fail:
38434 :
38435 0 : SWIG_croak_null();
38436 : }
38437 : }
38438 :
38439 :
38440 0 : XS(_wrap_DBFInfo_nStringFieldLen_get) {
38441 : {
38442 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38443 0 : void *argp1 = 0 ;
38444 : int res1 = 0 ;
38445 : int argvi = 0;
38446 : int result;
38447 0 : dXSARGS;
38448 :
38449 0 : if ((items < 1) || (items > 1)) {
38450 0 : SWIG_croak("Usage: DBFInfo_nStringFieldLen_get(self);");
38451 : }
38452 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38453 0 : if (!SWIG_IsOK(res1)) {
38454 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nStringFieldLen_get" "', argument " "1"" of type '" "DBFInfo *""'");
38455 : }
38456 0 : arg1 = (DBFInfo *)(argp1);
38457 0 : result = (int) ((arg1)->nStringFieldLen);
38458 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38459 :
38460 0 : XSRETURN(argvi);
38461 : fail:
38462 :
38463 0 : SWIG_croak_null();
38464 : }
38465 : }
38466 :
38467 :
38468 0 : XS(_wrap_DBFInfo_getFieldName) {
38469 : {
38470 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38471 : int arg2 ;
38472 0 : void *argp1 = 0 ;
38473 : int res1 = 0 ;
38474 : int val2 ;
38475 : int ecode2 = 0 ;
38476 : int argvi = 0;
38477 : char *result = 0 ;
38478 0 : dXSARGS;
38479 :
38480 0 : if ((items < 2) || (items > 2)) {
38481 0 : SWIG_croak("Usage: DBFInfo_getFieldName(self,iField);");
38482 : }
38483 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38484 0 : if (!SWIG_IsOK(res1)) {
38485 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldName" "', argument " "1"" of type '" "DBFInfo *""'");
38486 : }
38487 0 : arg1 = (DBFInfo *)(argp1);
38488 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38489 0 : if (!SWIG_IsOK(ecode2)) {
38490 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldName" "', argument " "2"" of type '" "int""'");
38491 : }
38492 0 : arg2 = (int)(val2);
38493 : result = (char *)DBFInfo_getFieldName(arg1,arg2);
38494 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38495 :
38496 :
38497 0 : XSRETURN(argvi);
38498 : fail:
38499 :
38500 :
38501 0 : SWIG_croak_null();
38502 : }
38503 : }
38504 :
38505 :
38506 0 : XS(_wrap_DBFInfo_getFieldWidth) {
38507 : {
38508 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38509 : int arg2 ;
38510 0 : void *argp1 = 0 ;
38511 : int res1 = 0 ;
38512 : int val2 ;
38513 : int ecode2 = 0 ;
38514 : int argvi = 0;
38515 : int result;
38516 0 : dXSARGS;
38517 :
38518 0 : if ((items < 2) || (items > 2)) {
38519 0 : SWIG_croak("Usage: DBFInfo_getFieldWidth(self,iField);");
38520 : }
38521 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38522 0 : if (!SWIG_IsOK(res1)) {
38523 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldWidth" "', argument " "1"" of type '" "DBFInfo *""'");
38524 : }
38525 0 : arg1 = (DBFInfo *)(argp1);
38526 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38527 0 : if (!SWIG_IsOK(ecode2)) {
38528 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldWidth" "', argument " "2"" of type '" "int""'");
38529 : }
38530 0 : arg2 = (int)(val2);
38531 0 : result = (int)DBFInfo_getFieldWidth(arg1,arg2);
38532 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38533 :
38534 :
38535 0 : XSRETURN(argvi);
38536 : fail:
38537 :
38538 :
38539 0 : SWIG_croak_null();
38540 : }
38541 : }
38542 :
38543 :
38544 0 : XS(_wrap_DBFInfo_getFieldDecimals) {
38545 : {
38546 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38547 : int arg2 ;
38548 0 : void *argp1 = 0 ;
38549 : int res1 = 0 ;
38550 : int val2 ;
38551 : int ecode2 = 0 ;
38552 : int argvi = 0;
38553 : int result;
38554 0 : dXSARGS;
38555 :
38556 0 : if ((items < 2) || (items > 2)) {
38557 0 : SWIG_croak("Usage: DBFInfo_getFieldDecimals(self,iField);");
38558 : }
38559 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38560 0 : if (!SWIG_IsOK(res1)) {
38561 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldDecimals" "', argument " "1"" of type '" "DBFInfo *""'");
38562 : }
38563 0 : arg1 = (DBFInfo *)(argp1);
38564 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38565 0 : if (!SWIG_IsOK(ecode2)) {
38566 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldDecimals" "', argument " "2"" of type '" "int""'");
38567 : }
38568 0 : arg2 = (int)(val2);
38569 0 : result = (int)DBFInfo_getFieldDecimals(arg1,arg2);
38570 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38571 :
38572 :
38573 0 : XSRETURN(argvi);
38574 : fail:
38575 :
38576 :
38577 0 : SWIG_croak_null();
38578 : }
38579 : }
38580 :
38581 :
38582 0 : XS(_wrap_DBFInfo_getFieldType) {
38583 : {
38584 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38585 : int arg2 ;
38586 0 : void *argp1 = 0 ;
38587 : int res1 = 0 ;
38588 : int val2 ;
38589 : int ecode2 = 0 ;
38590 : int argvi = 0;
38591 : int result;
38592 0 : dXSARGS;
38593 :
38594 0 : if ((items < 2) || (items > 2)) {
38595 0 : SWIG_croak("Usage: DBFInfo_getFieldType(self,iField);");
38596 : }
38597 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38598 0 : if (!SWIG_IsOK(res1)) {
38599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldType" "', argument " "1"" of type '" "DBFInfo *""'");
38600 : }
38601 0 : arg1 = (DBFInfo *)(argp1);
38602 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38603 0 : if (!SWIG_IsOK(ecode2)) {
38604 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldType" "', argument " "2"" of type '" "int""'");
38605 : }
38606 0 : arg2 = (int)(val2);
38607 : result = (int)DBFInfo_getFieldType(arg1,arg2);
38608 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38609 :
38610 :
38611 0 : XSRETURN(argvi);
38612 : fail:
38613 :
38614 :
38615 0 : SWIG_croak_null();
38616 : }
38617 : }
38618 :
38619 :
38620 0 : XS(_wrap_new_DBFInfo) {
38621 : {
38622 : int argvi = 0;
38623 : DBFInfo *result = 0 ;
38624 0 : dXSARGS;
38625 :
38626 0 : if ((items < 0) || (items > 0)) {
38627 0 : SWIG_croak("Usage: new_DBFInfo();");
38628 : }
38629 0 : result = (DBFInfo *)calloc(1, sizeof(DBFInfo));
38630 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38631 0 : XSRETURN(argvi);
38632 : fail:
38633 0 : SWIG_croak_null();
38634 : }
38635 : }
38636 :
38637 :
38638 0 : XS(_wrap_delete_DBFInfo) {
38639 : {
38640 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38641 0 : void *argp1 = 0 ;
38642 : int res1 = 0 ;
38643 : int argvi = 0;
38644 0 : dXSARGS;
38645 :
38646 0 : if ((items < 1) || (items > 1)) {
38647 0 : SWIG_croak("Usage: delete_DBFInfo(self);");
38648 : }
38649 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, SWIG_POINTER_DISOWN | 0 );
38650 0 : if (!SWIG_IsOK(res1)) {
38651 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DBFInfo" "', argument " "1"" of type '" "DBFInfo *""'");
38652 : }
38653 0 : arg1 = (DBFInfo *)(argp1);
38654 0 : free((char *) arg1);
38655 0 : ST(argvi) = sv_newmortal();
38656 :
38657 0 : XSRETURN(argvi);
38658 : fail:
38659 :
38660 0 : SWIG_croak_null();
38661 : }
38662 : }
38663 :
38664 :
38665 0 : XS(_wrap_shapefileObj_source_get) {
38666 : {
38667 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38668 0 : void *argp1 = 0 ;
38669 : int res1 = 0 ;
38670 : int argvi = 0;
38671 : char *result = 0 ;
38672 0 : dXSARGS;
38673 :
38674 0 : if ((items < 1) || (items > 1)) {
38675 0 : SWIG_croak("Usage: shapefileObj_source_get(self);");
38676 : }
38677 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38678 0 : if (!SWIG_IsOK(res1)) {
38679 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_source_get" "', argument " "1"" of type '" "shapefileObj *""'");
38680 : }
38681 0 : arg1 = (shapefileObj *)(argp1);
38682 0 : result = (char *)(char *) ((arg1)->source);
38683 : {
38684 0 : ST(argvi) = newSVpvn(result, strlen(result));
38685 : argvi++;
38686 : }
38687 :
38688 0 : XSRETURN(argvi);
38689 : fail:
38690 :
38691 0 : SWIG_croak_null();
38692 : }
38693 : }
38694 :
38695 :
38696 1 : XS(_wrap_shapefileObj_type_get) {
38697 : {
38698 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38699 1 : void *argp1 = 0 ;
38700 : int res1 = 0 ;
38701 : int argvi = 0;
38702 : int result;
38703 1 : dXSARGS;
38704 :
38705 1 : if ((items < 1) || (items > 1)) {
38706 0 : SWIG_croak("Usage: shapefileObj_type_get(self);");
38707 : }
38708 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38709 1 : if (!SWIG_IsOK(res1)) {
38710 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_type_get" "', argument " "1"" of type '" "shapefileObj *""'");
38711 : }
38712 1 : arg1 = (shapefileObj *)(argp1);
38713 1 : result = (int) ((arg1)->type);
38714 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38715 :
38716 1 : XSRETURN(argvi);
38717 : fail:
38718 :
38719 0 : SWIG_croak_null();
38720 : }
38721 : }
38722 :
38723 :
38724 1 : XS(_wrap_shapefileObj_numshapes_get) {
38725 : {
38726 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38727 1 : void *argp1 = 0 ;
38728 : int res1 = 0 ;
38729 : int argvi = 0;
38730 : int result;
38731 1 : dXSARGS;
38732 :
38733 1 : if ((items < 1) || (items > 1)) {
38734 0 : SWIG_croak("Usage: shapefileObj_numshapes_get(self);");
38735 : }
38736 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38737 1 : if (!SWIG_IsOK(res1)) {
38738 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_numshapes_get" "', argument " "1"" of type '" "shapefileObj *""'");
38739 : }
38740 1 : arg1 = (shapefileObj *)(argp1);
38741 1 : result = (int) ((arg1)->numshapes);
38742 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38743 :
38744 1 : XSRETURN(argvi);
38745 : fail:
38746 :
38747 0 : SWIG_croak_null();
38748 : }
38749 : }
38750 :
38751 :
38752 0 : XS(_wrap_shapefileObj_bounds_get) {
38753 : {
38754 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38755 0 : void *argp1 = 0 ;
38756 : int res1 = 0 ;
38757 : int argvi = 0;
38758 : rectObj *result = 0 ;
38759 0 : dXSARGS;
38760 :
38761 0 : if ((items < 1) || (items > 1)) {
38762 0 : SWIG_croak("Usage: shapefileObj_bounds_get(self);");
38763 : }
38764 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38765 0 : if (!SWIG_IsOK(res1)) {
38766 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_bounds_get" "', argument " "1"" of type '" "shapefileObj *""'");
38767 : }
38768 0 : arg1 = (shapefileObj *)(argp1);
38769 0 : result = (rectObj *)& ((arg1)->bounds);
38770 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
38771 :
38772 0 : XSRETURN(argvi);
38773 : fail:
38774 :
38775 0 : SWIG_croak_null();
38776 : }
38777 : }
38778 :
38779 :
38780 0 : XS(_wrap_shapefileObj_lastshape_get) {
38781 : {
38782 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38783 0 : void *argp1 = 0 ;
38784 : int res1 = 0 ;
38785 : int argvi = 0;
38786 : int result;
38787 0 : dXSARGS;
38788 :
38789 0 : if ((items < 1) || (items > 1)) {
38790 0 : SWIG_croak("Usage: shapefileObj_lastshape_get(self);");
38791 : }
38792 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38793 0 : if (!SWIG_IsOK(res1)) {
38794 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_lastshape_get" "', argument " "1"" of type '" "shapefileObj *""'");
38795 : }
38796 0 : arg1 = (shapefileObj *)(argp1);
38797 0 : result = (int) ((arg1)->lastshape);
38798 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38799 :
38800 0 : XSRETURN(argvi);
38801 : fail:
38802 :
38803 0 : SWIG_croak_null();
38804 : }
38805 : }
38806 :
38807 :
38808 0 : XS(_wrap_shapefileObj_status_get) {
38809 : {
38810 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38811 0 : void *argp1 = 0 ;
38812 : int res1 = 0 ;
38813 : int argvi = 0;
38814 : ms_bitarray result;
38815 0 : dXSARGS;
38816 :
38817 0 : if ((items < 1) || (items > 1)) {
38818 0 : SWIG_croak("Usage: shapefileObj_status_get(self);");
38819 : }
38820 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38821 0 : if (!SWIG_IsOK(res1)) {
38822 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_status_get" "', argument " "1"" of type '" "shapefileObj *""'");
38823 : }
38824 0 : arg1 = (shapefileObj *)(argp1);
38825 0 : result = (ms_bitarray) ((arg1)->status);
38826 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0); argvi++ ;
38827 :
38828 0 : XSRETURN(argvi);
38829 : fail:
38830 :
38831 0 : SWIG_croak_null();
38832 : }
38833 : }
38834 :
38835 :
38836 0 : XS(_wrap_shapefileObj_isopen_get) {
38837 : {
38838 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38839 0 : void *argp1 = 0 ;
38840 : int res1 = 0 ;
38841 : int argvi = 0;
38842 : int result;
38843 0 : dXSARGS;
38844 :
38845 0 : if ((items < 1) || (items > 1)) {
38846 0 : SWIG_croak("Usage: shapefileObj_isopen_get(self);");
38847 : }
38848 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38849 0 : if (!SWIG_IsOK(res1)) {
38850 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_isopen_get" "', argument " "1"" of type '" "shapefileObj *""'");
38851 : }
38852 0 : arg1 = (shapefileObj *)(argp1);
38853 0 : result = (int) ((arg1)->isopen);
38854 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38855 :
38856 0 : XSRETURN(argvi);
38857 : fail:
38858 :
38859 0 : SWIG_croak_null();
38860 : }
38861 : }
38862 :
38863 :
38864 1 : XS(_wrap_new_shapefileObj) {
38865 : {
38866 : char *arg1 = (char *) 0 ;
38867 : int arg2 = (int) -1 ;
38868 : int res1 ;
38869 1 : char *buf1 = 0 ;
38870 1 : int alloc1 = 0 ;
38871 : int val2 ;
38872 : int ecode2 = 0 ;
38873 : int argvi = 0;
38874 : shapefileObj *result = 0 ;
38875 1 : dXSARGS;
38876 :
38877 1 : if ((items < 1) || (items > 2)) {
38878 0 : SWIG_croak("Usage: new_shapefileObj(filename,type);");
38879 : }
38880 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
38881 1 : if (!SWIG_IsOK(res1)) {
38882 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_shapefileObj" "', argument " "1"" of type '" "char *""'");
38883 : }
38884 1 : arg1 = (char *)(buf1);
38885 1 : if (items > 1) {
38886 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38887 1 : if (!SWIG_IsOK(ecode2)) {
38888 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_shapefileObj" "', argument " "2"" of type '" "int""'");
38889 : }
38890 1 : arg2 = (int)(val2);
38891 : }
38892 1 : result = (shapefileObj *)new_shapefileObj(arg1,arg2);
38893 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapefileObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38894 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
38895 :
38896 1 : XSRETURN(argvi);
38897 : fail:
38898 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
38899 :
38900 0 : SWIG_croak_null();
38901 : }
38902 : }
38903 :
38904 :
38905 1 : XS(_wrap_delete_shapefileObj) {
38906 : {
38907 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38908 1 : void *argp1 = 0 ;
38909 : int res1 = 0 ;
38910 : int argvi = 0;
38911 1 : dXSARGS;
38912 :
38913 1 : if ((items < 1) || (items > 1)) {
38914 0 : SWIG_croak("Usage: delete_shapefileObj(self);");
38915 : }
38916 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, SWIG_POINTER_DISOWN | 0 );
38917 1 : if (!SWIG_IsOK(res1)) {
38918 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapefileObj" "', argument " "1"" of type '" "shapefileObj *""'");
38919 : }
38920 1 : arg1 = (shapefileObj *)(argp1);
38921 : delete_shapefileObj(arg1);
38922 1 : ST(argvi) = sv_newmortal();
38923 :
38924 1 : XSRETURN(argvi);
38925 : fail:
38926 :
38927 0 : SWIG_croak_null();
38928 : }
38929 : }
38930 :
38931 :
38932 1 : XS(_wrap_shapefileObj_get) {
38933 : {
38934 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38935 : int arg2 ;
38936 : shapeObj *arg3 = (shapeObj *) 0 ;
38937 1 : void *argp1 = 0 ;
38938 : int res1 = 0 ;
38939 : int val2 ;
38940 : int ecode2 = 0 ;
38941 1 : void *argp3 = 0 ;
38942 : int res3 = 0 ;
38943 : int argvi = 0;
38944 : int result;
38945 1 : dXSARGS;
38946 :
38947 1 : if ((items < 3) || (items > 3)) {
38948 0 : SWIG_croak("Usage: shapefileObj_get(self,i,shape);");
38949 : }
38950 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38951 1 : if (!SWIG_IsOK(res1)) {
38952 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_get" "', argument " "1"" of type '" "shapefileObj *""'");
38953 : }
38954 1 : arg1 = (shapefileObj *)(argp1);
38955 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38956 1 : if (!SWIG_IsOK(ecode2)) {
38957 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_get" "', argument " "2"" of type '" "int""'");
38958 : }
38959 1 : arg2 = (int)(val2);
38960 1 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
38961 1 : if (!SWIG_IsOK(res3)) {
38962 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_get" "', argument " "3"" of type '" "shapeObj *""'");
38963 : }
38964 1 : arg3 = (shapeObj *)(argp3);
38965 1 : result = (int)shapefileObj_get(arg1,arg2,arg3);
38966 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38967 :
38968 :
38969 :
38970 1 : XSRETURN(argvi);
38971 : fail:
38972 :
38973 :
38974 :
38975 0 : SWIG_croak_null();
38976 : }
38977 : }
38978 :
38979 :
38980 1 : XS(_wrap_shapefileObj_getShape) {
38981 : {
38982 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38983 : int arg2 ;
38984 1 : void *argp1 = 0 ;
38985 : int res1 = 0 ;
38986 : int val2 ;
38987 : int ecode2 = 0 ;
38988 : int argvi = 0;
38989 : shapeObj *result = 0 ;
38990 1 : dXSARGS;
38991 :
38992 1 : if ((items < 2) || (items > 2)) {
38993 0 : SWIG_croak("Usage: shapefileObj_getShape(self,i);");
38994 : }
38995 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38996 1 : if (!SWIG_IsOK(res1)) {
38997 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getShape" "', argument " "1"" of type '" "shapefileObj *""'");
38998 : }
38999 1 : arg1 = (shapefileObj *)(argp1);
39000 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39001 1 : if (!SWIG_IsOK(ecode2)) {
39002 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getShape" "', argument " "2"" of type '" "int""'");
39003 : }
39004 1 : arg2 = (int)(val2);
39005 1 : result = (shapeObj *)shapefileObj_getShape(arg1,arg2);
39006 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39007 :
39008 :
39009 1 : XSRETURN(argvi);
39010 : fail:
39011 :
39012 :
39013 0 : SWIG_croak_null();
39014 : }
39015 : }
39016 :
39017 :
39018 0 : XS(_wrap_shapefileObj_getPoint) {
39019 : {
39020 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39021 : int arg2 ;
39022 : pointObj *arg3 = (pointObj *) 0 ;
39023 0 : void *argp1 = 0 ;
39024 : int res1 = 0 ;
39025 : int val2 ;
39026 : int ecode2 = 0 ;
39027 0 : void *argp3 = 0 ;
39028 : int res3 = 0 ;
39029 : int argvi = 0;
39030 : int result;
39031 0 : dXSARGS;
39032 :
39033 0 : if ((items < 3) || (items > 3)) {
39034 0 : SWIG_croak("Usage: shapefileObj_getPoint(self,i,point);");
39035 : }
39036 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39037 0 : if (!SWIG_IsOK(res1)) {
39038 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getPoint" "', argument " "1"" of type '" "shapefileObj *""'");
39039 : }
39040 0 : arg1 = (shapefileObj *)(argp1);
39041 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39042 0 : if (!SWIG_IsOK(ecode2)) {
39043 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getPoint" "', argument " "2"" of type '" "int""'");
39044 : }
39045 0 : arg2 = (int)(val2);
39046 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
39047 0 : if (!SWIG_IsOK(res3)) {
39048 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getPoint" "', argument " "3"" of type '" "pointObj *""'");
39049 : }
39050 0 : arg3 = (pointObj *)(argp3);
39051 : result = (int)shapefileObj_getPoint(arg1,arg2,arg3);
39052 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39053 :
39054 :
39055 :
39056 0 : XSRETURN(argvi);
39057 : fail:
39058 :
39059 :
39060 :
39061 0 : SWIG_croak_null();
39062 : }
39063 : }
39064 :
39065 :
39066 0 : XS(_wrap_shapefileObj_getTransformed) {
39067 : {
39068 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39069 : mapObj *arg2 = (mapObj *) 0 ;
39070 : int arg3 ;
39071 : shapeObj *arg4 = (shapeObj *) 0 ;
39072 0 : void *argp1 = 0 ;
39073 : int res1 = 0 ;
39074 0 : void *argp2 = 0 ;
39075 : int res2 = 0 ;
39076 : int val3 ;
39077 : int ecode3 = 0 ;
39078 0 : void *argp4 = 0 ;
39079 : int res4 = 0 ;
39080 : int argvi = 0;
39081 : int result;
39082 0 : dXSARGS;
39083 :
39084 0 : if ((items < 4) || (items > 4)) {
39085 0 : SWIG_croak("Usage: shapefileObj_getTransformed(self,map,i,shape);");
39086 : }
39087 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39088 0 : if (!SWIG_IsOK(res1)) {
39089 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getTransformed" "', argument " "1"" of type '" "shapefileObj *""'");
39090 : }
39091 0 : arg1 = (shapefileObj *)(argp1);
39092 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
39093 0 : if (!SWIG_IsOK(res2)) {
39094 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_getTransformed" "', argument " "2"" of type '" "mapObj *""'");
39095 : }
39096 0 : arg2 = (mapObj *)(argp2);
39097 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39098 0 : if (!SWIG_IsOK(ecode3)) {
39099 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "shapefileObj_getTransformed" "', argument " "3"" of type '" "int""'");
39100 : }
39101 0 : arg3 = (int)(val3);
39102 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_shapeObj, 0 | 0 );
39103 0 : if (!SWIG_IsOK(res4)) {
39104 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapefileObj_getTransformed" "', argument " "4"" of type '" "shapeObj *""'");
39105 : }
39106 0 : arg4 = (shapeObj *)(argp4);
39107 0 : result = (int)shapefileObj_getTransformed(arg1,arg2,arg3,arg4);
39108 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39109 :
39110 :
39111 :
39112 :
39113 0 : XSRETURN(argvi);
39114 : fail:
39115 :
39116 :
39117 :
39118 :
39119 0 : SWIG_croak_null();
39120 : }
39121 : }
39122 :
39123 :
39124 0 : XS(_wrap_shapefileObj_getExtent) {
39125 : {
39126 0 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39127 : int arg2 ;
39128 : rectObj *arg3 = (rectObj *) 0 ;
39129 0 : void *argp1 = 0 ;
39130 : int res1 = 0 ;
39131 : int val2 ;
39132 : int ecode2 = 0 ;
39133 0 : void *argp3 = 0 ;
39134 : int res3 = 0 ;
39135 : int argvi = 0;
39136 0 : dXSARGS;
39137 :
39138 0 : if ((items < 3) || (items > 3)) {
39139 0 : SWIG_croak("Usage: shapefileObj_getExtent(self,i,rect);");
39140 : }
39141 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39142 0 : if (!SWIG_IsOK(res1)) {
39143 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getExtent" "', argument " "1"" of type '" "shapefileObj *""'");
39144 : }
39145 0 : arg1 = (shapefileObj *)(argp1);
39146 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39147 0 : if (!SWIG_IsOK(ecode2)) {
39148 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getExtent" "', argument " "2"" of type '" "int""'");
39149 : }
39150 0 : arg2 = (int)(val2);
39151 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_rectObj, 0 | 0 );
39152 0 : if (!SWIG_IsOK(res3)) {
39153 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getExtent" "', argument " "3"" of type '" "rectObj *""'");
39154 : }
39155 0 : arg3 = (rectObj *)(argp3);
39156 : shapefileObj_getExtent(arg1,arg2,arg3);
39157 0 : ST(argvi) = sv_newmortal();
39158 :
39159 :
39160 :
39161 0 : XSRETURN(argvi);
39162 : fail:
39163 :
39164 :
39165 :
39166 0 : SWIG_croak_null();
39167 : }
39168 : }
39169 :
39170 :
39171 1 : XS(_wrap_shapefileObj_add) {
39172 : {
39173 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39174 : shapeObj *arg2 = (shapeObj *) 0 ;
39175 1 : void *argp1 = 0 ;
39176 : int res1 = 0 ;
39177 1 : void *argp2 = 0 ;
39178 : int res2 = 0 ;
39179 : int argvi = 0;
39180 : int result;
39181 1 : dXSARGS;
39182 :
39183 1 : if ((items < 2) || (items > 2)) {
39184 0 : SWIG_croak("Usage: shapefileObj_add(self,shape);");
39185 : }
39186 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39187 1 : if (!SWIG_IsOK(res1)) {
39188 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_add" "', argument " "1"" of type '" "shapefileObj *""'");
39189 : }
39190 1 : arg1 = (shapefileObj *)(argp1);
39191 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
39192 1 : if (!SWIG_IsOK(res2)) {
39193 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_add" "', argument " "2"" of type '" "shapeObj *""'");
39194 : }
39195 1 : arg2 = (shapeObj *)(argp2);
39196 1 : result = (int)shapefileObj_add(arg1,arg2);
39197 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39198 :
39199 :
39200 1 : XSRETURN(argvi);
39201 : fail:
39202 :
39203 :
39204 0 : SWIG_croak_null();
39205 : }
39206 : }
39207 :
39208 :
39209 0 : XS(_wrap_shapefileObj_addPoint) {
39210 : {
39211 0 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39212 : pointObj *arg2 = (pointObj *) 0 ;
39213 0 : void *argp1 = 0 ;
39214 : int res1 = 0 ;
39215 0 : void *argp2 = 0 ;
39216 : int res2 = 0 ;
39217 : int argvi = 0;
39218 : int result;
39219 0 : dXSARGS;
39220 :
39221 0 : if ((items < 2) || (items > 2)) {
39222 0 : SWIG_croak("Usage: shapefileObj_addPoint(self,point);");
39223 : }
39224 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39225 0 : if (!SWIG_IsOK(res1)) {
39226 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_addPoint" "', argument " "1"" of type '" "shapefileObj *""'");
39227 : }
39228 0 : arg1 = (shapefileObj *)(argp1);
39229 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
39230 0 : if (!SWIG_IsOK(res2)) {
39231 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_addPoint" "', argument " "2"" of type '" "pointObj *""'");
39232 : }
39233 0 : arg2 = (pointObj *)(argp2);
39234 : result = (int)shapefileObj_addPoint(arg1,arg2);
39235 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39236 :
39237 :
39238 0 : XSRETURN(argvi);
39239 : fail:
39240 :
39241 :
39242 0 : SWIG_croak_null();
39243 : }
39244 : }
39245 :
39246 :
39247 0 : XS(_wrap_shapefileObj_getDBF) {
39248 : {
39249 0 : shapefileObj *arg1 = (shapefileObj *) 0 ;
39250 0 : void *argp1 = 0 ;
39251 : int res1 = 0 ;
39252 : int argvi = 0;
39253 : DBFInfo *result = 0 ;
39254 0 : dXSARGS;
39255 :
39256 0 : if ((items < 1) || (items > 1)) {
39257 0 : SWIG_croak("Usage: shapefileObj_getDBF(self);");
39258 : }
39259 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
39260 0 : if (!SWIG_IsOK(res1)) {
39261 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getDBF" "', argument " "1"" of type '" "shapefileObj *""'");
39262 : }
39263 0 : arg1 = (shapefileObj *)(argp1);
39264 : result = (DBFInfo *)shapefileObj_getDBF(arg1);
39265 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, 0 | SWIG_SHADOW); argvi++ ;
39266 :
39267 0 : XSRETURN(argvi);
39268 : fail:
39269 :
39270 0 : SWIG_croak_null();
39271 : }
39272 : }
39273 :
39274 :
39275 0 : XS(_wrap_projectionObj_numargs_get) {
39276 : {
39277 : projectionObj *arg1 = (projectionObj *) 0 ;
39278 0 : void *argp1 = 0 ;
39279 : int res1 = 0 ;
39280 : int argvi = 0;
39281 : int result;
39282 0 : dXSARGS;
39283 :
39284 0 : if ((items < 1) || (items > 1)) {
39285 0 : SWIG_croak("Usage: projectionObj_numargs_get(self);");
39286 : }
39287 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39288 0 : if (!SWIG_IsOK(res1)) {
39289 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_numargs_get" "', argument " "1"" of type '" "projectionObj *""'");
39290 : }
39291 0 : arg1 = (projectionObj *)(argp1);
39292 0 : result = (int) ((arg1)->numargs);
39293 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39294 :
39295 0 : XSRETURN(argvi);
39296 : fail:
39297 :
39298 0 : SWIG_croak_null();
39299 : }
39300 : }
39301 :
39302 :
39303 0 : XS(_wrap_projectionObj_automatic_get) {
39304 : {
39305 : projectionObj *arg1 = (projectionObj *) 0 ;
39306 0 : void *argp1 = 0 ;
39307 : int res1 = 0 ;
39308 : int argvi = 0;
39309 : int result;
39310 0 : dXSARGS;
39311 :
39312 0 : if ((items < 1) || (items > 1)) {
39313 0 : SWIG_croak("Usage: projectionObj_automatic_get(self);");
39314 : }
39315 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39316 0 : if (!SWIG_IsOK(res1)) {
39317 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_automatic_get" "', argument " "1"" of type '" "projectionObj *""'");
39318 : }
39319 0 : arg1 = (projectionObj *)(argp1);
39320 0 : result = (int) ((arg1)->automatic);
39321 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39322 :
39323 0 : XSRETURN(argvi);
39324 : fail:
39325 :
39326 0 : SWIG_croak_null();
39327 : }
39328 : }
39329 :
39330 :
39331 0 : XS(_wrap_projectionObj_wellknownprojection_set) {
39332 : {
39333 : projectionObj *arg1 = (projectionObj *) 0 ;
39334 : int arg2 ;
39335 0 : void *argp1 = 0 ;
39336 : int res1 = 0 ;
39337 : int val2 ;
39338 : int ecode2 = 0 ;
39339 : int argvi = 0;
39340 0 : dXSARGS;
39341 :
39342 0 : if ((items < 2) || (items > 2)) {
39343 0 : SWIG_croak("Usage: projectionObj_wellknownprojection_set(self,wellknownprojection);");
39344 : }
39345 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39346 0 : if (!SWIG_IsOK(res1)) {
39347 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_set" "', argument " "1"" of type '" "projectionObj *""'");
39348 : }
39349 0 : arg1 = (projectionObj *)(argp1);
39350 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39351 0 : if (!SWIG_IsOK(ecode2)) {
39352 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "projectionObj_wellknownprojection_set" "', argument " "2"" of type '" "int""'");
39353 : }
39354 0 : arg2 = (int)(val2);
39355 0 : if (arg1) (arg1)->wellknownprojection = arg2;
39356 0 : ST(argvi) = sv_newmortal();
39357 :
39358 :
39359 0 : XSRETURN(argvi);
39360 : fail:
39361 :
39362 :
39363 0 : SWIG_croak_null();
39364 : }
39365 : }
39366 :
39367 :
39368 0 : XS(_wrap_projectionObj_wellknownprojection_get) {
39369 : {
39370 : projectionObj *arg1 = (projectionObj *) 0 ;
39371 0 : void *argp1 = 0 ;
39372 : int res1 = 0 ;
39373 : int argvi = 0;
39374 : int result;
39375 0 : dXSARGS;
39376 :
39377 0 : if ((items < 1) || (items > 1)) {
39378 0 : SWIG_croak("Usage: projectionObj_wellknownprojection_get(self);");
39379 : }
39380 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39381 0 : if (!SWIG_IsOK(res1)) {
39382 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_get" "', argument " "1"" of type '" "projectionObj *""'");
39383 : }
39384 0 : arg1 = (projectionObj *)(argp1);
39385 0 : result = (int) ((arg1)->wellknownprojection);
39386 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39387 :
39388 0 : XSRETURN(argvi);
39389 : fail:
39390 :
39391 0 : SWIG_croak_null();
39392 : }
39393 : }
39394 :
39395 :
39396 0 : XS(_wrap_new_projectionObj) {
39397 : {
39398 : char *arg1 = (char *) 0 ;
39399 : int res1 ;
39400 0 : char *buf1 = 0 ;
39401 0 : int alloc1 = 0 ;
39402 : int argvi = 0;
39403 : projectionObj *result = 0 ;
39404 0 : dXSARGS;
39405 :
39406 0 : if ((items < 1) || (items > 1)) {
39407 0 : SWIG_croak("Usage: new_projectionObj(proj4);");
39408 : }
39409 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
39410 0 : if (!SWIG_IsOK(res1)) {
39411 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_projectionObj" "', argument " "1"" of type '" "char *""'");
39412 : }
39413 0 : arg1 = (char *)(buf1);
39414 0 : result = (projectionObj *)new_projectionObj(arg1);
39415 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_projectionObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39416 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39417 0 : XSRETURN(argvi);
39418 : fail:
39419 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39420 0 : SWIG_croak_null();
39421 : }
39422 : }
39423 :
39424 :
39425 0 : XS(_wrap_delete_projectionObj) {
39426 : {
39427 : projectionObj *arg1 = (projectionObj *) 0 ;
39428 0 : void *argp1 = 0 ;
39429 : int res1 = 0 ;
39430 : int argvi = 0;
39431 0 : dXSARGS;
39432 :
39433 0 : if ((items < 1) || (items > 1)) {
39434 0 : SWIG_croak("Usage: delete_projectionObj(self);");
39435 : }
39436 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, SWIG_POINTER_DISOWN | 0 );
39437 0 : if (!SWIG_IsOK(res1)) {
39438 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_projectionObj" "', argument " "1"" of type '" "projectionObj *""'");
39439 : }
39440 0 : arg1 = (projectionObj *)(argp1);
39441 : delete_projectionObj(arg1);
39442 0 : ST(argvi) = sv_newmortal();
39443 :
39444 0 : XSRETURN(argvi);
39445 : fail:
39446 :
39447 0 : SWIG_croak_null();
39448 : }
39449 : }
39450 :
39451 :
39452 0 : XS(_wrap_projectionObj_setWKTProjection) {
39453 : {
39454 : projectionObj *arg1 = (projectionObj *) 0 ;
39455 : char *arg2 = (char *) 0 ;
39456 0 : void *argp1 = 0 ;
39457 : int res1 = 0 ;
39458 : int res2 ;
39459 0 : char *buf2 = 0 ;
39460 0 : int alloc2 = 0 ;
39461 : int argvi = 0;
39462 : int result;
39463 0 : dXSARGS;
39464 :
39465 0 : if ((items < 2) || (items > 2)) {
39466 0 : SWIG_croak("Usage: projectionObj_setWKTProjection(self,wkt);");
39467 : }
39468 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39469 0 : if (!SWIG_IsOK(res1)) {
39470 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_setWKTProjection" "', argument " "1"" of type '" "projectionObj *""'");
39471 : }
39472 0 : arg1 = (projectionObj *)(argp1);
39473 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
39474 0 : if (!SWIG_IsOK(res2)) {
39475 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "projectionObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
39476 : }
39477 0 : arg2 = (char *)(buf2);
39478 : result = (int)projectionObj_setWKTProjection(arg1,arg2);
39479 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39480 :
39481 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39482 0 : XSRETURN(argvi);
39483 : fail:
39484 :
39485 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39486 0 : SWIG_croak_null();
39487 : }
39488 : }
39489 :
39490 :
39491 0 : XS(_wrap_projectionObj_getUnits) {
39492 : {
39493 : projectionObj *arg1 = (projectionObj *) 0 ;
39494 0 : void *argp1 = 0 ;
39495 : int res1 = 0 ;
39496 : int argvi = 0;
39497 : int result;
39498 0 : dXSARGS;
39499 :
39500 0 : if ((items < 1) || (items > 1)) {
39501 0 : SWIG_croak("Usage: projectionObj_getUnits(self);");
39502 : }
39503 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39504 0 : if (!SWIG_IsOK(res1)) {
39505 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_getUnits" "', argument " "1"" of type '" "projectionObj *""'");
39506 : }
39507 0 : arg1 = (projectionObj *)(argp1);
39508 : result = (int)projectionObj_getUnits(arg1);
39509 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39510 :
39511 0 : XSRETURN(argvi);
39512 : fail:
39513 :
39514 0 : SWIG_croak_null();
39515 : }
39516 : }
39517 :
39518 :
39519 0 : XS(_wrap_colorObj_red_set) {
39520 : {
39521 : colorObj *arg1 = (colorObj *) 0 ;
39522 : int arg2 ;
39523 0 : void *argp1 = 0 ;
39524 : int res1 = 0 ;
39525 : int val2 ;
39526 : int ecode2 = 0 ;
39527 : int argvi = 0;
39528 0 : dXSARGS;
39529 :
39530 0 : if ((items < 2) || (items > 2)) {
39531 0 : SWIG_croak("Usage: colorObj_red_set(self,red);");
39532 : }
39533 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39534 0 : if (!SWIG_IsOK(res1)) {
39535 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_set" "', argument " "1"" of type '" "colorObj *""'");
39536 : }
39537 0 : arg1 = (colorObj *)(argp1);
39538 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39539 0 : if (!SWIG_IsOK(ecode2)) {
39540 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_red_set" "', argument " "2"" of type '" "int""'");
39541 : }
39542 0 : arg2 = (int)(val2);
39543 0 : if (arg1) (arg1)->red = arg2;
39544 0 : ST(argvi) = sv_newmortal();
39545 :
39546 :
39547 0 : XSRETURN(argvi);
39548 : fail:
39549 :
39550 :
39551 0 : SWIG_croak_null();
39552 : }
39553 : }
39554 :
39555 :
39556 0 : XS(_wrap_colorObj_red_get) {
39557 : {
39558 : colorObj *arg1 = (colorObj *) 0 ;
39559 0 : void *argp1 = 0 ;
39560 : int res1 = 0 ;
39561 : int argvi = 0;
39562 : int result;
39563 0 : dXSARGS;
39564 :
39565 0 : if ((items < 1) || (items > 1)) {
39566 0 : SWIG_croak("Usage: colorObj_red_get(self);");
39567 : }
39568 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39569 0 : if (!SWIG_IsOK(res1)) {
39570 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_get" "', argument " "1"" of type '" "colorObj *""'");
39571 : }
39572 0 : arg1 = (colorObj *)(argp1);
39573 0 : result = (int) ((arg1)->red);
39574 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39575 :
39576 0 : XSRETURN(argvi);
39577 : fail:
39578 :
39579 0 : SWIG_croak_null();
39580 : }
39581 : }
39582 :
39583 :
39584 0 : XS(_wrap_colorObj_green_set) {
39585 : {
39586 : colorObj *arg1 = (colorObj *) 0 ;
39587 : int arg2 ;
39588 0 : void *argp1 = 0 ;
39589 : int res1 = 0 ;
39590 : int val2 ;
39591 : int ecode2 = 0 ;
39592 : int argvi = 0;
39593 0 : dXSARGS;
39594 :
39595 0 : if ((items < 2) || (items > 2)) {
39596 0 : SWIG_croak("Usage: colorObj_green_set(self,green);");
39597 : }
39598 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39599 0 : if (!SWIG_IsOK(res1)) {
39600 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_set" "', argument " "1"" of type '" "colorObj *""'");
39601 : }
39602 0 : arg1 = (colorObj *)(argp1);
39603 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39604 0 : if (!SWIG_IsOK(ecode2)) {
39605 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_green_set" "', argument " "2"" of type '" "int""'");
39606 : }
39607 0 : arg2 = (int)(val2);
39608 0 : if (arg1) (arg1)->green = arg2;
39609 0 : ST(argvi) = sv_newmortal();
39610 :
39611 :
39612 0 : XSRETURN(argvi);
39613 : fail:
39614 :
39615 :
39616 0 : SWIG_croak_null();
39617 : }
39618 : }
39619 :
39620 :
39621 0 : XS(_wrap_colorObj_green_get) {
39622 : {
39623 : colorObj *arg1 = (colorObj *) 0 ;
39624 0 : void *argp1 = 0 ;
39625 : int res1 = 0 ;
39626 : int argvi = 0;
39627 : int result;
39628 0 : dXSARGS;
39629 :
39630 0 : if ((items < 1) || (items > 1)) {
39631 0 : SWIG_croak("Usage: colorObj_green_get(self);");
39632 : }
39633 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39634 0 : if (!SWIG_IsOK(res1)) {
39635 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_get" "', argument " "1"" of type '" "colorObj *""'");
39636 : }
39637 0 : arg1 = (colorObj *)(argp1);
39638 0 : result = (int) ((arg1)->green);
39639 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39640 :
39641 0 : XSRETURN(argvi);
39642 : fail:
39643 :
39644 0 : SWIG_croak_null();
39645 : }
39646 : }
39647 :
39648 :
39649 0 : XS(_wrap_colorObj_blue_set) {
39650 : {
39651 : colorObj *arg1 = (colorObj *) 0 ;
39652 : int arg2 ;
39653 0 : void *argp1 = 0 ;
39654 : int res1 = 0 ;
39655 : int val2 ;
39656 : int ecode2 = 0 ;
39657 : int argvi = 0;
39658 0 : dXSARGS;
39659 :
39660 0 : if ((items < 2) || (items > 2)) {
39661 0 : SWIG_croak("Usage: colorObj_blue_set(self,blue);");
39662 : }
39663 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39664 0 : if (!SWIG_IsOK(res1)) {
39665 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_set" "', argument " "1"" of type '" "colorObj *""'");
39666 : }
39667 0 : arg1 = (colorObj *)(argp1);
39668 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39669 0 : if (!SWIG_IsOK(ecode2)) {
39670 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_blue_set" "', argument " "2"" of type '" "int""'");
39671 : }
39672 0 : arg2 = (int)(val2);
39673 0 : if (arg1) (arg1)->blue = arg2;
39674 0 : ST(argvi) = sv_newmortal();
39675 :
39676 :
39677 0 : XSRETURN(argvi);
39678 : fail:
39679 :
39680 :
39681 0 : SWIG_croak_null();
39682 : }
39683 : }
39684 :
39685 :
39686 0 : XS(_wrap_colorObj_blue_get) {
39687 : {
39688 : colorObj *arg1 = (colorObj *) 0 ;
39689 0 : void *argp1 = 0 ;
39690 : int res1 = 0 ;
39691 : int argvi = 0;
39692 : int result;
39693 0 : dXSARGS;
39694 :
39695 0 : if ((items < 1) || (items > 1)) {
39696 0 : SWIG_croak("Usage: colorObj_blue_get(self);");
39697 : }
39698 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39699 0 : if (!SWIG_IsOK(res1)) {
39700 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_get" "', argument " "1"" of type '" "colorObj *""'");
39701 : }
39702 0 : arg1 = (colorObj *)(argp1);
39703 0 : result = (int) ((arg1)->blue);
39704 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39705 :
39706 0 : XSRETURN(argvi);
39707 : fail:
39708 :
39709 0 : SWIG_croak_null();
39710 : }
39711 : }
39712 :
39713 :
39714 0 : XS(_wrap_colorObj_alpha_set) {
39715 : {
39716 : colorObj *arg1 = (colorObj *) 0 ;
39717 : int arg2 ;
39718 0 : void *argp1 = 0 ;
39719 : int res1 = 0 ;
39720 : int val2 ;
39721 : int ecode2 = 0 ;
39722 : int argvi = 0;
39723 0 : dXSARGS;
39724 :
39725 0 : if ((items < 2) || (items > 2)) {
39726 0 : SWIG_croak("Usage: colorObj_alpha_set(self,alpha);");
39727 : }
39728 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39729 0 : if (!SWIG_IsOK(res1)) {
39730 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_set" "', argument " "1"" of type '" "colorObj *""'");
39731 : }
39732 0 : arg1 = (colorObj *)(argp1);
39733 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39734 0 : if (!SWIG_IsOK(ecode2)) {
39735 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_alpha_set" "', argument " "2"" of type '" "int""'");
39736 : }
39737 0 : arg2 = (int)(val2);
39738 0 : if (arg1) (arg1)->alpha = arg2;
39739 0 : ST(argvi) = sv_newmortal();
39740 :
39741 :
39742 0 : XSRETURN(argvi);
39743 : fail:
39744 :
39745 :
39746 0 : SWIG_croak_null();
39747 : }
39748 : }
39749 :
39750 :
39751 0 : XS(_wrap_colorObj_alpha_get) {
39752 : {
39753 : colorObj *arg1 = (colorObj *) 0 ;
39754 0 : void *argp1 = 0 ;
39755 : int res1 = 0 ;
39756 : int argvi = 0;
39757 : int result;
39758 0 : dXSARGS;
39759 :
39760 0 : if ((items < 1) || (items > 1)) {
39761 0 : SWIG_croak("Usage: colorObj_alpha_get(self);");
39762 : }
39763 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39764 0 : if (!SWIG_IsOK(res1)) {
39765 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_get" "', argument " "1"" of type '" "colorObj *""'");
39766 : }
39767 0 : arg1 = (colorObj *)(argp1);
39768 0 : result = (int) ((arg1)->alpha);
39769 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39770 :
39771 0 : XSRETURN(argvi);
39772 : fail:
39773 :
39774 0 : SWIG_croak_null();
39775 : }
39776 : }
39777 :
39778 :
39779 0 : XS(_wrap_new_colorObj) {
39780 : {
39781 : int arg1 = (int) 0 ;
39782 : int arg2 = (int) 0 ;
39783 : int arg3 = (int) 0 ;
39784 : int arg4 = (int) 255 ;
39785 : int val1 ;
39786 : int ecode1 = 0 ;
39787 : int val2 ;
39788 : int ecode2 = 0 ;
39789 : int val3 ;
39790 : int ecode3 = 0 ;
39791 : int val4 ;
39792 : int ecode4 = 0 ;
39793 : int argvi = 0;
39794 : colorObj *result = 0 ;
39795 0 : dXSARGS;
39796 :
39797 0 : if ((items < 0) || (items > 4)) {
39798 0 : SWIG_croak("Usage: new_colorObj(red,green,blue,alpha);");
39799 : }
39800 0 : if (items > 0) {
39801 0 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
39802 0 : if (!SWIG_IsOK(ecode1)) {
39803 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_colorObj" "', argument " "1"" of type '" "int""'");
39804 : }
39805 0 : arg1 = (int)(val1);
39806 : }
39807 0 : if (items > 1) {
39808 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39809 0 : if (!SWIG_IsOK(ecode2)) {
39810 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_colorObj" "', argument " "2"" of type '" "int""'");
39811 : }
39812 0 : arg2 = (int)(val2);
39813 : }
39814 0 : if (items > 2) {
39815 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39816 0 : if (!SWIG_IsOK(ecode3)) {
39817 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_colorObj" "', argument " "3"" of type '" "int""'");
39818 : }
39819 0 : arg3 = (int)(val3);
39820 : }
39821 0 : if (items > 3) {
39822 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
39823 0 : if (!SWIG_IsOK(ecode4)) {
39824 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_colorObj" "', argument " "4"" of type '" "int""'");
39825 : }
39826 0 : arg4 = (int)(val4);
39827 : }
39828 0 : result = (colorObj *)new_colorObj(arg1,arg2,arg3,arg4);
39829 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39830 :
39831 :
39832 :
39833 :
39834 0 : XSRETURN(argvi);
39835 : fail:
39836 :
39837 :
39838 :
39839 :
39840 0 : SWIG_croak_null();
39841 : }
39842 : }
39843 :
39844 :
39845 0 : XS(_wrap_delete_colorObj) {
39846 : {
39847 : colorObj *arg1 = (colorObj *) 0 ;
39848 0 : void *argp1 = 0 ;
39849 : int res1 = 0 ;
39850 : int argvi = 0;
39851 0 : dXSARGS;
39852 :
39853 0 : if ((items < 1) || (items > 1)) {
39854 0 : SWIG_croak("Usage: delete_colorObj(self);");
39855 : }
39856 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, SWIG_POINTER_DISOWN | 0 );
39857 0 : if (!SWIG_IsOK(res1)) {
39858 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_colorObj" "', argument " "1"" of type '" "colorObj *""'");
39859 : }
39860 0 : arg1 = (colorObj *)(argp1);
39861 : delete_colorObj(arg1);
39862 0 : ST(argvi) = sv_newmortal();
39863 :
39864 0 : XSRETURN(argvi);
39865 : fail:
39866 :
39867 0 : SWIG_croak_null();
39868 : }
39869 : }
39870 :
39871 :
39872 0 : XS(_wrap_colorObj_setRGB) {
39873 : {
39874 : colorObj *arg1 = (colorObj *) 0 ;
39875 : int arg2 ;
39876 : int arg3 ;
39877 : int arg4 ;
39878 : int arg5 = (int) 255 ;
39879 0 : void *argp1 = 0 ;
39880 : int res1 = 0 ;
39881 : int val2 ;
39882 : int ecode2 = 0 ;
39883 : int val3 ;
39884 : int ecode3 = 0 ;
39885 : int val4 ;
39886 : int ecode4 = 0 ;
39887 : int val5 ;
39888 : int ecode5 = 0 ;
39889 : int argvi = 0;
39890 : int result;
39891 0 : dXSARGS;
39892 :
39893 0 : if ((items < 4) || (items > 5)) {
39894 0 : SWIG_croak("Usage: colorObj_setRGB(self,red,green,blue,alpha);");
39895 : }
39896 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39897 0 : if (!SWIG_IsOK(res1)) {
39898 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setRGB" "', argument " "1"" of type '" "colorObj *""'");
39899 : }
39900 0 : arg1 = (colorObj *)(argp1);
39901 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39902 0 : if (!SWIG_IsOK(ecode2)) {
39903 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_setRGB" "', argument " "2"" of type '" "int""'");
39904 : }
39905 0 : arg2 = (int)(val2);
39906 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39907 0 : if (!SWIG_IsOK(ecode3)) {
39908 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "colorObj_setRGB" "', argument " "3"" of type '" "int""'");
39909 : }
39910 0 : arg3 = (int)(val3);
39911 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
39912 0 : if (!SWIG_IsOK(ecode4)) {
39913 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "colorObj_setRGB" "', argument " "4"" of type '" "int""'");
39914 : }
39915 0 : arg4 = (int)(val4);
39916 0 : if (items > 4) {
39917 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
39918 0 : if (!SWIG_IsOK(ecode5)) {
39919 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "colorObj_setRGB" "', argument " "5"" of type '" "int""'");
39920 : }
39921 0 : arg5 = (int)(val5);
39922 : }
39923 0 : result = (int)colorObj_setRGB(arg1,arg2,arg3,arg4,arg5);
39924 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39925 :
39926 :
39927 :
39928 :
39929 :
39930 0 : XSRETURN(argvi);
39931 : fail:
39932 :
39933 :
39934 :
39935 :
39936 :
39937 0 : SWIG_croak_null();
39938 : }
39939 : }
39940 :
39941 :
39942 0 : XS(_wrap_colorObj_setHex) {
39943 : {
39944 : colorObj *arg1 = (colorObj *) 0 ;
39945 : char *arg2 = (char *) 0 ;
39946 0 : void *argp1 = 0 ;
39947 : int res1 = 0 ;
39948 : int res2 ;
39949 0 : char *buf2 = 0 ;
39950 0 : int alloc2 = 0 ;
39951 : int argvi = 0;
39952 : int result;
39953 0 : dXSARGS;
39954 :
39955 0 : if ((items < 2) || (items > 2)) {
39956 0 : SWIG_croak("Usage: colorObj_setHex(self,psHexColor);");
39957 : }
39958 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39959 0 : if (!SWIG_IsOK(res1)) {
39960 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setHex" "', argument " "1"" of type '" "colorObj *""'");
39961 : }
39962 0 : arg1 = (colorObj *)(argp1);
39963 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
39964 0 : if (!SWIG_IsOK(res2)) {
39965 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "colorObj_setHex" "', argument " "2"" of type '" "char *""'");
39966 : }
39967 0 : arg2 = (char *)(buf2);
39968 0 : result = (int)colorObj_setHex(arg1,arg2);
39969 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39970 :
39971 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39972 0 : XSRETURN(argvi);
39973 : fail:
39974 :
39975 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39976 0 : SWIG_croak_null();
39977 : }
39978 : }
39979 :
39980 :
39981 0 : XS(_wrap_colorObj_toHex) {
39982 : {
39983 : colorObj *arg1 = (colorObj *) 0 ;
39984 0 : void *argp1 = 0 ;
39985 : int res1 = 0 ;
39986 : int argvi = 0;
39987 : char *result = 0 ;
39988 0 : dXSARGS;
39989 :
39990 0 : if ((items < 1) || (items > 1)) {
39991 0 : SWIG_croak("Usage: colorObj_toHex(self);");
39992 : }
39993 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39994 0 : if (!SWIG_IsOK(res1)) {
39995 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_toHex" "', argument " "1"" of type '" "colorObj *""'");
39996 : }
39997 0 : arg1 = (colorObj *)(argp1);
39998 0 : result = (char *)colorObj_toHex(arg1);
39999 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40000 :
40001 0 : free((char*)result);
40002 0 : XSRETURN(argvi);
40003 : fail:
40004 :
40005 0 : SWIG_croak_null();
40006 : }
40007 : }
40008 :
40009 :
40010 0 : XS(_wrap_symbolObj_name_set) {
40011 : {
40012 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40013 : char *arg2 = (char *) 0 ;
40014 0 : void *argp1 = 0 ;
40015 : int res1 = 0 ;
40016 : int res2 ;
40017 0 : char *buf2 = 0 ;
40018 0 : int alloc2 = 0 ;
40019 : int argvi = 0;
40020 0 : dXSARGS;
40021 :
40022 0 : if ((items < 2) || (items > 2)) {
40023 0 : SWIG_croak("Usage: symbolObj_name_set(self,name);");
40024 : }
40025 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40026 0 : if (!SWIG_IsOK(res1)) {
40027 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40028 : }
40029 0 : arg1 = (struct symbolObj *)(argp1);
40030 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40031 0 : if (!SWIG_IsOK(res2)) {
40032 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_name_set" "', argument " "2"" of type '" "char *""'");
40033 : }
40034 0 : arg2 = (char *)(buf2);
40035 : {
40036 0 : if (arg1->name) free((char*)arg1->name);
40037 0 : if (arg2) {
40038 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
40039 : strcpy((char*)arg1->name,arg2);
40040 : } else {
40041 0 : arg1->name = 0;
40042 : }
40043 : }
40044 0 : ST(argvi) = sv_newmortal();
40045 :
40046 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40047 0 : XSRETURN(argvi);
40048 : fail:
40049 :
40050 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40051 0 : SWIG_croak_null();
40052 : }
40053 : }
40054 :
40055 :
40056 0 : XS(_wrap_symbolObj_name_get) {
40057 : {
40058 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40059 0 : void *argp1 = 0 ;
40060 : int res1 = 0 ;
40061 : int argvi = 0;
40062 : char *result = 0 ;
40063 0 : dXSARGS;
40064 :
40065 0 : if ((items < 1) || (items > 1)) {
40066 0 : SWIG_croak("Usage: symbolObj_name_get(self);");
40067 : }
40068 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40069 0 : if (!SWIG_IsOK(res1)) {
40070 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40071 : }
40072 0 : arg1 = (struct symbolObj *)(argp1);
40073 0 : result = (char *) ((arg1)->name);
40074 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40075 :
40076 0 : XSRETURN(argvi);
40077 : fail:
40078 :
40079 0 : SWIG_croak_null();
40080 : }
40081 : }
40082 :
40083 :
40084 0 : XS(_wrap_symbolObj_type_set) {
40085 : {
40086 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40087 : int arg2 ;
40088 0 : void *argp1 = 0 ;
40089 : int res1 = 0 ;
40090 : int val2 ;
40091 : int ecode2 = 0 ;
40092 : int argvi = 0;
40093 0 : dXSARGS;
40094 :
40095 0 : if ((items < 2) || (items > 2)) {
40096 0 : SWIG_croak("Usage: symbolObj_type_set(self,type);");
40097 : }
40098 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40099 0 : if (!SWIG_IsOK(res1)) {
40100 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40101 : }
40102 0 : arg1 = (struct symbolObj *)(argp1);
40103 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40104 0 : if (!SWIG_IsOK(ecode2)) {
40105 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_type_set" "', argument " "2"" of type '" "int""'");
40106 : }
40107 0 : arg2 = (int)(val2);
40108 0 : if (arg1) (arg1)->type = arg2;
40109 0 : ST(argvi) = sv_newmortal();
40110 :
40111 :
40112 0 : XSRETURN(argvi);
40113 : fail:
40114 :
40115 :
40116 0 : SWIG_croak_null();
40117 : }
40118 : }
40119 :
40120 :
40121 0 : XS(_wrap_symbolObj_type_get) {
40122 : {
40123 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40124 0 : void *argp1 = 0 ;
40125 : int res1 = 0 ;
40126 : int argvi = 0;
40127 : int result;
40128 0 : dXSARGS;
40129 :
40130 0 : if ((items < 1) || (items > 1)) {
40131 0 : SWIG_croak("Usage: symbolObj_type_get(self);");
40132 : }
40133 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40134 0 : if (!SWIG_IsOK(res1)) {
40135 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40136 : }
40137 0 : arg1 = (struct symbolObj *)(argp1);
40138 0 : result = (int) ((arg1)->type);
40139 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40140 :
40141 0 : XSRETURN(argvi);
40142 : fail:
40143 :
40144 0 : SWIG_croak_null();
40145 : }
40146 : }
40147 :
40148 :
40149 0 : XS(_wrap_symbolObj_inmapfile_set) {
40150 : {
40151 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40152 : int arg2 ;
40153 0 : void *argp1 = 0 ;
40154 : int res1 = 0 ;
40155 : int val2 ;
40156 : int ecode2 = 0 ;
40157 : int argvi = 0;
40158 0 : dXSARGS;
40159 :
40160 0 : if ((items < 2) || (items > 2)) {
40161 0 : SWIG_croak("Usage: symbolObj_inmapfile_set(self,inmapfile);");
40162 : }
40163 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40164 0 : if (!SWIG_IsOK(res1)) {
40165 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40166 : }
40167 0 : arg1 = (struct symbolObj *)(argp1);
40168 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40169 0 : if (!SWIG_IsOK(ecode2)) {
40170 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
40171 : }
40172 0 : arg2 = (int)(val2);
40173 0 : if (arg1) (arg1)->inmapfile = arg2;
40174 0 : ST(argvi) = sv_newmortal();
40175 :
40176 :
40177 0 : XSRETURN(argvi);
40178 : fail:
40179 :
40180 :
40181 0 : SWIG_croak_null();
40182 : }
40183 : }
40184 :
40185 :
40186 0 : XS(_wrap_symbolObj_inmapfile_get) {
40187 : {
40188 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40189 0 : void *argp1 = 0 ;
40190 : int res1 = 0 ;
40191 : int argvi = 0;
40192 : int result;
40193 0 : dXSARGS;
40194 :
40195 0 : if ((items < 1) || (items > 1)) {
40196 0 : SWIG_croak("Usage: symbolObj_inmapfile_get(self);");
40197 : }
40198 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40199 0 : if (!SWIG_IsOK(res1)) {
40200 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40201 : }
40202 0 : arg1 = (struct symbolObj *)(argp1);
40203 0 : result = (int) ((arg1)->inmapfile);
40204 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40205 :
40206 0 : XSRETURN(argvi);
40207 : fail:
40208 :
40209 0 : SWIG_croak_null();
40210 : }
40211 : }
40212 :
40213 :
40214 0 : XS(_wrap_symbolObj_sizex_set) {
40215 : {
40216 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40217 : double arg2 ;
40218 0 : void *argp1 = 0 ;
40219 : int res1 = 0 ;
40220 : double val2 ;
40221 : int ecode2 = 0 ;
40222 : int argvi = 0;
40223 0 : dXSARGS;
40224 :
40225 0 : if ((items < 2) || (items > 2)) {
40226 0 : SWIG_croak("Usage: symbolObj_sizex_set(self,sizex);");
40227 : }
40228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40229 0 : if (!SWIG_IsOK(res1)) {
40230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40231 : }
40232 0 : arg1 = (struct symbolObj *)(argp1);
40233 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40234 0 : if (!SWIG_IsOK(ecode2)) {
40235 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizex_set" "', argument " "2"" of type '" "double""'");
40236 : }
40237 0 : arg2 = (double)(val2);
40238 0 : if (arg1) (arg1)->sizex = arg2;
40239 0 : ST(argvi) = sv_newmortal();
40240 :
40241 :
40242 0 : XSRETURN(argvi);
40243 : fail:
40244 :
40245 :
40246 0 : SWIG_croak_null();
40247 : }
40248 : }
40249 :
40250 :
40251 0 : XS(_wrap_symbolObj_sizex_get) {
40252 : {
40253 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40254 0 : void *argp1 = 0 ;
40255 : int res1 = 0 ;
40256 : int argvi = 0;
40257 : double result;
40258 0 : dXSARGS;
40259 :
40260 0 : if ((items < 1) || (items > 1)) {
40261 0 : SWIG_croak("Usage: symbolObj_sizex_get(self);");
40262 : }
40263 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40264 0 : if (!SWIG_IsOK(res1)) {
40265 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40266 : }
40267 0 : arg1 = (struct symbolObj *)(argp1);
40268 0 : result = (double) ((arg1)->sizex);
40269 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40270 :
40271 0 : XSRETURN(argvi);
40272 : fail:
40273 :
40274 0 : SWIG_croak_null();
40275 : }
40276 : }
40277 :
40278 :
40279 0 : XS(_wrap_symbolObj_sizey_set) {
40280 : {
40281 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40282 : double arg2 ;
40283 0 : void *argp1 = 0 ;
40284 : int res1 = 0 ;
40285 : double val2 ;
40286 : int ecode2 = 0 ;
40287 : int argvi = 0;
40288 0 : dXSARGS;
40289 :
40290 0 : if ((items < 2) || (items > 2)) {
40291 0 : SWIG_croak("Usage: symbolObj_sizey_set(self,sizey);");
40292 : }
40293 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40294 0 : if (!SWIG_IsOK(res1)) {
40295 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40296 : }
40297 0 : arg1 = (struct symbolObj *)(argp1);
40298 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40299 0 : if (!SWIG_IsOK(ecode2)) {
40300 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizey_set" "', argument " "2"" of type '" "double""'");
40301 : }
40302 0 : arg2 = (double)(val2);
40303 0 : if (arg1) (arg1)->sizey = arg2;
40304 0 : ST(argvi) = sv_newmortal();
40305 :
40306 :
40307 0 : XSRETURN(argvi);
40308 : fail:
40309 :
40310 :
40311 0 : SWIG_croak_null();
40312 : }
40313 : }
40314 :
40315 :
40316 0 : XS(_wrap_symbolObj_sizey_get) {
40317 : {
40318 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40319 0 : void *argp1 = 0 ;
40320 : int res1 = 0 ;
40321 : int argvi = 0;
40322 : double result;
40323 0 : dXSARGS;
40324 :
40325 0 : if ((items < 1) || (items > 1)) {
40326 0 : SWIG_croak("Usage: symbolObj_sizey_get(self);");
40327 : }
40328 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40329 0 : if (!SWIG_IsOK(res1)) {
40330 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40331 : }
40332 0 : arg1 = (struct symbolObj *)(argp1);
40333 0 : result = (double) ((arg1)->sizey);
40334 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40335 :
40336 0 : XSRETURN(argvi);
40337 : fail:
40338 :
40339 0 : SWIG_croak_null();
40340 : }
40341 : }
40342 :
40343 :
40344 0 : XS(_wrap_symbolObj_minx_set) {
40345 : {
40346 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40347 : double arg2 ;
40348 0 : void *argp1 = 0 ;
40349 : int res1 = 0 ;
40350 : double val2 ;
40351 : int ecode2 = 0 ;
40352 : int argvi = 0;
40353 0 : dXSARGS;
40354 :
40355 0 : if ((items < 2) || (items > 2)) {
40356 0 : SWIG_croak("Usage: symbolObj_minx_set(self,minx);");
40357 : }
40358 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40359 0 : if (!SWIG_IsOK(res1)) {
40360 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40361 : }
40362 0 : arg1 = (struct symbolObj *)(argp1);
40363 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40364 0 : if (!SWIG_IsOK(ecode2)) {
40365 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_minx_set" "', argument " "2"" of type '" "double""'");
40366 : }
40367 0 : arg2 = (double)(val2);
40368 0 : if (arg1) (arg1)->minx = arg2;
40369 0 : ST(argvi) = sv_newmortal();
40370 :
40371 :
40372 0 : XSRETURN(argvi);
40373 : fail:
40374 :
40375 :
40376 0 : SWIG_croak_null();
40377 : }
40378 : }
40379 :
40380 :
40381 0 : XS(_wrap_symbolObj_minx_get) {
40382 : {
40383 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40384 0 : void *argp1 = 0 ;
40385 : int res1 = 0 ;
40386 : int argvi = 0;
40387 : double result;
40388 0 : dXSARGS;
40389 :
40390 0 : if ((items < 1) || (items > 1)) {
40391 0 : SWIG_croak("Usage: symbolObj_minx_get(self);");
40392 : }
40393 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40394 0 : if (!SWIG_IsOK(res1)) {
40395 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40396 : }
40397 0 : arg1 = (struct symbolObj *)(argp1);
40398 0 : result = (double) ((arg1)->minx);
40399 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40400 :
40401 0 : XSRETURN(argvi);
40402 : fail:
40403 :
40404 0 : SWIG_croak_null();
40405 : }
40406 : }
40407 :
40408 :
40409 0 : XS(_wrap_symbolObj_miny_set) {
40410 : {
40411 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40412 : double arg2 ;
40413 0 : void *argp1 = 0 ;
40414 : int res1 = 0 ;
40415 : double val2 ;
40416 : int ecode2 = 0 ;
40417 : int argvi = 0;
40418 0 : dXSARGS;
40419 :
40420 0 : if ((items < 2) || (items > 2)) {
40421 0 : SWIG_croak("Usage: symbolObj_miny_set(self,miny);");
40422 : }
40423 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40424 0 : if (!SWIG_IsOK(res1)) {
40425 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40426 : }
40427 0 : arg1 = (struct symbolObj *)(argp1);
40428 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40429 0 : if (!SWIG_IsOK(ecode2)) {
40430 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_miny_set" "', argument " "2"" of type '" "double""'");
40431 : }
40432 0 : arg2 = (double)(val2);
40433 0 : if (arg1) (arg1)->miny = arg2;
40434 0 : ST(argvi) = sv_newmortal();
40435 :
40436 :
40437 0 : XSRETURN(argvi);
40438 : fail:
40439 :
40440 :
40441 0 : SWIG_croak_null();
40442 : }
40443 : }
40444 :
40445 :
40446 0 : XS(_wrap_symbolObj_miny_get) {
40447 : {
40448 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40449 0 : void *argp1 = 0 ;
40450 : int res1 = 0 ;
40451 : int argvi = 0;
40452 : double result;
40453 0 : dXSARGS;
40454 :
40455 0 : if ((items < 1) || (items > 1)) {
40456 0 : SWIG_croak("Usage: symbolObj_miny_get(self);");
40457 : }
40458 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40459 0 : if (!SWIG_IsOK(res1)) {
40460 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40461 : }
40462 0 : arg1 = (struct symbolObj *)(argp1);
40463 0 : result = (double) ((arg1)->miny);
40464 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40465 :
40466 0 : XSRETURN(argvi);
40467 : fail:
40468 :
40469 0 : SWIG_croak_null();
40470 : }
40471 : }
40472 :
40473 :
40474 0 : XS(_wrap_symbolObj_maxx_set) {
40475 : {
40476 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40477 : double arg2 ;
40478 0 : void *argp1 = 0 ;
40479 : int res1 = 0 ;
40480 : double val2 ;
40481 : int ecode2 = 0 ;
40482 : int argvi = 0;
40483 0 : dXSARGS;
40484 :
40485 0 : if ((items < 2) || (items > 2)) {
40486 0 : SWIG_croak("Usage: symbolObj_maxx_set(self,maxx);");
40487 : }
40488 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40489 0 : if (!SWIG_IsOK(res1)) {
40490 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40491 : }
40492 0 : arg1 = (struct symbolObj *)(argp1);
40493 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40494 0 : if (!SWIG_IsOK(ecode2)) {
40495 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxx_set" "', argument " "2"" of type '" "double""'");
40496 : }
40497 0 : arg2 = (double)(val2);
40498 0 : if (arg1) (arg1)->maxx = arg2;
40499 0 : ST(argvi) = sv_newmortal();
40500 :
40501 :
40502 0 : XSRETURN(argvi);
40503 : fail:
40504 :
40505 :
40506 0 : SWIG_croak_null();
40507 : }
40508 : }
40509 :
40510 :
40511 0 : XS(_wrap_symbolObj_maxx_get) {
40512 : {
40513 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40514 0 : void *argp1 = 0 ;
40515 : int res1 = 0 ;
40516 : int argvi = 0;
40517 : double result;
40518 0 : dXSARGS;
40519 :
40520 0 : if ((items < 1) || (items > 1)) {
40521 0 : SWIG_croak("Usage: symbolObj_maxx_get(self);");
40522 : }
40523 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40524 0 : if (!SWIG_IsOK(res1)) {
40525 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40526 : }
40527 0 : arg1 = (struct symbolObj *)(argp1);
40528 0 : result = (double) ((arg1)->maxx);
40529 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40530 :
40531 0 : XSRETURN(argvi);
40532 : fail:
40533 :
40534 0 : SWIG_croak_null();
40535 : }
40536 : }
40537 :
40538 :
40539 0 : XS(_wrap_symbolObj_maxy_set) {
40540 : {
40541 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40542 : double arg2 ;
40543 0 : void *argp1 = 0 ;
40544 : int res1 = 0 ;
40545 : double val2 ;
40546 : int ecode2 = 0 ;
40547 : int argvi = 0;
40548 0 : dXSARGS;
40549 :
40550 0 : if ((items < 2) || (items > 2)) {
40551 0 : SWIG_croak("Usage: symbolObj_maxy_set(self,maxy);");
40552 : }
40553 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40554 0 : if (!SWIG_IsOK(res1)) {
40555 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40556 : }
40557 0 : arg1 = (struct symbolObj *)(argp1);
40558 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40559 0 : if (!SWIG_IsOK(ecode2)) {
40560 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxy_set" "', argument " "2"" of type '" "double""'");
40561 : }
40562 0 : arg2 = (double)(val2);
40563 0 : if (arg1) (arg1)->maxy = arg2;
40564 0 : ST(argvi) = sv_newmortal();
40565 :
40566 :
40567 0 : XSRETURN(argvi);
40568 : fail:
40569 :
40570 :
40571 0 : SWIG_croak_null();
40572 : }
40573 : }
40574 :
40575 :
40576 0 : XS(_wrap_symbolObj_maxy_get) {
40577 : {
40578 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40579 0 : void *argp1 = 0 ;
40580 : int res1 = 0 ;
40581 : int argvi = 0;
40582 : double result;
40583 0 : dXSARGS;
40584 :
40585 0 : if ((items < 1) || (items > 1)) {
40586 0 : SWIG_croak("Usage: symbolObj_maxy_get(self);");
40587 : }
40588 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40589 0 : if (!SWIG_IsOK(res1)) {
40590 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40591 : }
40592 0 : arg1 = (struct symbolObj *)(argp1);
40593 0 : result = (double) ((arg1)->maxy);
40594 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40595 :
40596 0 : XSRETURN(argvi);
40597 : fail:
40598 :
40599 0 : SWIG_croak_null();
40600 : }
40601 : }
40602 :
40603 :
40604 0 : XS(_wrap_symbolObj_refcount_get) {
40605 : {
40606 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40607 0 : void *argp1 = 0 ;
40608 : int res1 = 0 ;
40609 : int argvi = 0;
40610 : int result;
40611 0 : dXSARGS;
40612 :
40613 0 : if ((items < 1) || (items > 1)) {
40614 0 : SWIG_croak("Usage: symbolObj_refcount_get(self);");
40615 : }
40616 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40617 0 : if (!SWIG_IsOK(res1)) {
40618 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_refcount_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40619 : }
40620 0 : arg1 = (struct symbolObj *)(argp1);
40621 0 : result = (int) ((arg1)->refcount);
40622 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40623 :
40624 0 : XSRETURN(argvi);
40625 : fail:
40626 :
40627 0 : SWIG_croak_null();
40628 : }
40629 : }
40630 :
40631 :
40632 0 : XS(_wrap_symbolObj_numpoints_get) {
40633 : {
40634 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40635 0 : void *argp1 = 0 ;
40636 : int res1 = 0 ;
40637 : int argvi = 0;
40638 : int result;
40639 0 : dXSARGS;
40640 :
40641 0 : if ((items < 1) || (items > 1)) {
40642 0 : SWIG_croak("Usage: symbolObj_numpoints_get(self);");
40643 : }
40644 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40645 0 : if (!SWIG_IsOK(res1)) {
40646 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_numpoints_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40647 : }
40648 0 : arg1 = (struct symbolObj *)(argp1);
40649 0 : result = (int) ((arg1)->numpoints);
40650 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40651 :
40652 0 : XSRETURN(argvi);
40653 : fail:
40654 :
40655 0 : SWIG_croak_null();
40656 : }
40657 : }
40658 :
40659 :
40660 0 : XS(_wrap_symbolObj_filled_set) {
40661 : {
40662 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40663 : int arg2 ;
40664 0 : void *argp1 = 0 ;
40665 : int res1 = 0 ;
40666 : int val2 ;
40667 : int ecode2 = 0 ;
40668 : int argvi = 0;
40669 0 : dXSARGS;
40670 :
40671 0 : if ((items < 2) || (items > 2)) {
40672 0 : SWIG_croak("Usage: symbolObj_filled_set(self,filled);");
40673 : }
40674 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40675 0 : if (!SWIG_IsOK(res1)) {
40676 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40677 : }
40678 0 : arg1 = (struct symbolObj *)(argp1);
40679 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40680 0 : if (!SWIG_IsOK(ecode2)) {
40681 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_filled_set" "', argument " "2"" of type '" "int""'");
40682 : }
40683 0 : arg2 = (int)(val2);
40684 0 : if (arg1) (arg1)->filled = arg2;
40685 0 : ST(argvi) = sv_newmortal();
40686 :
40687 :
40688 0 : XSRETURN(argvi);
40689 : fail:
40690 :
40691 :
40692 0 : SWIG_croak_null();
40693 : }
40694 : }
40695 :
40696 :
40697 0 : XS(_wrap_symbolObj_filled_get) {
40698 : {
40699 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40700 0 : void *argp1 = 0 ;
40701 : int res1 = 0 ;
40702 : int argvi = 0;
40703 : int result;
40704 0 : dXSARGS;
40705 :
40706 0 : if ((items < 1) || (items > 1)) {
40707 0 : SWIG_croak("Usage: symbolObj_filled_get(self);");
40708 : }
40709 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40710 0 : if (!SWIG_IsOK(res1)) {
40711 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40712 : }
40713 0 : arg1 = (struct symbolObj *)(argp1);
40714 0 : result = (int) ((arg1)->filled);
40715 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40716 :
40717 0 : XSRETURN(argvi);
40718 : fail:
40719 :
40720 0 : SWIG_croak_null();
40721 : }
40722 : }
40723 :
40724 :
40725 0 : XS(_wrap_symbolObj_anchorpoint_x_set) {
40726 : {
40727 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40728 : double arg2 ;
40729 0 : void *argp1 = 0 ;
40730 : int res1 = 0 ;
40731 : double val2 ;
40732 : int ecode2 = 0 ;
40733 : int argvi = 0;
40734 0 : dXSARGS;
40735 :
40736 0 : if ((items < 2) || (items > 2)) {
40737 0 : SWIG_croak("Usage: symbolObj_anchorpoint_x_set(self,anchorpoint_x);");
40738 : }
40739 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40740 0 : if (!SWIG_IsOK(res1)) {
40741 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40742 : }
40743 0 : arg1 = (struct symbolObj *)(argp1);
40744 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40745 0 : if (!SWIG_IsOK(ecode2)) {
40746 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "2"" of type '" "double""'");
40747 : }
40748 0 : arg2 = (double)(val2);
40749 0 : if (arg1) (arg1)->anchorpoint_x = arg2;
40750 0 : ST(argvi) = sv_newmortal();
40751 :
40752 :
40753 0 : XSRETURN(argvi);
40754 : fail:
40755 :
40756 :
40757 0 : SWIG_croak_null();
40758 : }
40759 : }
40760 :
40761 :
40762 0 : XS(_wrap_symbolObj_anchorpoint_x_get) {
40763 : {
40764 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40765 0 : void *argp1 = 0 ;
40766 : int res1 = 0 ;
40767 : int argvi = 0;
40768 : double result;
40769 0 : dXSARGS;
40770 :
40771 0 : if ((items < 1) || (items > 1)) {
40772 0 : SWIG_croak("Usage: symbolObj_anchorpoint_x_get(self);");
40773 : }
40774 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40775 0 : if (!SWIG_IsOK(res1)) {
40776 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40777 : }
40778 0 : arg1 = (struct symbolObj *)(argp1);
40779 0 : result = (double) ((arg1)->anchorpoint_x);
40780 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40781 :
40782 0 : XSRETURN(argvi);
40783 : fail:
40784 :
40785 0 : SWIG_croak_null();
40786 : }
40787 : }
40788 :
40789 :
40790 0 : XS(_wrap_symbolObj_anchorpoint_y_set) {
40791 : {
40792 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40793 : double arg2 ;
40794 0 : void *argp1 = 0 ;
40795 : int res1 = 0 ;
40796 : double val2 ;
40797 : int ecode2 = 0 ;
40798 : int argvi = 0;
40799 0 : dXSARGS;
40800 :
40801 0 : if ((items < 2) || (items > 2)) {
40802 0 : SWIG_croak("Usage: symbolObj_anchorpoint_y_set(self,anchorpoint_y);");
40803 : }
40804 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40805 0 : if (!SWIG_IsOK(res1)) {
40806 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40807 : }
40808 0 : arg1 = (struct symbolObj *)(argp1);
40809 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40810 0 : if (!SWIG_IsOK(ecode2)) {
40811 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "2"" of type '" "double""'");
40812 : }
40813 0 : arg2 = (double)(val2);
40814 0 : if (arg1) (arg1)->anchorpoint_y = arg2;
40815 0 : ST(argvi) = sv_newmortal();
40816 :
40817 :
40818 0 : XSRETURN(argvi);
40819 : fail:
40820 :
40821 :
40822 0 : SWIG_croak_null();
40823 : }
40824 : }
40825 :
40826 :
40827 0 : XS(_wrap_symbolObj_anchorpoint_y_get) {
40828 : {
40829 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40830 0 : void *argp1 = 0 ;
40831 : int res1 = 0 ;
40832 : int argvi = 0;
40833 : double result;
40834 0 : dXSARGS;
40835 :
40836 0 : if ((items < 1) || (items > 1)) {
40837 0 : SWIG_croak("Usage: symbolObj_anchorpoint_y_get(self);");
40838 : }
40839 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40840 0 : if (!SWIG_IsOK(res1)) {
40841 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40842 : }
40843 0 : arg1 = (struct symbolObj *)(argp1);
40844 0 : result = (double) ((arg1)->anchorpoint_y);
40845 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40846 :
40847 0 : XSRETURN(argvi);
40848 : fail:
40849 :
40850 0 : SWIG_croak_null();
40851 : }
40852 : }
40853 :
40854 :
40855 0 : XS(_wrap_symbolObj_imagepath_get) {
40856 : {
40857 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40858 0 : void *argp1 = 0 ;
40859 : int res1 = 0 ;
40860 : int argvi = 0;
40861 : char *result = 0 ;
40862 0 : dXSARGS;
40863 :
40864 0 : if ((items < 1) || (items > 1)) {
40865 0 : SWIG_croak("Usage: symbolObj_imagepath_get(self);");
40866 : }
40867 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40868 0 : if (!SWIG_IsOK(res1)) {
40869 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_imagepath_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40870 : }
40871 0 : arg1 = (struct symbolObj *)(argp1);
40872 0 : result = (char *) ((arg1)->imagepath);
40873 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40874 :
40875 0 : XSRETURN(argvi);
40876 : fail:
40877 :
40878 0 : SWIG_croak_null();
40879 : }
40880 : }
40881 :
40882 :
40883 0 : XS(_wrap_symbolObj_transparent_set) {
40884 : {
40885 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40886 : int arg2 ;
40887 0 : void *argp1 = 0 ;
40888 : int res1 = 0 ;
40889 : int val2 ;
40890 : int ecode2 = 0 ;
40891 : int argvi = 0;
40892 0 : dXSARGS;
40893 :
40894 0 : if ((items < 2) || (items > 2)) {
40895 0 : SWIG_croak("Usage: symbolObj_transparent_set(self,transparent);");
40896 : }
40897 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40898 0 : if (!SWIG_IsOK(res1)) {
40899 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40900 : }
40901 0 : arg1 = (struct symbolObj *)(argp1);
40902 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40903 0 : if (!SWIG_IsOK(ecode2)) {
40904 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparent_set" "', argument " "2"" of type '" "int""'");
40905 : }
40906 0 : arg2 = (int)(val2);
40907 0 : if (arg1) (arg1)->transparent = arg2;
40908 0 : ST(argvi) = sv_newmortal();
40909 :
40910 :
40911 0 : XSRETURN(argvi);
40912 : fail:
40913 :
40914 :
40915 0 : SWIG_croak_null();
40916 : }
40917 : }
40918 :
40919 :
40920 0 : XS(_wrap_symbolObj_transparent_get) {
40921 : {
40922 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40923 0 : void *argp1 = 0 ;
40924 : int res1 = 0 ;
40925 : int argvi = 0;
40926 : int result;
40927 0 : dXSARGS;
40928 :
40929 0 : if ((items < 1) || (items > 1)) {
40930 0 : SWIG_croak("Usage: symbolObj_transparent_get(self);");
40931 : }
40932 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40933 0 : if (!SWIG_IsOK(res1)) {
40934 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40935 : }
40936 0 : arg1 = (struct symbolObj *)(argp1);
40937 0 : result = (int) ((arg1)->transparent);
40938 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40939 :
40940 0 : XSRETURN(argvi);
40941 : fail:
40942 :
40943 0 : SWIG_croak_null();
40944 : }
40945 : }
40946 :
40947 :
40948 0 : XS(_wrap_symbolObj_transparentcolor_set) {
40949 : {
40950 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40951 : int arg2 ;
40952 0 : void *argp1 = 0 ;
40953 : int res1 = 0 ;
40954 : int val2 ;
40955 : int ecode2 = 0 ;
40956 : int argvi = 0;
40957 0 : dXSARGS;
40958 :
40959 0 : if ((items < 2) || (items > 2)) {
40960 0 : SWIG_croak("Usage: symbolObj_transparentcolor_set(self,transparentcolor);");
40961 : }
40962 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40963 0 : if (!SWIG_IsOK(res1)) {
40964 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40965 : }
40966 0 : arg1 = (struct symbolObj *)(argp1);
40967 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40968 0 : if (!SWIG_IsOK(ecode2)) {
40969 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparentcolor_set" "', argument " "2"" of type '" "int""'");
40970 : }
40971 0 : arg2 = (int)(val2);
40972 0 : if (arg1) (arg1)->transparentcolor = arg2;
40973 0 : ST(argvi) = sv_newmortal();
40974 :
40975 :
40976 0 : XSRETURN(argvi);
40977 : fail:
40978 :
40979 :
40980 0 : SWIG_croak_null();
40981 : }
40982 : }
40983 :
40984 :
40985 0 : XS(_wrap_symbolObj_transparentcolor_get) {
40986 : {
40987 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40988 0 : void *argp1 = 0 ;
40989 : int res1 = 0 ;
40990 : int argvi = 0;
40991 : int result;
40992 0 : dXSARGS;
40993 :
40994 0 : if ((items < 1) || (items > 1)) {
40995 0 : SWIG_croak("Usage: symbolObj_transparentcolor_get(self);");
40996 : }
40997 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40998 0 : if (!SWIG_IsOK(res1)) {
40999 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41000 : }
41001 0 : arg1 = (struct symbolObj *)(argp1);
41002 0 : result = (int) ((arg1)->transparentcolor);
41003 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41004 :
41005 0 : XSRETURN(argvi);
41006 : fail:
41007 :
41008 0 : SWIG_croak_null();
41009 : }
41010 : }
41011 :
41012 :
41013 0 : XS(_wrap_symbolObj_character_set) {
41014 : {
41015 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41016 : char *arg2 = (char *) 0 ;
41017 0 : void *argp1 = 0 ;
41018 : int res1 = 0 ;
41019 : int res2 ;
41020 0 : char *buf2 = 0 ;
41021 0 : int alloc2 = 0 ;
41022 : int argvi = 0;
41023 0 : dXSARGS;
41024 :
41025 0 : if ((items < 2) || (items > 2)) {
41026 0 : SWIG_croak("Usage: symbolObj_character_set(self,character);");
41027 : }
41028 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41029 0 : if (!SWIG_IsOK(res1)) {
41030 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_set" "', argument " "1"" of type '" "struct symbolObj *""'");
41031 : }
41032 0 : arg1 = (struct symbolObj *)(argp1);
41033 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41034 0 : if (!SWIG_IsOK(res2)) {
41035 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_character_set" "', argument " "2"" of type '" "char *""'");
41036 : }
41037 0 : arg2 = (char *)(buf2);
41038 : {
41039 0 : if (arg1->character) free((char*)arg1->character);
41040 0 : if (arg2) {
41041 0 : arg1->character = (char *) malloc(strlen(arg2)+1);
41042 : strcpy((char*)arg1->character,arg2);
41043 : } else {
41044 0 : arg1->character = 0;
41045 : }
41046 : }
41047 0 : ST(argvi) = sv_newmortal();
41048 :
41049 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41050 0 : XSRETURN(argvi);
41051 : fail:
41052 :
41053 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41054 0 : SWIG_croak_null();
41055 : }
41056 : }
41057 :
41058 :
41059 0 : XS(_wrap_symbolObj_character_get) {
41060 : {
41061 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41062 0 : void *argp1 = 0 ;
41063 : int res1 = 0 ;
41064 : int argvi = 0;
41065 : char *result = 0 ;
41066 0 : dXSARGS;
41067 :
41068 0 : if ((items < 1) || (items > 1)) {
41069 0 : SWIG_croak("Usage: symbolObj_character_get(self);");
41070 : }
41071 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41072 0 : if (!SWIG_IsOK(res1)) {
41073 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41074 : }
41075 0 : arg1 = (struct symbolObj *)(argp1);
41076 0 : result = (char *) ((arg1)->character);
41077 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41078 :
41079 0 : XSRETURN(argvi);
41080 : fail:
41081 :
41082 0 : SWIG_croak_null();
41083 : }
41084 : }
41085 :
41086 :
41087 0 : XS(_wrap_symbolObj_font_set) {
41088 : {
41089 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41090 : char *arg2 = (char *) 0 ;
41091 0 : void *argp1 = 0 ;
41092 : int res1 = 0 ;
41093 : int res2 ;
41094 0 : char *buf2 = 0 ;
41095 0 : int alloc2 = 0 ;
41096 : int argvi = 0;
41097 0 : dXSARGS;
41098 :
41099 0 : if ((items < 2) || (items > 2)) {
41100 0 : SWIG_croak("Usage: symbolObj_font_set(self,font);");
41101 : }
41102 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41103 0 : if (!SWIG_IsOK(res1)) {
41104 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_set" "', argument " "1"" of type '" "struct symbolObj *""'");
41105 : }
41106 0 : arg1 = (struct symbolObj *)(argp1);
41107 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41108 0 : if (!SWIG_IsOK(res2)) {
41109 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_font_set" "', argument " "2"" of type '" "char *""'");
41110 : }
41111 0 : arg2 = (char *)(buf2);
41112 : {
41113 0 : if (arg1->font) free((char*)arg1->font);
41114 0 : if (arg2) {
41115 0 : arg1->font = (char *) malloc(strlen(arg2)+1);
41116 : strcpy((char*)arg1->font,arg2);
41117 : } else {
41118 0 : arg1->font = 0;
41119 : }
41120 : }
41121 0 : ST(argvi) = sv_newmortal();
41122 :
41123 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41124 0 : XSRETURN(argvi);
41125 : fail:
41126 :
41127 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41128 0 : SWIG_croak_null();
41129 : }
41130 : }
41131 :
41132 :
41133 0 : XS(_wrap_symbolObj_font_get) {
41134 : {
41135 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41136 0 : void *argp1 = 0 ;
41137 : int res1 = 0 ;
41138 : int argvi = 0;
41139 : char *result = 0 ;
41140 0 : dXSARGS;
41141 :
41142 0 : if ((items < 1) || (items > 1)) {
41143 0 : SWIG_croak("Usage: symbolObj_font_get(self);");
41144 : }
41145 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41146 0 : if (!SWIG_IsOK(res1)) {
41147 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_get" "', argument " "1"" of type '" "struct symbolObj *""'");
41148 : }
41149 0 : arg1 = (struct symbolObj *)(argp1);
41150 0 : result = (char *) ((arg1)->font);
41151 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41152 :
41153 0 : XSRETURN(argvi);
41154 : fail:
41155 :
41156 0 : SWIG_croak_null();
41157 : }
41158 : }
41159 :
41160 :
41161 0 : XS(_wrap_new_symbolObj) {
41162 : {
41163 : char *arg1 = (char *) 0 ;
41164 : char *arg2 = (char *) NULL ;
41165 : int res1 ;
41166 0 : char *buf1 = 0 ;
41167 0 : int alloc1 = 0 ;
41168 : int res2 ;
41169 0 : char *buf2 = 0 ;
41170 0 : int alloc2 = 0 ;
41171 : int argvi = 0;
41172 : struct symbolObj *result = 0 ;
41173 0 : dXSARGS;
41174 :
41175 0 : if ((items < 1) || (items > 2)) {
41176 0 : SWIG_croak("Usage: new_symbolObj(symbolname,imagefile);");
41177 : }
41178 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
41179 0 : if (!SWIG_IsOK(res1)) {
41180 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolObj" "', argument " "1"" of type '" "char *""'");
41181 : }
41182 0 : arg1 = (char *)(buf1);
41183 0 : if (items > 1) {
41184 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41185 0 : if (!SWIG_IsOK(res2)) {
41186 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_symbolObj" "', argument " "2"" of type '" "char const *""'");
41187 : }
41188 0 : arg2 = (char *)(buf2);
41189 : }
41190 0 : result = (struct symbolObj *)new_symbolObj(arg1,(char const *)arg2);
41191 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41192 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41193 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41194 0 : XSRETURN(argvi);
41195 : fail:
41196 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41197 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41198 0 : SWIG_croak_null();
41199 : }
41200 : }
41201 :
41202 :
41203 0 : XS(_wrap_delete_symbolObj) {
41204 : {
41205 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41206 0 : void *argp1 = 0 ;
41207 : int res1 = 0 ;
41208 : int argvi = 0;
41209 0 : dXSARGS;
41210 :
41211 0 : if ((items < 1) || (items > 1)) {
41212 0 : SWIG_croak("Usage: delete_symbolObj(self);");
41213 : }
41214 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, SWIG_POINTER_DISOWN | 0 );
41215 0 : if (!SWIG_IsOK(res1)) {
41216 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolObj" "', argument " "1"" of type '" "struct symbolObj *""'");
41217 : }
41218 0 : arg1 = (struct symbolObj *)(argp1);
41219 0 : delete_symbolObj(arg1);
41220 0 : ST(argvi) = sv_newmortal();
41221 :
41222 0 : XSRETURN(argvi);
41223 : fail:
41224 :
41225 0 : SWIG_croak_null();
41226 : }
41227 : }
41228 :
41229 :
41230 0 : XS(_wrap_symbolObj_setImagepath) {
41231 : {
41232 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41233 : char *arg2 = (char *) 0 ;
41234 0 : void *argp1 = 0 ;
41235 : int res1 = 0 ;
41236 : int res2 ;
41237 0 : char *buf2 = 0 ;
41238 0 : int alloc2 = 0 ;
41239 : int argvi = 0;
41240 : int result;
41241 0 : dXSARGS;
41242 :
41243 0 : if ((items < 2) || (items > 2)) {
41244 0 : SWIG_croak("Usage: symbolObj_setImagepath(self,imagefile);");
41245 : }
41246 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41247 0 : if (!SWIG_IsOK(res1)) {
41248 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImagepath" "', argument " "1"" of type '" "struct symbolObj *""'");
41249 : }
41250 0 : arg1 = (struct symbolObj *)(argp1);
41251 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41252 0 : if (!SWIG_IsOK(res2)) {
41253 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImagepath" "', argument " "2"" of type '" "char const *""'");
41254 : }
41255 0 : arg2 = (char *)(buf2);
41256 : result = (int)symbolObj_setImagepath(arg1,(char const *)arg2);
41257 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41258 :
41259 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41260 0 : XSRETURN(argvi);
41261 : fail:
41262 :
41263 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41264 0 : SWIG_croak_null();
41265 : }
41266 : }
41267 :
41268 :
41269 0 : XS(_wrap_symbolObj_setPoints) {
41270 : {
41271 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41272 : lineObj *arg2 = (lineObj *) 0 ;
41273 0 : void *argp1 = 0 ;
41274 : int res1 = 0 ;
41275 0 : void *argp2 = 0 ;
41276 : int res2 = 0 ;
41277 : int argvi = 0;
41278 : int result;
41279 0 : dXSARGS;
41280 :
41281 0 : if ((items < 2) || (items > 2)) {
41282 0 : SWIG_croak("Usage: symbolObj_setPoints(self,line);");
41283 : }
41284 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41285 0 : if (!SWIG_IsOK(res1)) {
41286 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setPoints" "', argument " "1"" of type '" "struct symbolObj *""'");
41287 : }
41288 0 : arg1 = (struct symbolObj *)(argp1);
41289 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 | 0 );
41290 0 : if (!SWIG_IsOK(res2)) {
41291 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setPoints" "', argument " "2"" of type '" "lineObj *""'");
41292 : }
41293 0 : arg2 = (lineObj *)(argp2);
41294 0 : result = (int)symbolObj_setPoints(arg1,arg2);
41295 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41296 :
41297 :
41298 0 : XSRETURN(argvi);
41299 : fail:
41300 :
41301 :
41302 0 : SWIG_croak_null();
41303 : }
41304 : }
41305 :
41306 :
41307 0 : XS(_wrap_symbolObj_getPoints) {
41308 : {
41309 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41310 0 : void *argp1 = 0 ;
41311 : int res1 = 0 ;
41312 : int argvi = 0;
41313 : lineObj *result = 0 ;
41314 0 : dXSARGS;
41315 :
41316 0 : if ((items < 1) || (items > 1)) {
41317 0 : SWIG_croak("Usage: symbolObj_getPoints(self);");
41318 : }
41319 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41320 0 : if (!SWIG_IsOK(res1)) {
41321 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getPoints" "', argument " "1"" of type '" "struct symbolObj *""'");
41322 : }
41323 0 : arg1 = (struct symbolObj *)(argp1);
41324 0 : result = (lineObj *)symbolObj_getPoints(arg1);
41325 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41326 :
41327 0 : XSRETURN(argvi);
41328 : fail:
41329 :
41330 0 : SWIG_croak_null();
41331 : }
41332 : }
41333 :
41334 :
41335 0 : XS(_wrap_symbolObj_getImage) {
41336 : {
41337 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41338 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
41339 0 : void *argp1 = 0 ;
41340 : int res1 = 0 ;
41341 0 : void *argp2 = 0 ;
41342 : int res2 = 0 ;
41343 : int argvi = 0;
41344 : imageObj *result = 0 ;
41345 0 : dXSARGS;
41346 :
41347 0 : if ((items < 2) || (items > 2)) {
41348 0 : SWIG_croak("Usage: symbolObj_getImage(self,input_format);");
41349 : }
41350 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41351 0 : if (!SWIG_IsOK(res1)) {
41352 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getImage" "', argument " "1"" of type '" "struct symbolObj *""'");
41353 : }
41354 0 : arg1 = (struct symbolObj *)(argp1);
41355 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
41356 0 : if (!SWIG_IsOK(res2)) {
41357 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_getImage" "', argument " "2"" of type '" "outputFormatObj *""'");
41358 : }
41359 0 : arg2 = (outputFormatObj *)(argp2);
41360 0 : result = (imageObj *)symbolObj_getImage(arg1,arg2);
41361 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41362 :
41363 :
41364 0 : XSRETURN(argvi);
41365 : fail:
41366 :
41367 :
41368 0 : SWIG_croak_null();
41369 : }
41370 : }
41371 :
41372 :
41373 0 : XS(_wrap_symbolObj_setImage) {
41374 : {
41375 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41376 : imageObj *arg2 = (imageObj *) 0 ;
41377 0 : void *argp1 = 0 ;
41378 : int res1 = 0 ;
41379 0 : void *argp2 = 0 ;
41380 : int res2 = 0 ;
41381 : int argvi = 0;
41382 : int result;
41383 0 : dXSARGS;
41384 :
41385 0 : if ((items < 2) || (items > 2)) {
41386 0 : SWIG_croak("Usage: symbolObj_setImage(self,image);");
41387 : }
41388 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41389 0 : if (!SWIG_IsOK(res1)) {
41390 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImage" "', argument " "1"" of type '" "struct symbolObj *""'");
41391 : }
41392 0 : arg1 = (struct symbolObj *)(argp1);
41393 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
41394 0 : if (!SWIG_IsOK(res2)) {
41395 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImage" "', argument " "2"" of type '" "imageObj *""'");
41396 : }
41397 0 : arg2 = (imageObj *)(argp2);
41398 0 : result = (int)symbolObj_setImage(arg1,arg2);
41399 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41400 :
41401 :
41402 0 : XSRETURN(argvi);
41403 : fail:
41404 :
41405 :
41406 0 : SWIG_croak_null();
41407 : }
41408 : }
41409 :
41410 :
41411 0 : XS(_wrap_errorObj_code_set) {
41412 : {
41413 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41414 : int arg2 ;
41415 0 : void *argp1 = 0 ;
41416 : int res1 = 0 ;
41417 : int val2 ;
41418 : int ecode2 = 0 ;
41419 : int argvi = 0;
41420 0 : dXSARGS;
41421 :
41422 0 : if ((items < 2) || (items > 2)) {
41423 0 : SWIG_croak("Usage: errorObj_code_set(self,code);");
41424 : }
41425 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41426 0 : if (!SWIG_IsOK(res1)) {
41427 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_set" "', argument " "1"" of type '" "struct errorObj *""'");
41428 : }
41429 0 : arg1 = (struct errorObj *)(argp1);
41430 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41431 0 : if (!SWIG_IsOK(ecode2)) {
41432 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_code_set" "', argument " "2"" of type '" "int""'");
41433 : }
41434 0 : arg2 = (int)(val2);
41435 0 : if (arg1) (arg1)->code = arg2;
41436 0 : ST(argvi) = sv_newmortal();
41437 :
41438 :
41439 0 : XSRETURN(argvi);
41440 : fail:
41441 :
41442 :
41443 0 : SWIG_croak_null();
41444 : }
41445 : }
41446 :
41447 :
41448 0 : XS(_wrap_errorObj_code_get) {
41449 : {
41450 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41451 0 : void *argp1 = 0 ;
41452 : int res1 = 0 ;
41453 : int argvi = 0;
41454 : int result;
41455 0 : dXSARGS;
41456 :
41457 0 : if ((items < 1) || (items > 1)) {
41458 0 : SWIG_croak("Usage: errorObj_code_get(self);");
41459 : }
41460 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41461 0 : if (!SWIG_IsOK(res1)) {
41462 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_get" "', argument " "1"" of type '" "struct errorObj *""'");
41463 : }
41464 0 : arg1 = (struct errorObj *)(argp1);
41465 0 : result = (int) ((arg1)->code);
41466 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41467 :
41468 0 : XSRETURN(argvi);
41469 : fail:
41470 :
41471 0 : SWIG_croak_null();
41472 : }
41473 : }
41474 :
41475 :
41476 0 : XS(_wrap_errorObj_routine_set) {
41477 : {
41478 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41479 : char *arg2 ;
41480 0 : void *argp1 = 0 ;
41481 : int res1 = 0 ;
41482 : char temp2[64] ;
41483 : int res2 ;
41484 : int argvi = 0;
41485 0 : dXSARGS;
41486 :
41487 0 : if ((items < 2) || (items > 2)) {
41488 0 : SWIG_croak("Usage: errorObj_routine_set(self,routine);");
41489 : }
41490 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41491 0 : if (!SWIG_IsOK(res1)) {
41492 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_set" "', argument " "1"" of type '" "struct errorObj *""'");
41493 : }
41494 0 : arg1 = (struct errorObj *)(argp1);
41495 0 : res2 = SWIG_AsCharArray(ST(1), temp2, 64);
41496 0 : if (!SWIG_IsOK(res2)) {
41497 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_routine_set" "', argument " "2"" of type '" "char [64]""'");
41498 : }
41499 : arg2 = (char *)(temp2);
41500 0 : if (arg2) memcpy(arg1->routine,arg2,64*sizeof(char));
41501 : else memset(arg1->routine,0,64*sizeof(char));
41502 0 : ST(argvi) = sv_newmortal();
41503 :
41504 :
41505 0 : XSRETURN(argvi);
41506 : fail:
41507 :
41508 :
41509 0 : SWIG_croak_null();
41510 : }
41511 : }
41512 :
41513 :
41514 0 : XS(_wrap_errorObj_routine_get) {
41515 : {
41516 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41517 0 : void *argp1 = 0 ;
41518 : int res1 = 0 ;
41519 : int argvi = 0;
41520 : char *result = 0 ;
41521 0 : dXSARGS;
41522 :
41523 0 : if ((items < 1) || (items > 1)) {
41524 0 : SWIG_croak("Usage: errorObj_routine_get(self);");
41525 : }
41526 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41527 0 : if (!SWIG_IsOK(res1)) {
41528 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_get" "', argument " "1"" of type '" "struct errorObj *""'");
41529 : }
41530 0 : arg1 = (struct errorObj *)(argp1);
41531 0 : result = (char *)(char *) ((arg1)->routine);
41532 : {
41533 0 : ST(argvi) = newSVpvn(result, strlen(result));
41534 : argvi++;
41535 : }
41536 :
41537 0 : XSRETURN(argvi);
41538 : fail:
41539 :
41540 0 : SWIG_croak_null();
41541 : }
41542 : }
41543 :
41544 :
41545 0 : XS(_wrap_errorObj_message_set) {
41546 : {
41547 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41548 : char *arg2 ;
41549 0 : void *argp1 = 0 ;
41550 : int res1 = 0 ;
41551 : char temp2[2048] ;
41552 : int res2 ;
41553 : int argvi = 0;
41554 0 : dXSARGS;
41555 :
41556 0 : if ((items < 2) || (items > 2)) {
41557 0 : SWIG_croak("Usage: errorObj_message_set(self,message);");
41558 : }
41559 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41560 0 : if (!SWIG_IsOK(res1)) {
41561 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_set" "', argument " "1"" of type '" "struct errorObj *""'");
41562 : }
41563 0 : arg1 = (struct errorObj *)(argp1);
41564 0 : res2 = SWIG_AsCharArray(ST(1), temp2, 2048);
41565 0 : if (!SWIG_IsOK(res2)) {
41566 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_message_set" "', argument " "2"" of type '" "char [2048]""'");
41567 : }
41568 : arg2 = (char *)(temp2);
41569 0 : if (arg2) memcpy(arg1->message,arg2,2048*sizeof(char));
41570 : else memset(arg1->message,0,2048*sizeof(char));
41571 0 : ST(argvi) = sv_newmortal();
41572 :
41573 :
41574 0 : XSRETURN(argvi);
41575 : fail:
41576 :
41577 :
41578 0 : SWIG_croak_null();
41579 : }
41580 : }
41581 :
41582 :
41583 0 : XS(_wrap_errorObj_message_get) {
41584 : {
41585 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41586 0 : void *argp1 = 0 ;
41587 : int res1 = 0 ;
41588 : int argvi = 0;
41589 : char *result = 0 ;
41590 0 : dXSARGS;
41591 :
41592 0 : if ((items < 1) || (items > 1)) {
41593 0 : SWIG_croak("Usage: errorObj_message_get(self);");
41594 : }
41595 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41596 0 : if (!SWIG_IsOK(res1)) {
41597 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_get" "', argument " "1"" of type '" "struct errorObj *""'");
41598 : }
41599 0 : arg1 = (struct errorObj *)(argp1);
41600 0 : result = (char *)(char *) ((arg1)->message);
41601 : {
41602 0 : ST(argvi) = newSVpvn(result, strlen(result));
41603 : argvi++;
41604 : }
41605 :
41606 0 : XSRETURN(argvi);
41607 : fail:
41608 :
41609 0 : SWIG_croak_null();
41610 : }
41611 : }
41612 :
41613 :
41614 0 : XS(_wrap_errorObj_isreported_set) {
41615 : {
41616 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41617 : int arg2 ;
41618 0 : void *argp1 = 0 ;
41619 : int res1 = 0 ;
41620 : int val2 ;
41621 : int ecode2 = 0 ;
41622 : int argvi = 0;
41623 0 : dXSARGS;
41624 :
41625 0 : if ((items < 2) || (items > 2)) {
41626 0 : SWIG_croak("Usage: errorObj_isreported_set(self,isreported);");
41627 : }
41628 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41629 0 : if (!SWIG_IsOK(res1)) {
41630 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_set" "', argument " "1"" of type '" "struct errorObj *""'");
41631 : }
41632 0 : arg1 = (struct errorObj *)(argp1);
41633 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41634 0 : if (!SWIG_IsOK(ecode2)) {
41635 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_isreported_set" "', argument " "2"" of type '" "int""'");
41636 : }
41637 0 : arg2 = (int)(val2);
41638 0 : if (arg1) (arg1)->isreported = arg2;
41639 0 : ST(argvi) = sv_newmortal();
41640 :
41641 :
41642 0 : XSRETURN(argvi);
41643 : fail:
41644 :
41645 :
41646 0 : SWIG_croak_null();
41647 : }
41648 : }
41649 :
41650 :
41651 0 : XS(_wrap_errorObj_isreported_get) {
41652 : {
41653 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41654 0 : void *argp1 = 0 ;
41655 : int res1 = 0 ;
41656 : int argvi = 0;
41657 : int result;
41658 0 : dXSARGS;
41659 :
41660 0 : if ((items < 1) || (items > 1)) {
41661 0 : SWIG_croak("Usage: errorObj_isreported_get(self);");
41662 : }
41663 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41664 0 : if (!SWIG_IsOK(res1)) {
41665 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_get" "', argument " "1"" of type '" "struct errorObj *""'");
41666 : }
41667 0 : arg1 = (struct errorObj *)(argp1);
41668 0 : result = (int) ((arg1)->isreported);
41669 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41670 :
41671 0 : XSRETURN(argvi);
41672 : fail:
41673 :
41674 0 : SWIG_croak_null();
41675 : }
41676 : }
41677 :
41678 :
41679 0 : XS(_wrap_errorObj_errorcount_set) {
41680 : {
41681 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41682 : int arg2 ;
41683 0 : void *argp1 = 0 ;
41684 : int res1 = 0 ;
41685 : int val2 ;
41686 : int ecode2 = 0 ;
41687 : int argvi = 0;
41688 0 : dXSARGS;
41689 :
41690 0 : if ((items < 2) || (items > 2)) {
41691 0 : SWIG_croak("Usage: errorObj_errorcount_set(self,errorcount);");
41692 : }
41693 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41694 0 : if (!SWIG_IsOK(res1)) {
41695 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_set" "', argument " "1"" of type '" "struct errorObj *""'");
41696 : }
41697 0 : arg1 = (struct errorObj *)(argp1);
41698 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41699 0 : if (!SWIG_IsOK(ecode2)) {
41700 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_errorcount_set" "', argument " "2"" of type '" "int""'");
41701 : }
41702 0 : arg2 = (int)(val2);
41703 0 : if (arg1) (arg1)->errorcount = arg2;
41704 0 : ST(argvi) = sv_newmortal();
41705 :
41706 :
41707 0 : XSRETURN(argvi);
41708 : fail:
41709 :
41710 :
41711 0 : SWIG_croak_null();
41712 : }
41713 : }
41714 :
41715 :
41716 0 : XS(_wrap_errorObj_errorcount_get) {
41717 : {
41718 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41719 0 : void *argp1 = 0 ;
41720 : int res1 = 0 ;
41721 : int argvi = 0;
41722 : int result;
41723 0 : dXSARGS;
41724 :
41725 0 : if ((items < 1) || (items > 1)) {
41726 0 : SWIG_croak("Usage: errorObj_errorcount_get(self);");
41727 : }
41728 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41729 0 : if (!SWIG_IsOK(res1)) {
41730 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_get" "', argument " "1"" of type '" "struct errorObj *""'");
41731 : }
41732 0 : arg1 = (struct errorObj *)(argp1);
41733 0 : result = (int) ((arg1)->errorcount);
41734 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41735 :
41736 0 : XSRETURN(argvi);
41737 : fail:
41738 :
41739 0 : SWIG_croak_null();
41740 : }
41741 : }
41742 :
41743 :
41744 0 : XS(_wrap_new_errorObj) {
41745 : {
41746 : int argvi = 0;
41747 : struct errorObj *result = 0 ;
41748 0 : dXSARGS;
41749 :
41750 0 : if ((items < 0) || (items > 0)) {
41751 0 : SWIG_croak("Usage: new_errorObj();");
41752 : }
41753 : result = (struct errorObj *)new_errorObj();
41754 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41755 0 : XSRETURN(argvi);
41756 : fail:
41757 0 : SWIG_croak_null();
41758 : }
41759 : }
41760 :
41761 :
41762 0 : XS(_wrap_delete_errorObj) {
41763 : {
41764 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41765 0 : void *argp1 = 0 ;
41766 : int res1 = 0 ;
41767 : int argvi = 0;
41768 0 : dXSARGS;
41769 :
41770 0 : if ((items < 1) || (items > 1)) {
41771 0 : SWIG_croak("Usage: delete_errorObj(self);");
41772 : }
41773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, SWIG_POINTER_DISOWN | 0 );
41774 0 : if (!SWIG_IsOK(res1)) {
41775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_errorObj" "', argument " "1"" of type '" "struct errorObj *""'");
41776 : }
41777 : arg1 = (struct errorObj *)(argp1);
41778 : delete_errorObj(arg1);
41779 0 : ST(argvi) = sv_newmortal();
41780 :
41781 0 : XSRETURN(argvi);
41782 : fail:
41783 :
41784 0 : SWIG_croak_null();
41785 : }
41786 : }
41787 :
41788 :
41789 0 : XS(_wrap_errorObj_next) {
41790 : {
41791 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41792 0 : void *argp1 = 0 ;
41793 : int res1 = 0 ;
41794 : int argvi = 0;
41795 : errorObj *result = 0 ;
41796 0 : dXSARGS;
41797 :
41798 0 : if ((items < 1) || (items > 1)) {
41799 0 : SWIG_croak("Usage: errorObj_next(self);");
41800 : }
41801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41802 0 : if (!SWIG_IsOK(res1)) {
41803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_next" "', argument " "1"" of type '" "struct errorObj *""'");
41804 : }
41805 0 : arg1 = (struct errorObj *)(argp1);
41806 0 : result = (errorObj *)errorObj_next(arg1);
41807 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
41808 :
41809 0 : XSRETURN(argvi);
41810 : fail:
41811 :
41812 0 : SWIG_croak_null();
41813 : }
41814 : }
41815 :
41816 :
41817 0 : XS(_wrap_msGetErrorObj) {
41818 : {
41819 : int argvi = 0;
41820 : errorObj *result = 0 ;
41821 0 : dXSARGS;
41822 :
41823 0 : if ((items < 0) || (items > 0)) {
41824 0 : SWIG_croak("Usage: msGetErrorObj();");
41825 : }
41826 0 : result = (errorObj *)msGetErrorObj();
41827 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
41828 0 : XSRETURN(argvi);
41829 : fail:
41830 0 : SWIG_croak_null();
41831 : }
41832 : }
41833 :
41834 :
41835 0 : XS(_wrap_msResetErrorList) {
41836 : {
41837 : int argvi = 0;
41838 0 : dXSARGS;
41839 :
41840 0 : if ((items < 0) || (items > 0)) {
41841 0 : SWIG_croak("Usage: msResetErrorList();");
41842 : }
41843 0 : msResetErrorList();
41844 0 : ST(argvi) = sv_newmortal();
41845 0 : XSRETURN(argvi);
41846 : fail:
41847 0 : SWIG_croak_null();
41848 : }
41849 : }
41850 :
41851 :
41852 1 : XS(_wrap_msGetVersion) {
41853 : {
41854 : int argvi = 0;
41855 : char *result = 0 ;
41856 1 : dXSARGS;
41857 :
41858 1 : if ((items < 0) || (items > 0)) {
41859 0 : SWIG_croak("Usage: msGetVersion();");
41860 : }
41861 1 : result = (char *)msGetVersion();
41862 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41863 1 : XSRETURN(argvi);
41864 : fail:
41865 0 : SWIG_croak_null();
41866 : }
41867 : }
41868 :
41869 :
41870 0 : XS(_wrap_msGetVersionInt) {
41871 : {
41872 : int argvi = 0;
41873 : int result;
41874 0 : dXSARGS;
41875 :
41876 0 : if ((items < 0) || (items > 0)) {
41877 0 : SWIG_croak("Usage: msGetVersionInt();");
41878 : }
41879 0 : result = (int)msGetVersionInt();
41880 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41881 0 : XSRETURN(argvi);
41882 : fail:
41883 0 : SWIG_croak_null();
41884 : }
41885 : }
41886 :
41887 :
41888 0 : XS(_wrap_msGetErrorString) {
41889 : {
41890 : char *arg1 = (char *) 0 ;
41891 : int res1 ;
41892 0 : char *buf1 = 0 ;
41893 0 : int alloc1 = 0 ;
41894 : int argvi = 0;
41895 : char *result = 0 ;
41896 0 : dXSARGS;
41897 :
41898 0 : if ((items < 1) || (items > 1)) {
41899 0 : SWIG_croak("Usage: msGetErrorString(delimiter);");
41900 : }
41901 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
41902 0 : if (!SWIG_IsOK(res1)) {
41903 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msGetErrorString" "', argument " "1"" of type '" "char *""'");
41904 : }
41905 0 : arg1 = (char *)(buf1);
41906 0 : result = (char *)msGetErrorString(arg1);
41907 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41908 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41909 0 : XSRETURN(argvi);
41910 : fail:
41911 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41912 0 : SWIG_croak_null();
41913 : }
41914 : }
41915 :
41916 :
41917 0 : XS(_wrap_hashTableObj_numitems_get) {
41918 : {
41919 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41920 0 : void *argp1 = 0 ;
41921 : int res1 = 0 ;
41922 : int argvi = 0;
41923 : int result;
41924 0 : dXSARGS;
41925 :
41926 0 : if ((items < 1) || (items > 1)) {
41927 0 : SWIG_croak("Usage: hashTableObj_numitems_get(self);");
41928 : }
41929 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41930 0 : if (!SWIG_IsOK(res1)) {
41931 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_numitems_get" "', argument " "1"" of type '" "hashTableObj *""'");
41932 : }
41933 0 : arg1 = (hashTableObj *)(argp1);
41934 0 : result = (int) ((arg1)->numitems);
41935 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41936 :
41937 0 : XSRETURN(argvi);
41938 : fail:
41939 :
41940 0 : SWIG_croak_null();
41941 : }
41942 : }
41943 :
41944 :
41945 0 : XS(_wrap_new_hashTableObj) {
41946 : {
41947 : int argvi = 0;
41948 : hashTableObj *result = 0 ;
41949 0 : dXSARGS;
41950 :
41951 0 : if ((items < 0) || (items > 0)) {
41952 0 : SWIG_croak("Usage: new_hashTableObj();");
41953 : }
41954 : result = (hashTableObj *)new_hashTableObj();
41955 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41956 0 : XSRETURN(argvi);
41957 : fail:
41958 0 : SWIG_croak_null();
41959 : }
41960 : }
41961 :
41962 :
41963 1 : XS(_wrap_delete_hashTableObj) {
41964 : {
41965 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41966 1 : void *argp1 = 0 ;
41967 : int res1 = 0 ;
41968 : int argvi = 0;
41969 1 : dXSARGS;
41970 :
41971 1 : if ((items < 1) || (items > 1)) {
41972 0 : SWIG_croak("Usage: delete_hashTableObj(self);");
41973 : }
41974 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, SWIG_POINTER_DISOWN | 0 );
41975 1 : if (!SWIG_IsOK(res1)) {
41976 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_hashTableObj" "', argument " "1"" of type '" "hashTableObj *""'");
41977 : }
41978 1 : arg1 = (hashTableObj *)(argp1);
41979 : delete_hashTableObj(arg1);
41980 1 : ST(argvi) = sv_newmortal();
41981 :
41982 1 : XSRETURN(argvi);
41983 : fail:
41984 :
41985 0 : SWIG_croak_null();
41986 : }
41987 : }
41988 :
41989 :
41990 0 : XS(_wrap_hashTableObj_set) {
41991 : {
41992 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41993 : char *arg2 = (char *) 0 ;
41994 : char *arg3 = (char *) 0 ;
41995 0 : void *argp1 = 0 ;
41996 : int res1 = 0 ;
41997 : int res2 ;
41998 0 : char *buf2 = 0 ;
41999 0 : int alloc2 = 0 ;
42000 : int res3 ;
42001 0 : char *buf3 = 0 ;
42002 0 : int alloc3 = 0 ;
42003 : int argvi = 0;
42004 : int result;
42005 0 : dXSARGS;
42006 :
42007 0 : if ((items < 3) || (items > 3)) {
42008 0 : SWIG_croak("Usage: hashTableObj_set(self,key,value);");
42009 : }
42010 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
42011 0 : if (!SWIG_IsOK(res1)) {
42012 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_set" "', argument " "1"" of type '" "hashTableObj *""'");
42013 : }
42014 0 : arg1 = (hashTableObj *)(argp1);
42015 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42016 0 : if (!SWIG_IsOK(res2)) {
42017 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_set" "', argument " "2"" of type '" "char *""'");
42018 : }
42019 0 : arg2 = (char *)(buf2);
42020 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42021 0 : if (!SWIG_IsOK(res3)) {
42022 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_set" "', argument " "3"" of type '" "char *""'");
42023 : }
42024 0 : arg3 = (char *)(buf3);
42025 : result = (int)hashTableObj_set(arg1,arg2,arg3);
42026 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42027 :
42028 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42029 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42030 0 : XSRETURN(argvi);
42031 : fail:
42032 :
42033 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42034 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42035 0 : SWIG_croak_null();
42036 : }
42037 : }
42038 :
42039 :
42040 1 : XS(_wrap_hashTableObj_get) {
42041 : {
42042 : hashTableObj *arg1 = (hashTableObj *) 0 ;
42043 : char *arg2 = (char *) 0 ;
42044 : char *arg3 = (char *) NULL ;
42045 1 : void *argp1 = 0 ;
42046 : int res1 = 0 ;
42047 : int res2 ;
42048 1 : char *buf2 = 0 ;
42049 1 : int alloc2 = 0 ;
42050 : int res3 ;
42051 1 : char *buf3 = 0 ;
42052 1 : int alloc3 = 0 ;
42053 : int argvi = 0;
42054 : char *result = 0 ;
42055 1 : dXSARGS;
42056 :
42057 1 : if ((items < 2) || (items > 3)) {
42058 0 : SWIG_croak("Usage: hashTableObj_get(self,key,default_value);");
42059 : }
42060 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
42061 1 : if (!SWIG_IsOK(res1)) {
42062 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_get" "', argument " "1"" of type '" "hashTableObj *""'");
42063 : }
42064 1 : arg1 = (hashTableObj *)(argp1);
42065 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42066 1 : if (!SWIG_IsOK(res2)) {
42067 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_get" "', argument " "2"" of type '" "char *""'");
42068 : }
42069 1 : arg2 = (char *)(buf2);
42070 1 : if (items > 2) {
42071 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42072 0 : if (!SWIG_IsOK(res3)) {
42073 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_get" "', argument " "3"" of type '" "char *""'");
42074 : }
42075 0 : arg3 = (char *)(buf3);
42076 : }
42077 1 : result = (char *)hashTableObj_get(arg1,arg2,arg3);
42078 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42079 :
42080 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42081 1 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42082 1 : XSRETURN(argvi);
42083 : fail:
42084 :
42085 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42086 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42087 0 : SWIG_croak_null();
42088 : }
42089 : }
42090 :
42091 :
42092 0 : XS(_wrap_hashTableObj_remove) {
42093 : {
42094 : hashTableObj *arg1 = (hashTableObj *) 0 ;
42095 : char *arg2 = (char *) 0 ;
42096 0 : void *argp1 = 0 ;
42097 : int res1 = 0 ;
42098 : int res2 ;
42099 0 : char *buf2 = 0 ;
42100 0 : int alloc2 = 0 ;
42101 : int argvi = 0;
42102 : int result;
42103 0 : dXSARGS;
42104 :
42105 0 : if ((items < 2) || (items > 2)) {
42106 0 : SWIG_croak("Usage: hashTableObj_remove(self,key);");
42107 : }
42108 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
42109 0 : if (!SWIG_IsOK(res1)) {
42110 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_remove" "', argument " "1"" of type '" "hashTableObj *""'");
42111 : }
42112 0 : arg1 = (hashTableObj *)(argp1);
42113 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42114 0 : if (!SWIG_IsOK(res2)) {
42115 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_remove" "', argument " "2"" of type '" "char *""'");
42116 : }
42117 0 : arg2 = (char *)(buf2);
42118 : result = (int)hashTableObj_remove(arg1,arg2);
42119 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42120 :
42121 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42122 0 : XSRETURN(argvi);
42123 : fail:
42124 :
42125 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42126 0 : SWIG_croak_null();
42127 : }
42128 : }
42129 :
42130 :
42131 0 : XS(_wrap_hashTableObj_clear) {
42132 : {
42133 : hashTableObj *arg1 = (hashTableObj *) 0 ;
42134 0 : void *argp1 = 0 ;
42135 : int res1 = 0 ;
42136 : int argvi = 0;
42137 0 : dXSARGS;
42138 :
42139 0 : if ((items < 1) || (items > 1)) {
42140 0 : SWIG_croak("Usage: hashTableObj_clear(self);");
42141 : }
42142 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
42143 0 : if (!SWIG_IsOK(res1)) {
42144 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_clear" "', argument " "1"" of type '" "hashTableObj *""'");
42145 : }
42146 0 : arg1 = (hashTableObj *)(argp1);
42147 : hashTableObj_clear(arg1);
42148 0 : ST(argvi) = sv_newmortal();
42149 :
42150 0 : XSRETURN(argvi);
42151 : fail:
42152 :
42153 0 : SWIG_croak_null();
42154 : }
42155 : }
42156 :
42157 :
42158 0 : XS(_wrap_hashTableObj_nextKey) {
42159 : {
42160 : hashTableObj *arg1 = (hashTableObj *) 0 ;
42161 : char *arg2 = (char *) NULL ;
42162 0 : void *argp1 = 0 ;
42163 : int res1 = 0 ;
42164 : int res2 ;
42165 0 : char *buf2 = 0 ;
42166 0 : int alloc2 = 0 ;
42167 : int argvi = 0;
42168 : char *result = 0 ;
42169 0 : dXSARGS;
42170 :
42171 0 : if ((items < 1) || (items > 2)) {
42172 0 : SWIG_croak("Usage: hashTableObj_nextKey(self,prevkey);");
42173 : }
42174 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
42175 0 : if (!SWIG_IsOK(res1)) {
42176 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_nextKey" "', argument " "1"" of type '" "hashTableObj *""'");
42177 : }
42178 0 : arg1 = (hashTableObj *)(argp1);
42179 0 : if (items > 1) {
42180 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42181 0 : if (!SWIG_IsOK(res2)) {
42182 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_nextKey" "', argument " "2"" of type '" "char *""'");
42183 : }
42184 0 : arg2 = (char *)(buf2);
42185 : }
42186 : result = (char *)hashTableObj_nextKey(arg1,arg2);
42187 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42188 :
42189 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42190 0 : XSRETURN(argvi);
42191 : fail:
42192 :
42193 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42194 0 : SWIG_croak_null();
42195 : }
42196 : }
42197 :
42198 :
42199 0 : XS(_wrap_OWSRequest_NumParams_get) {
42200 : {
42201 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42202 0 : void *argp1 = 0 ;
42203 : int res1 = 0 ;
42204 : int argvi = 0;
42205 : int result;
42206 0 : dXSARGS;
42207 :
42208 0 : if ((items < 1) || (items > 1)) {
42209 0 : SWIG_croak("Usage: OWSRequest_NumParams_get(self);");
42210 : }
42211 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42212 0 : if (!SWIG_IsOK(res1)) {
42213 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_NumParams_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42214 : }
42215 0 : arg1 = (cgiRequestObj *)(argp1);
42216 0 : result = (int) ((arg1)->NumParams);
42217 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42218 :
42219 0 : XSRETURN(argvi);
42220 : fail:
42221 :
42222 0 : SWIG_croak_null();
42223 : }
42224 : }
42225 :
42226 :
42227 0 : XS(_wrap_OWSRequest_type_set) {
42228 : {
42229 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42230 : enum MS_REQUEST_TYPE arg2 ;
42231 0 : void *argp1 = 0 ;
42232 : int res1 = 0 ;
42233 : int val2 ;
42234 : int ecode2 = 0 ;
42235 : int argvi = 0;
42236 0 : dXSARGS;
42237 :
42238 0 : if ((items < 2) || (items > 2)) {
42239 0 : SWIG_croak("Usage: OWSRequest_type_set(self,type);");
42240 : }
42241 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42242 0 : if (!SWIG_IsOK(res1)) {
42243 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42244 : }
42245 0 : arg1 = (cgiRequestObj *)(argp1);
42246 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42247 0 : if (!SWIG_IsOK(ecode2)) {
42248 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_type_set" "', argument " "2"" of type '" "enum MS_REQUEST_TYPE""'");
42249 : }
42250 0 : arg2 = (enum MS_REQUEST_TYPE)(val2);
42251 0 : if (arg1) (arg1)->type = arg2;
42252 0 : ST(argvi) = sv_newmortal();
42253 :
42254 :
42255 0 : XSRETURN(argvi);
42256 : fail:
42257 :
42258 :
42259 0 : SWIG_croak_null();
42260 : }
42261 : }
42262 :
42263 :
42264 0 : XS(_wrap_OWSRequest_type_get) {
42265 : {
42266 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42267 0 : void *argp1 = 0 ;
42268 : int res1 = 0 ;
42269 : int argvi = 0;
42270 : enum MS_REQUEST_TYPE result;
42271 0 : dXSARGS;
42272 :
42273 0 : if ((items < 1) || (items > 1)) {
42274 0 : SWIG_croak("Usage: OWSRequest_type_get(self);");
42275 : }
42276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42277 0 : if (!SWIG_IsOK(res1)) {
42278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42279 : }
42280 0 : arg1 = (cgiRequestObj *)(argp1);
42281 0 : result = (enum MS_REQUEST_TYPE) ((arg1)->type);
42282 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42283 :
42284 0 : XSRETURN(argvi);
42285 : fail:
42286 :
42287 0 : SWIG_croak_null();
42288 : }
42289 : }
42290 :
42291 :
42292 0 : XS(_wrap_OWSRequest_contenttype_set) {
42293 : {
42294 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42295 : char *arg2 = (char *) 0 ;
42296 0 : void *argp1 = 0 ;
42297 : int res1 = 0 ;
42298 : int res2 ;
42299 0 : char *buf2 = 0 ;
42300 0 : int alloc2 = 0 ;
42301 : int argvi = 0;
42302 0 : dXSARGS;
42303 :
42304 0 : if ((items < 2) || (items > 2)) {
42305 0 : SWIG_croak("Usage: OWSRequest_contenttype_set(self,contenttype);");
42306 : }
42307 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42308 0 : if (!SWIG_IsOK(res1)) {
42309 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42310 : }
42311 0 : arg1 = (cgiRequestObj *)(argp1);
42312 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42313 0 : if (!SWIG_IsOK(res2)) {
42314 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_contenttype_set" "', argument " "2"" of type '" "char *""'");
42315 : }
42316 0 : arg2 = (char *)(buf2);
42317 : {
42318 0 : if (arg1->contenttype) free((char*)arg1->contenttype);
42319 0 : if (arg2) {
42320 0 : arg1->contenttype = (char *) malloc(strlen(arg2)+1);
42321 : strcpy((char*)arg1->contenttype,arg2);
42322 : } else {
42323 0 : arg1->contenttype = 0;
42324 : }
42325 : }
42326 0 : ST(argvi) = sv_newmortal();
42327 :
42328 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42329 0 : XSRETURN(argvi);
42330 : fail:
42331 :
42332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42333 0 : SWIG_croak_null();
42334 : }
42335 : }
42336 :
42337 :
42338 0 : XS(_wrap_OWSRequest_contenttype_get) {
42339 : {
42340 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42341 0 : void *argp1 = 0 ;
42342 : int res1 = 0 ;
42343 : int argvi = 0;
42344 : char *result = 0 ;
42345 0 : dXSARGS;
42346 :
42347 0 : if ((items < 1) || (items > 1)) {
42348 0 : SWIG_croak("Usage: OWSRequest_contenttype_get(self);");
42349 : }
42350 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42351 0 : if (!SWIG_IsOK(res1)) {
42352 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42353 : }
42354 0 : arg1 = (cgiRequestObj *)(argp1);
42355 0 : result = (char *) ((arg1)->contenttype);
42356 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42357 :
42358 0 : XSRETURN(argvi);
42359 : fail:
42360 :
42361 0 : SWIG_croak_null();
42362 : }
42363 : }
42364 :
42365 :
42366 0 : XS(_wrap_OWSRequest_postrequest_set) {
42367 : {
42368 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42369 : char *arg2 = (char *) 0 ;
42370 0 : void *argp1 = 0 ;
42371 : int res1 = 0 ;
42372 : int res2 ;
42373 0 : char *buf2 = 0 ;
42374 0 : int alloc2 = 0 ;
42375 : int argvi = 0;
42376 0 : dXSARGS;
42377 :
42378 0 : if ((items < 2) || (items > 2)) {
42379 0 : SWIG_croak("Usage: OWSRequest_postrequest_set(self,postrequest);");
42380 : }
42381 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42382 0 : if (!SWIG_IsOK(res1)) {
42383 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42384 : }
42385 0 : arg1 = (cgiRequestObj *)(argp1);
42386 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42387 0 : if (!SWIG_IsOK(res2)) {
42388 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_postrequest_set" "', argument " "2"" of type '" "char *""'");
42389 : }
42390 0 : arg2 = (char *)(buf2);
42391 : {
42392 0 : if (arg1->postrequest) free((char*)arg1->postrequest);
42393 0 : if (arg2) {
42394 0 : arg1->postrequest = (char *) malloc(strlen(arg2)+1);
42395 : strcpy((char*)arg1->postrequest,arg2);
42396 : } else {
42397 0 : arg1->postrequest = 0;
42398 : }
42399 : }
42400 0 : ST(argvi) = sv_newmortal();
42401 :
42402 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42403 0 : XSRETURN(argvi);
42404 : fail:
42405 :
42406 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42407 0 : SWIG_croak_null();
42408 : }
42409 : }
42410 :
42411 :
42412 0 : XS(_wrap_OWSRequest_postrequest_get) {
42413 : {
42414 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42415 0 : void *argp1 = 0 ;
42416 : int res1 = 0 ;
42417 : int argvi = 0;
42418 : char *result = 0 ;
42419 0 : dXSARGS;
42420 :
42421 0 : if ((items < 1) || (items > 1)) {
42422 0 : SWIG_croak("Usage: OWSRequest_postrequest_get(self);");
42423 : }
42424 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42425 0 : if (!SWIG_IsOK(res1)) {
42426 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42427 : }
42428 0 : arg1 = (cgiRequestObj *)(argp1);
42429 0 : result = (char *) ((arg1)->postrequest);
42430 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42431 :
42432 0 : XSRETURN(argvi);
42433 : fail:
42434 :
42435 0 : SWIG_croak_null();
42436 : }
42437 : }
42438 :
42439 :
42440 0 : XS(_wrap_OWSRequest_httpcookiedata_set) {
42441 : {
42442 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42443 : char *arg2 = (char *) 0 ;
42444 0 : void *argp1 = 0 ;
42445 : int res1 = 0 ;
42446 : int res2 ;
42447 0 : char *buf2 = 0 ;
42448 0 : int alloc2 = 0 ;
42449 : int argvi = 0;
42450 0 : dXSARGS;
42451 :
42452 0 : if ((items < 2) || (items > 2)) {
42453 0 : SWIG_croak("Usage: OWSRequest_httpcookiedata_set(self,httpcookiedata);");
42454 : }
42455 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42456 0 : if (!SWIG_IsOK(res1)) {
42457 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42458 : }
42459 0 : arg1 = (cgiRequestObj *)(argp1);
42460 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42461 0 : if (!SWIG_IsOK(res2)) {
42462 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "2"" of type '" "char *""'");
42463 : }
42464 0 : arg2 = (char *)(buf2);
42465 : {
42466 0 : if (arg1->httpcookiedata) free((char*)arg1->httpcookiedata);
42467 0 : if (arg2) {
42468 0 : arg1->httpcookiedata = (char *) malloc(strlen(arg2)+1);
42469 : strcpy((char*)arg1->httpcookiedata,arg2);
42470 : } else {
42471 0 : arg1->httpcookiedata = 0;
42472 : }
42473 : }
42474 0 : ST(argvi) = sv_newmortal();
42475 :
42476 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42477 0 : XSRETURN(argvi);
42478 : fail:
42479 :
42480 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42481 0 : SWIG_croak_null();
42482 : }
42483 : }
42484 :
42485 :
42486 0 : XS(_wrap_OWSRequest_httpcookiedata_get) {
42487 : {
42488 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42489 0 : void *argp1 = 0 ;
42490 : int res1 = 0 ;
42491 : int argvi = 0;
42492 : char *result = 0 ;
42493 0 : dXSARGS;
42494 :
42495 0 : if ((items < 1) || (items > 1)) {
42496 0 : SWIG_croak("Usage: OWSRequest_httpcookiedata_get(self);");
42497 : }
42498 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42499 0 : if (!SWIG_IsOK(res1)) {
42500 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42501 : }
42502 0 : arg1 = (cgiRequestObj *)(argp1);
42503 0 : result = (char *) ((arg1)->httpcookiedata);
42504 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42505 :
42506 0 : XSRETURN(argvi);
42507 : fail:
42508 :
42509 0 : SWIG_croak_null();
42510 : }
42511 : }
42512 :
42513 :
42514 1 : XS(_wrap_new_OWSRequest) {
42515 : {
42516 : int argvi = 0;
42517 : cgiRequestObj *result = 0 ;
42518 1 : dXSARGS;
42519 :
42520 1 : if ((items < 0) || (items > 0)) {
42521 0 : SWIG_croak("Usage: new_OWSRequest();");
42522 : }
42523 1 : result = (cgiRequestObj *)new_cgiRequestObj();
42524 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cgiRequestObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
42525 1 : XSRETURN(argvi);
42526 : fail:
42527 0 : SWIG_croak_null();
42528 : }
42529 : }
42530 :
42531 :
42532 1 : XS(_wrap_delete_OWSRequest) {
42533 : {
42534 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42535 1 : void *argp1 = 0 ;
42536 : int res1 = 0 ;
42537 : int argvi = 0;
42538 1 : dXSARGS;
42539 :
42540 1 : if ((items < 1) || (items > 1)) {
42541 0 : SWIG_croak("Usage: delete_OWSRequest(self);");
42542 : }
42543 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, SWIG_POINTER_DISOWN | 0 );
42544 1 : if (!SWIG_IsOK(res1)) {
42545 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OWSRequest" "', argument " "1"" of type '" "cgiRequestObj *""'");
42546 : }
42547 1 : arg1 = (cgiRequestObj *)(argp1);
42548 : delete_cgiRequestObj(arg1);
42549 1 : ST(argvi) = sv_newmortal();
42550 :
42551 1 : XSRETURN(argvi);
42552 : fail:
42553 :
42554 0 : SWIG_croak_null();
42555 : }
42556 : }
42557 :
42558 :
42559 0 : XS(_wrap_OWSRequest_loadParams) {
42560 : {
42561 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42562 0 : void *argp1 = 0 ;
42563 : int res1 = 0 ;
42564 : int argvi = 0;
42565 : int result;
42566 0 : dXSARGS;
42567 :
42568 0 : if ((items < 1) || (items > 1)) {
42569 0 : SWIG_croak("Usage: OWSRequest_loadParams(self);");
42570 : }
42571 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42572 0 : if (!SWIG_IsOK(res1)) {
42573 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParams" "', argument " "1"" of type '" "cgiRequestObj *""'");
42574 : }
42575 0 : arg1 = (cgiRequestObj *)(argp1);
42576 : result = (int)cgiRequestObj_loadParams(arg1);
42577 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42578 :
42579 0 : XSRETURN(argvi);
42580 : fail:
42581 :
42582 0 : SWIG_croak_null();
42583 : }
42584 : }
42585 :
42586 :
42587 1 : XS(_wrap_OWSRequest_loadParamsFromURL) {
42588 : {
42589 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42590 : char *arg2 = (char *) 0 ;
42591 1 : void *argp1 = 0 ;
42592 : int res1 = 0 ;
42593 : int res2 ;
42594 1 : char *buf2 = 0 ;
42595 1 : int alloc2 = 0 ;
42596 : int argvi = 0;
42597 : int result;
42598 1 : dXSARGS;
42599 :
42600 1 : if ((items < 2) || (items > 2)) {
42601 0 : SWIG_croak("Usage: OWSRequest_loadParamsFromURL(self,url);");
42602 : }
42603 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42604 1 : if (!SWIG_IsOK(res1)) {
42605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "1"" of type '" "cgiRequestObj *""'");
42606 : }
42607 1 : arg1 = (cgiRequestObj *)(argp1);
42608 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42609 1 : if (!SWIG_IsOK(res2)) {
42610 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "2"" of type '" "char const *""'");
42611 : }
42612 1 : arg2 = (char *)(buf2);
42613 : result = (int)cgiRequestObj_loadParamsFromURL(arg1,(char const *)arg2);
42614 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42615 :
42616 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42617 1 : XSRETURN(argvi);
42618 : fail:
42619 :
42620 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42621 0 : SWIG_croak_null();
42622 : }
42623 : }
42624 :
42625 :
42626 0 : XS(_wrap_OWSRequest_setParameter) {
42627 : {
42628 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42629 : char *arg2 = (char *) 0 ;
42630 : char *arg3 = (char *) 0 ;
42631 0 : void *argp1 = 0 ;
42632 : int res1 = 0 ;
42633 : int res2 ;
42634 0 : char *buf2 = 0 ;
42635 0 : int alloc2 = 0 ;
42636 : int res3 ;
42637 0 : char *buf3 = 0 ;
42638 0 : int alloc3 = 0 ;
42639 : int argvi = 0;
42640 0 : dXSARGS;
42641 :
42642 0 : if ((items < 3) || (items > 3)) {
42643 0 : SWIG_croak("Usage: OWSRequest_setParameter(self,name,value);");
42644 : }
42645 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42646 0 : if (!SWIG_IsOK(res1)) {
42647 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_setParameter" "', argument " "1"" of type '" "cgiRequestObj *""'");
42648 : }
42649 0 : arg1 = (cgiRequestObj *)(argp1);
42650 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42651 0 : if (!SWIG_IsOK(res2)) {
42652 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_setParameter" "', argument " "2"" of type '" "char *""'");
42653 : }
42654 0 : arg2 = (char *)(buf2);
42655 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42656 0 : if (!SWIG_IsOK(res3)) {
42657 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_setParameter" "', argument " "3"" of type '" "char *""'");
42658 : }
42659 0 : arg3 = (char *)(buf3);
42660 0 : cgiRequestObj_setParameter(arg1,arg2,arg3);
42661 0 : ST(argvi) = sv_newmortal();
42662 :
42663 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42664 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42665 0 : XSRETURN(argvi);
42666 : fail:
42667 :
42668 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42669 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42670 0 : SWIG_croak_null();
42671 : }
42672 : }
42673 :
42674 :
42675 0 : XS(_wrap_OWSRequest_addParameter) {
42676 : {
42677 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42678 : char *arg2 = (char *) 0 ;
42679 : char *arg3 = (char *) 0 ;
42680 0 : void *argp1 = 0 ;
42681 : int res1 = 0 ;
42682 : int res2 ;
42683 0 : char *buf2 = 0 ;
42684 0 : int alloc2 = 0 ;
42685 : int res3 ;
42686 0 : char *buf3 = 0 ;
42687 0 : int alloc3 = 0 ;
42688 : int argvi = 0;
42689 0 : dXSARGS;
42690 :
42691 0 : if ((items < 3) || (items > 3)) {
42692 0 : SWIG_croak("Usage: OWSRequest_addParameter(self,name,value);");
42693 : }
42694 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42695 0 : if (!SWIG_IsOK(res1)) {
42696 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_addParameter" "', argument " "1"" of type '" "cgiRequestObj *""'");
42697 : }
42698 0 : arg1 = (cgiRequestObj *)(argp1);
42699 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42700 0 : if (!SWIG_IsOK(res2)) {
42701 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_addParameter" "', argument " "2"" of type '" "char *""'");
42702 : }
42703 0 : arg2 = (char *)(buf2);
42704 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42705 0 : if (!SWIG_IsOK(res3)) {
42706 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_addParameter" "', argument " "3"" of type '" "char *""'");
42707 : }
42708 0 : arg3 = (char *)(buf3);
42709 0 : cgiRequestObj_addParameter(arg1,arg2,arg3);
42710 0 : ST(argvi) = sv_newmortal();
42711 :
42712 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42713 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42714 0 : XSRETURN(argvi);
42715 : fail:
42716 :
42717 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42718 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42719 0 : SWIG_croak_null();
42720 : }
42721 : }
42722 :
42723 :
42724 1 : XS(_wrap_OWSRequest_getName) {
42725 : {
42726 1 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42727 : int arg2 ;
42728 1 : void *argp1 = 0 ;
42729 : int res1 = 0 ;
42730 : int val2 ;
42731 : int ecode2 = 0 ;
42732 : int argvi = 0;
42733 : char *result = 0 ;
42734 1 : dXSARGS;
42735 :
42736 1 : if ((items < 2) || (items > 2)) {
42737 0 : SWIG_croak("Usage: OWSRequest_getName(self,index);");
42738 : }
42739 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42740 1 : if (!SWIG_IsOK(res1)) {
42741 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getName" "', argument " "1"" of type '" "cgiRequestObj *""'");
42742 : }
42743 1 : arg1 = (cgiRequestObj *)(argp1);
42744 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42745 1 : if (!SWIG_IsOK(ecode2)) {
42746 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getName" "', argument " "2"" of type '" "int""'");
42747 : }
42748 1 : arg2 = (int)(val2);
42749 1 : result = (char *)cgiRequestObj_getName(arg1,arg2);
42750 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42751 :
42752 :
42753 1 : XSRETURN(argvi);
42754 : fail:
42755 :
42756 :
42757 0 : SWIG_croak_null();
42758 : }
42759 : }
42760 :
42761 :
42762 1 : XS(_wrap_OWSRequest_getValue) {
42763 : {
42764 1 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42765 : int arg2 ;
42766 1 : void *argp1 = 0 ;
42767 : int res1 = 0 ;
42768 : int val2 ;
42769 : int ecode2 = 0 ;
42770 : int argvi = 0;
42771 : char *result = 0 ;
42772 1 : dXSARGS;
42773 :
42774 1 : if ((items < 2) || (items > 2)) {
42775 0 : SWIG_croak("Usage: OWSRequest_getValue(self,index);");
42776 : }
42777 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42778 1 : if (!SWIG_IsOK(res1)) {
42779 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValue" "', argument " "1"" of type '" "cgiRequestObj *""'");
42780 : }
42781 1 : arg1 = (cgiRequestObj *)(argp1);
42782 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42783 1 : if (!SWIG_IsOK(ecode2)) {
42784 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getValue" "', argument " "2"" of type '" "int""'");
42785 : }
42786 1 : arg2 = (int)(val2);
42787 1 : result = (char *)cgiRequestObj_getValue(arg1,arg2);
42788 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42789 :
42790 :
42791 1 : XSRETURN(argvi);
42792 : fail:
42793 :
42794 :
42795 0 : SWIG_croak_null();
42796 : }
42797 : }
42798 :
42799 :
42800 1 : XS(_wrap_OWSRequest_getValueByName) {
42801 : {
42802 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42803 : char *arg2 = (char *) 0 ;
42804 1 : void *argp1 = 0 ;
42805 : int res1 = 0 ;
42806 : int res2 ;
42807 1 : char *buf2 = 0 ;
42808 1 : int alloc2 = 0 ;
42809 : int argvi = 0;
42810 : char *result = 0 ;
42811 1 : dXSARGS;
42812 :
42813 1 : if ((items < 2) || (items > 2)) {
42814 0 : SWIG_croak("Usage: OWSRequest_getValueByName(self,name);");
42815 : }
42816 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42817 1 : if (!SWIG_IsOK(res1)) {
42818 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValueByName" "', argument " "1"" of type '" "cgiRequestObj *""'");
42819 : }
42820 1 : arg1 = (cgiRequestObj *)(argp1);
42821 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42822 1 : if (!SWIG_IsOK(res2)) {
42823 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_getValueByName" "', argument " "2"" of type '" "char const *""'");
42824 : }
42825 1 : arg2 = (char *)(buf2);
42826 1 : result = (char *)cgiRequestObj_getValueByName(arg1,(char const *)arg2);
42827 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42828 :
42829 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42830 1 : XSRETURN(argvi);
42831 : fail:
42832 :
42833 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42834 0 : SWIG_croak_null();
42835 : }
42836 : }
42837 :
42838 :
42839 0 : XS(_wrap_msConnPoolCloseUnreferenced) {
42840 : {
42841 : int argvi = 0;
42842 0 : dXSARGS;
42843 :
42844 0 : if ((items < 0) || (items > 0)) {
42845 0 : SWIG_croak("Usage: msConnPoolCloseUnreferenced();");
42846 : }
42847 0 : msConnPoolCloseUnreferenced();
42848 0 : ST(argvi) = sv_newmortal();
42849 0 : XSRETURN(argvi);
42850 : fail:
42851 0 : SWIG_croak_null();
42852 : }
42853 : }
42854 :
42855 :
42856 0 : XS(_wrap_msIO_resetHandlers) {
42857 : {
42858 : int argvi = 0;
42859 0 : dXSARGS;
42860 :
42861 0 : if ((items < 0) || (items > 0)) {
42862 0 : SWIG_croak("Usage: msIO_resetHandlers();");
42863 : }
42864 0 : msIO_resetHandlers();
42865 0 : ST(argvi) = sv_newmortal();
42866 0 : XSRETURN(argvi);
42867 : fail:
42868 0 : SWIG_croak_null();
42869 : }
42870 : }
42871 :
42872 :
42873 1 : XS(_wrap_msIO_installStdoutToBuffer) {
42874 : {
42875 : int argvi = 0;
42876 1 : dXSARGS;
42877 :
42878 1 : if ((items < 0) || (items > 0)) {
42879 0 : SWIG_croak("Usage: msIO_installStdoutToBuffer();");
42880 : }
42881 1 : msIO_installStdoutToBuffer();
42882 1 : ST(argvi) = sv_newmortal();
42883 1 : XSRETURN(argvi);
42884 : fail:
42885 0 : SWIG_croak_null();
42886 : }
42887 : }
42888 :
42889 :
42890 0 : XS(_wrap_msIO_installStdinFromBuffer) {
42891 : {
42892 : int argvi = 0;
42893 0 : dXSARGS;
42894 :
42895 0 : if ((items < 0) || (items > 0)) {
42896 0 : SWIG_croak("Usage: msIO_installStdinFromBuffer();");
42897 : }
42898 0 : msIO_installStdinFromBuffer();
42899 0 : ST(argvi) = sv_newmortal();
42900 0 : XSRETURN(argvi);
42901 : fail:
42902 0 : SWIG_croak_null();
42903 : }
42904 : }
42905 :
42906 :
42907 0 : XS(_wrap_msIO_stripStdoutBufferContentType) {
42908 : {
42909 : int argvi = 0;
42910 : char *result = 0 ;
42911 0 : dXSARGS;
42912 :
42913 0 : if ((items < 0) || (items > 0)) {
42914 0 : SWIG_croak("Usage: msIO_stripStdoutBufferContentType();");
42915 : }
42916 0 : result = (char *)msIO_stripStdoutBufferContentType();
42917 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42918 0 : free((char*)result);
42919 0 : XSRETURN(argvi);
42920 : fail:
42921 0 : SWIG_croak_null();
42922 : }
42923 : }
42924 :
42925 :
42926 0 : XS(_wrap_msIO_stripStdoutBufferContentHeaders) {
42927 : {
42928 : int argvi = 0;
42929 0 : dXSARGS;
42930 :
42931 0 : if ((items < 0) || (items > 0)) {
42932 0 : SWIG_croak("Usage: msIO_stripStdoutBufferContentHeaders();");
42933 : }
42934 0 : msIO_stripStdoutBufferContentHeaders();
42935 0 : ST(argvi) = sv_newmortal();
42936 0 : XSRETURN(argvi);
42937 : fail:
42938 0 : SWIG_croak_null();
42939 : }
42940 : }
42941 :
42942 :
42943 0 : XS(_wrap_msIO_getStdoutBufferString) {
42944 : {
42945 : int argvi = 0;
42946 : char *result = 0 ;
42947 0 : dXSARGS;
42948 :
42949 0 : if ((items < 0) || (items > 0)) {
42950 0 : SWIG_croak("Usage: msIO_getStdoutBufferString();");
42951 : }
42952 0 : result = (char *)msIO_getStdoutBufferString();
42953 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42954 0 : XSRETURN(argvi);
42955 : fail:
42956 0 : SWIG_croak_null();
42957 : }
42958 : }
42959 :
42960 :
42961 1 : XS(_wrap_msIO_getStdoutBufferBytes) {
42962 : {
42963 : int argvi = 0;
42964 : gdBuffer result;
42965 1 : dXSARGS;
42966 :
42967 1 : if ((items < 0) || (items > 0)) {
42968 0 : SWIG_croak("Usage: msIO_getStdoutBufferBytes();");
42969 : }
42970 1 : result = msIO_getStdoutBufferBytes();
42971 : {
42972 : SV *mysv;
42973 1 : mysv = sv_newmortal();
42974 1 : if ((&result)->data == NULL)
42975 0 : sv_setpv(mysv,"");
42976 : else
42977 1 : sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
42978 1 : ST(argvi) = newRV(mysv);
42979 1 : sv_2mortal(ST(argvi));
42980 : argvi++;
42981 1 : if( (&result)->owns_data )
42982 1 : msFree((&result)->data);
42983 : }
42984 1 : XSRETURN(argvi);
42985 : fail:
42986 0 : SWIG_croak_null();
42987 : }
42988 : }
42989 :
42990 :
42991 1 : XS(_wrap_msIO_getAndStripStdoutBufferMimeHeaders) {
42992 : {
42993 : int argvi = 0;
42994 : hashTableObj *result = 0 ;
42995 1 : dXSARGS;
42996 :
42997 1 : if ((items < 0) || (items > 0)) {
42998 0 : SWIG_croak("Usage: msIO_getAndStripStdoutBufferMimeHeaders();");
42999 : }
43000 1 : result = (hashTableObj *)msIO_getAndStripStdoutBufferMimeHeaders();
43001 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
43002 1 : XSRETURN(argvi);
43003 : fail:
43004 0 : SWIG_croak_null();
43005 : }
43006 : }
43007 :
43008 :
43009 :
43010 : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
43011 :
43012 0 : static void *_p_intarrayTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) {
43013 0 : return (void *)((int *) ((intarray *) x));
43014 : }
43015 : static swig_type_info _swigt__p_CompositingOperation = {"_p_CompositingOperation", "enum CompositingOperation *|CompositingOperation *", 0, 0, (void*)0, 0};
43016 : static swig_type_info _swigt__p_DBFFieldType = {"_p_DBFFieldType", "enum DBFFieldType *|DBFFieldType *", 0, 0, (void*)0, 0};
43017 : static swig_type_info _swigt__p_DBFInfo = {"_p_DBFInfo", "DBFInfo *", 0, 0, (void*)"mapscript::DBFInfo", 0};
43018 : static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
43019 : static swig_type_info _swigt__p__CompositingFilter = {"_p__CompositingFilter", "struct _CompositingFilter *|_CompositingFilter *|CompositingFilter *", 0, 0, (void*)"mapscript::CompositingFilter", 0};
43020 : static swig_type_info _swigt__p__LayerCompositer = {"_p__LayerCompositer", "struct _LayerCompositer *|_LayerCompositer *|LayerCompositer *", 0, 0, (void*)"mapscript::LayerCompositer", 0};
43021 : static swig_type_info _swigt__p_cgiRequestObj = {"_p_cgiRequestObj", "cgiRequestObj *", 0, 0, (void*)"mapscript::OWSRequest", 0};
43022 : static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
43023 : static swig_type_info _swigt__p_classObj = {"_p_classObj", "classObj *|struct classObj *", 0, 0, (void*)"mapscript::classObj", 0};
43024 : static swig_type_info _swigt__p_clusterObj = {"_p_clusterObj", "clusterObj *", 0, 0, (void*)"mapscript::clusterObj", 0};
43025 : static swig_type_info _swigt__p_colorObj = {"_p_colorObj", "colorObj *", 0, 0, (void*)"mapscript::colorObj", 0};
43026 : static swig_type_info _swigt__p_debugLevel = {"_p_debugLevel", "enum debugLevel *|debugLevel *", 0, 0, (void*)0, 0};
43027 : static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
43028 : static swig_type_info _swigt__p_errorObj = {"_p_errorObj", "struct errorObj *|errorObj *", 0, 0, (void*)"mapscript::errorObj", 0};
43029 : static swig_type_info _swigt__p_expressionObj = {"_p_expressionObj", "expressionObj *", 0, 0, (void*)0, 0};
43030 : static swig_type_info _swigt__p_fontSetObj = {"_p_fontSetObj", "fontSetObj *", 0, 0, (void*)"mapscript::fontSetObj", 0};
43031 : static swig_type_info _swigt__p_hashTableObj = {"_p_hashTableObj", "hashTableObj *", 0, 0, (void*)"mapscript::hashTableObj", 0};
43032 : static swig_type_info _swigt__p_imageObj = {"_p_imageObj", "imageObj *|struct imageObj *", 0, 0, (void*)"mapscript::imageObj", 0};
43033 : static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
43034 : static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *|ms_int32 *", 0, 0, (void*)0, 0};
43035 : static swig_type_info _swigt__p_intarray = {"_p_intarray", "intarray *", 0, 0, (void*)"mapscript::intarray", 0};
43036 : static swig_type_info _swigt__p_labelCacheMemberObj = {"_p_labelCacheMemberObj", "labelCacheMemberObj *", 0, 0, (void*)"mapscript::labelCacheMemberObj", 0};
43037 : static swig_type_info _swigt__p_labelCacheObj = {"_p_labelCacheObj", "labelCacheObj *", 0, 0, (void*)"mapscript::labelCacheObj", 0};
43038 : static swig_type_info _swigt__p_labelCacheSlotObj = {"_p_labelCacheSlotObj", "labelCacheSlotObj *", 0, 0, (void*)"mapscript::labelCacheSlotObj", 0};
43039 : static swig_type_info _swigt__p_labelLeaderObj = {"_p_labelLeaderObj", "labelLeaderObj *", 0, 0, (void*)"mapscript::labelLeaderObj", 0};
43040 : static swig_type_info _swigt__p_labelObj = {"_p_labelObj", "struct labelObj *|labelObj *", 0, 0, (void*)"mapscript::labelObj", 0};
43041 : static swig_type_info _swigt__p_layerObj = {"_p_layerObj", "struct layerObj *|layerObj *", 0, 0, (void*)"mapscript::layerObj", 0};
43042 : static swig_type_info _swigt__p_legendObj = {"_p_legendObj", "legendObj *", 0, 0, (void*)"mapscript::legendObj", 0};
43043 : static swig_type_info _swigt__p_lineObj = {"_p_lineObj", "lineObj *|multipointObj *", 0, 0, (void*)"mapscript::lineObj", 0};
43044 : static swig_type_info _swigt__p_mapObj = {"_p_mapObj", "struct mapObj *|mapObj *", 0, 0, (void*)"mapscript::mapObj", 0};
43045 : static swig_type_info _swigt__p_markerCacheMemberObj = {"_p_markerCacheMemberObj", "markerCacheMemberObj *", 0, 0, (void*)"mapscript::markerCacheMemberObj", 0};
43046 : static swig_type_info _swigt__p_outputFormatObj = {"_p_outputFormatObj", "outputFormatObj *", 0, 0, (void*)"mapscript::outputFormatObj", 0};
43047 : static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
43048 : static swig_type_info _swigt__p_p_labelCacheMemberObj = {"_p_p_labelCacheMemberObj", "labelCacheMemberObj **", 0, 0, (void*)0, 0};
43049 : static swig_type_info _swigt__p_p_textSymbolObj = {"_p_p_textSymbolObj", "textSymbolObj **", 0, 0, (void*)0, 0};
43050 : static swig_type_info _swigt__p_pointObj = {"_p_pointObj", "pointObj *", 0, 0, (void*)"mapscript::pointObj", 0};
43051 : static swig_type_info _swigt__p_projectionContext = {"_p_projectionContext", "struct projectionContext *|projectionContext *", 0, 0, (void*)0, 0};
43052 : static swig_type_info _swigt__p_projectionObj = {"_p_projectionObj", "projectionObj *", 0, 0, (void*)"mapscript::projectionObj", 0};
43053 : static swig_type_info _swigt__p_queryMapObj = {"_p_queryMapObj", "queryMapObj *", 0, 0, (void*)"mapscript::queryMapObj", 0};
43054 : static swig_type_info _swigt__p_rectObj = {"_p_rectObj", "rectObj *", 0, 0, (void*)"mapscript::rectObj", 0};
43055 : static swig_type_info _swigt__p_referenceMapObj = {"_p_referenceMapObj", "referenceMapObj *", 0, 0, (void*)"mapscript::referenceMapObj", 0};
43056 : static swig_type_info _swigt__p_resultCacheObj = {"_p_resultCacheObj", "resultCacheObj *", 0, 0, (void*)"mapscript::resultCacheObj", 0};
43057 : static swig_type_info _swigt__p_resultObj = {"_p_resultObj", "resultObj *", 0, 0, (void*)"mapscript::resultObj", 0};
43058 : static swig_type_info _swigt__p_scaleTokenEntryObj = {"_p_scaleTokenEntryObj", "scaleTokenEntryObj *", 0, 0, (void*)"mapscript::scaleTokenEntryObj", 0};
43059 : static swig_type_info _swigt__p_scaleTokenObj = {"_p_scaleTokenObj", "scaleTokenObj *", 0, 0, (void*)"mapscript::scaleTokenObj", 0};
43060 : static swig_type_info _swigt__p_scalebarObj = {"_p_scalebarObj", "scalebarObj *", 0, 0, (void*)"mapscript::scalebarObj", 0};
43061 : static swig_type_info _swigt__p_shapeObj = {"_p_shapeObj", "shapeObj *", 0, 0, (void*)"mapscript::shapeObj", 0};
43062 : static swig_type_info _swigt__p_shapefileObj = {"_p_shapefileObj", "shapefileObj *", 0, 0, (void*)"mapscript::shapefileObj", 0};
43063 : static swig_type_info _swigt__p_styleObj = {"_p_styleObj", "struct styleObj *|styleObj *", 0, 0, (void*)"mapscript::styleObj", 0};
43064 : static swig_type_info _swigt__p_symbolObj = {"_p_symbolObj", "symbolObj *|struct symbolObj *", 0, 0, (void*)"mapscript::symbolObj", 0};
43065 : static swig_type_info _swigt__p_symbolSetObj = {"_p_symbolSetObj", "symbolSetObj *", 0, 0, (void*)"mapscript::symbolSetObj", 0};
43066 : static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *|ms_uint32 *|ms_bitarray", 0, 0, (void*)0, 0};
43067 : static swig_type_info _swigt__p_webObj = {"_p_webObj", "webObj *", 0, 0, (void*)"mapscript::webObj", 0};
43068 :
43069 : static swig_type_info *swig_type_initial[] = {
43070 : &_swigt__p_CompositingOperation,
43071 : &_swigt__p_DBFFieldType,
43072 : &_swigt__p_DBFInfo,
43073 : &_swigt__p_FILE,
43074 : &_swigt__p__CompositingFilter,
43075 : &_swigt__p__LayerCompositer,
43076 : &_swigt__p_cgiRequestObj,
43077 : &_swigt__p_char,
43078 : &_swigt__p_classObj,
43079 : &_swigt__p_clusterObj,
43080 : &_swigt__p_colorObj,
43081 : &_swigt__p_debugLevel,
43082 : &_swigt__p_double,
43083 : &_swigt__p_errorObj,
43084 : &_swigt__p_expressionObj,
43085 : &_swigt__p_fontSetObj,
43086 : &_swigt__p_hashTableObj,
43087 : &_swigt__p_imageObj,
43088 : &_swigt__p_int,
43089 : &_swigt__p_int32_t,
43090 : &_swigt__p_intarray,
43091 : &_swigt__p_labelCacheMemberObj,
43092 : &_swigt__p_labelCacheObj,
43093 : &_swigt__p_labelCacheSlotObj,
43094 : &_swigt__p_labelLeaderObj,
43095 : &_swigt__p_labelObj,
43096 : &_swigt__p_layerObj,
43097 : &_swigt__p_legendObj,
43098 : &_swigt__p_lineObj,
43099 : &_swigt__p_mapObj,
43100 : &_swigt__p_markerCacheMemberObj,
43101 : &_swigt__p_outputFormatObj,
43102 : &_swigt__p_p_char,
43103 : &_swigt__p_p_labelCacheMemberObj,
43104 : &_swigt__p_p_textSymbolObj,
43105 : &_swigt__p_pointObj,
43106 : &_swigt__p_projectionContext,
43107 : &_swigt__p_projectionObj,
43108 : &_swigt__p_queryMapObj,
43109 : &_swigt__p_rectObj,
43110 : &_swigt__p_referenceMapObj,
43111 : &_swigt__p_resultCacheObj,
43112 : &_swigt__p_resultObj,
43113 : &_swigt__p_scaleTokenEntryObj,
43114 : &_swigt__p_scaleTokenObj,
43115 : &_swigt__p_scalebarObj,
43116 : &_swigt__p_shapeObj,
43117 : &_swigt__p_shapefileObj,
43118 : &_swigt__p_styleObj,
43119 : &_swigt__p_symbolObj,
43120 : &_swigt__p_symbolSetObj,
43121 : &_swigt__p_uint32_t,
43122 : &_swigt__p_webObj,
43123 : };
43124 :
43125 : static swig_cast_info _swigc__p_CompositingOperation[] = { {&_swigt__p_CompositingOperation, 0, 0, 0},{0, 0, 0, 0}};
43126 : static swig_cast_info _swigc__p_DBFFieldType[] = { {&_swigt__p_DBFFieldType, 0, 0, 0},{0, 0, 0, 0}};
43127 : static swig_cast_info _swigc__p_DBFInfo[] = { {&_swigt__p_DBFInfo, 0, 0, 0},{0, 0, 0, 0}};
43128 : static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
43129 : static swig_cast_info _swigc__p__CompositingFilter[] = { {&_swigt__p__CompositingFilter, 0, 0, 0},{0, 0, 0, 0}};
43130 : static swig_cast_info _swigc__p__LayerCompositer[] = { {&_swigt__p__LayerCompositer, 0, 0, 0},{0, 0, 0, 0}};
43131 : static swig_cast_info _swigc__p_cgiRequestObj[] = { {&_swigt__p_cgiRequestObj, 0, 0, 0},{0, 0, 0, 0}};
43132 : static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
43133 : static swig_cast_info _swigc__p_classObj[] = { {&_swigt__p_classObj, 0, 0, 0},{0, 0, 0, 0}};
43134 : static swig_cast_info _swigc__p_clusterObj[] = { {&_swigt__p_clusterObj, 0, 0, 0},{0, 0, 0, 0}};
43135 : static swig_cast_info _swigc__p_colorObj[] = { {&_swigt__p_colorObj, 0, 0, 0},{0, 0, 0, 0}};
43136 : static swig_cast_info _swigc__p_debugLevel[] = { {&_swigt__p_debugLevel, 0, 0, 0},{0, 0, 0, 0}};
43137 : static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
43138 : static swig_cast_info _swigc__p_errorObj[] = { {&_swigt__p_errorObj, 0, 0, 0},{0, 0, 0, 0}};
43139 : static swig_cast_info _swigc__p_expressionObj[] = { {&_swigt__p_expressionObj, 0, 0, 0},{0, 0, 0, 0}};
43140 : static swig_cast_info _swigc__p_fontSetObj[] = { {&_swigt__p_fontSetObj, 0, 0, 0},{0, 0, 0, 0}};
43141 : static swig_cast_info _swigc__p_hashTableObj[] = { {&_swigt__p_hashTableObj, 0, 0, 0},{0, 0, 0, 0}};
43142 : static swig_cast_info _swigc__p_imageObj[] = { {&_swigt__p_imageObj, 0, 0, 0},{0, 0, 0, 0}};
43143 : static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0}, {&_swigt__p_intarray, _p_intarrayTo_p_int, 0, 0},{0, 0, 0, 0}};
43144 : static swig_cast_info _swigc__p_int32_t[] = { {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}};
43145 : static swig_cast_info _swigc__p_intarray[] = { {&_swigt__p_intarray, 0, 0, 0},{0, 0, 0, 0}};
43146 : static swig_cast_info _swigc__p_labelCacheMemberObj[] = { {&_swigt__p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
43147 : static swig_cast_info _swigc__p_labelCacheObj[] = { {&_swigt__p_labelCacheObj, 0, 0, 0},{0, 0, 0, 0}};
43148 : static swig_cast_info _swigc__p_labelCacheSlotObj[] = { {&_swigt__p_labelCacheSlotObj, 0, 0, 0},{0, 0, 0, 0}};
43149 : static swig_cast_info _swigc__p_labelLeaderObj[] = { {&_swigt__p_labelLeaderObj, 0, 0, 0},{0, 0, 0, 0}};
43150 : static swig_cast_info _swigc__p_labelObj[] = { {&_swigt__p_labelObj, 0, 0, 0},{0, 0, 0, 0}};
43151 : static swig_cast_info _swigc__p_layerObj[] = { {&_swigt__p_layerObj, 0, 0, 0},{0, 0, 0, 0}};
43152 : static swig_cast_info _swigc__p_legendObj[] = { {&_swigt__p_legendObj, 0, 0, 0},{0, 0, 0, 0}};
43153 : static swig_cast_info _swigc__p_lineObj[] = { {&_swigt__p_lineObj, 0, 0, 0},{0, 0, 0, 0}};
43154 : static swig_cast_info _swigc__p_mapObj[] = { {&_swigt__p_mapObj, 0, 0, 0},{0, 0, 0, 0}};
43155 : static swig_cast_info _swigc__p_markerCacheMemberObj[] = { {&_swigt__p_markerCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
43156 : static swig_cast_info _swigc__p_outputFormatObj[] = { {&_swigt__p_outputFormatObj, 0, 0, 0},{0, 0, 0, 0}};
43157 : static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
43158 : static swig_cast_info _swigc__p_p_labelCacheMemberObj[] = { {&_swigt__p_p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
43159 : static swig_cast_info _swigc__p_p_textSymbolObj[] = { {&_swigt__p_p_textSymbolObj, 0, 0, 0},{0, 0, 0, 0}};
43160 : static swig_cast_info _swigc__p_pointObj[] = { {&_swigt__p_pointObj, 0, 0, 0},{0, 0, 0, 0}};
43161 : static swig_cast_info _swigc__p_projectionContext[] = { {&_swigt__p_projectionContext, 0, 0, 0},{0, 0, 0, 0}};
43162 : static swig_cast_info _swigc__p_projectionObj[] = { {&_swigt__p_projectionObj, 0, 0, 0},{0, 0, 0, 0}};
43163 : static swig_cast_info _swigc__p_queryMapObj[] = { {&_swigt__p_queryMapObj, 0, 0, 0},{0, 0, 0, 0}};
43164 : static swig_cast_info _swigc__p_rectObj[] = { {&_swigt__p_rectObj, 0, 0, 0},{0, 0, 0, 0}};
43165 : static swig_cast_info _swigc__p_referenceMapObj[] = { {&_swigt__p_referenceMapObj, 0, 0, 0},{0, 0, 0, 0}};
43166 : static swig_cast_info _swigc__p_resultCacheObj[] = { {&_swigt__p_resultCacheObj, 0, 0, 0},{0, 0, 0, 0}};
43167 : static swig_cast_info _swigc__p_resultObj[] = { {&_swigt__p_resultObj, 0, 0, 0},{0, 0, 0, 0}};
43168 : static swig_cast_info _swigc__p_scaleTokenEntryObj[] = { {&_swigt__p_scaleTokenEntryObj, 0, 0, 0},{0, 0, 0, 0}};
43169 : static swig_cast_info _swigc__p_scaleTokenObj[] = { {&_swigt__p_scaleTokenObj, 0, 0, 0},{0, 0, 0, 0}};
43170 : static swig_cast_info _swigc__p_scalebarObj[] = { {&_swigt__p_scalebarObj, 0, 0, 0},{0, 0, 0, 0}};
43171 : static swig_cast_info _swigc__p_shapeObj[] = { {&_swigt__p_shapeObj, 0, 0, 0},{0, 0, 0, 0}};
43172 : static swig_cast_info _swigc__p_shapefileObj[] = { {&_swigt__p_shapefileObj, 0, 0, 0},{0, 0, 0, 0}};
43173 : static swig_cast_info _swigc__p_styleObj[] = { {&_swigt__p_styleObj, 0, 0, 0},{0, 0, 0, 0}};
43174 : static swig_cast_info _swigc__p_symbolObj[] = { {&_swigt__p_symbolObj, 0, 0, 0},{0, 0, 0, 0}};
43175 : static swig_cast_info _swigc__p_symbolSetObj[] = { {&_swigt__p_symbolSetObj, 0, 0, 0},{0, 0, 0, 0}};
43176 : static swig_cast_info _swigc__p_uint32_t[] = { {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
43177 : static swig_cast_info _swigc__p_webObj[] = { {&_swigt__p_webObj, 0, 0, 0},{0, 0, 0, 0}};
43178 :
43179 : static swig_cast_info *swig_cast_initial[] = {
43180 : _swigc__p_CompositingOperation,
43181 : _swigc__p_DBFFieldType,
43182 : _swigc__p_DBFInfo,
43183 : _swigc__p_FILE,
43184 : _swigc__p__CompositingFilter,
43185 : _swigc__p__LayerCompositer,
43186 : _swigc__p_cgiRequestObj,
43187 : _swigc__p_char,
43188 : _swigc__p_classObj,
43189 : _swigc__p_clusterObj,
43190 : _swigc__p_colorObj,
43191 : _swigc__p_debugLevel,
43192 : _swigc__p_double,
43193 : _swigc__p_errorObj,
43194 : _swigc__p_expressionObj,
43195 : _swigc__p_fontSetObj,
43196 : _swigc__p_hashTableObj,
43197 : _swigc__p_imageObj,
43198 : _swigc__p_int,
43199 : _swigc__p_int32_t,
43200 : _swigc__p_intarray,
43201 : _swigc__p_labelCacheMemberObj,
43202 : _swigc__p_labelCacheObj,
43203 : _swigc__p_labelCacheSlotObj,
43204 : _swigc__p_labelLeaderObj,
43205 : _swigc__p_labelObj,
43206 : _swigc__p_layerObj,
43207 : _swigc__p_legendObj,
43208 : _swigc__p_lineObj,
43209 : _swigc__p_mapObj,
43210 : _swigc__p_markerCacheMemberObj,
43211 : _swigc__p_outputFormatObj,
43212 : _swigc__p_p_char,
43213 : _swigc__p_p_labelCacheMemberObj,
43214 : _swigc__p_p_textSymbolObj,
43215 : _swigc__p_pointObj,
43216 : _swigc__p_projectionContext,
43217 : _swigc__p_projectionObj,
43218 : _swigc__p_queryMapObj,
43219 : _swigc__p_rectObj,
43220 : _swigc__p_referenceMapObj,
43221 : _swigc__p_resultCacheObj,
43222 : _swigc__p_resultObj,
43223 : _swigc__p_scaleTokenEntryObj,
43224 : _swigc__p_scaleTokenObj,
43225 : _swigc__p_scalebarObj,
43226 : _swigc__p_shapeObj,
43227 : _swigc__p_shapefileObj,
43228 : _swigc__p_styleObj,
43229 : _swigc__p_symbolObj,
43230 : _swigc__p_symbolSetObj,
43231 : _swigc__p_uint32_t,
43232 : _swigc__p_webObj,
43233 : };
43234 :
43235 :
43236 : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43237 :
43238 : static swig_constant_info swig_constants[] = {
43239 : {0,0,0,0,0,0}
43240 : };
43241 : #ifdef __cplusplus
43242 : }
43243 : #endif
43244 : static swig_variable_info swig_variables[] = {
43245 : {0,0,0,0}
43246 : };
43247 : static swig_command_info swig_commands[] = {
43248 : {"mapscriptc::new_intarray", _wrap_new_intarray},
43249 : {"mapscriptc::delete_intarray", _wrap_delete_intarray},
43250 : {"mapscriptc::intarray_getitem", _wrap_intarray_getitem},
43251 : {"mapscriptc::intarray_setitem", _wrap_intarray_setitem},
43252 : {"mapscriptc::intarray_cast", _wrap_intarray_cast},
43253 : {"mapscriptc::intarray_frompointer", _wrap_intarray_frompointer},
43254 : {"mapscriptc::CompositingFilter_filter_set", _wrap_CompositingFilter_filter_set},
43255 : {"mapscriptc::CompositingFilter_filter_get", _wrap_CompositingFilter_filter_get},
43256 : {"mapscriptc::CompositingFilter_next_set", _wrap_CompositingFilter_next_set},
43257 : {"mapscriptc::CompositingFilter_next_get", _wrap_CompositingFilter_next_get},
43258 : {"mapscriptc::new_CompositingFilter", _wrap_new_CompositingFilter},
43259 : {"mapscriptc::delete_CompositingFilter", _wrap_delete_CompositingFilter},
43260 : {"mapscriptc::LayerCompositer_comp_op_set", _wrap_LayerCompositer_comp_op_set},
43261 : {"mapscriptc::LayerCompositer_comp_op_get", _wrap_LayerCompositer_comp_op_get},
43262 : {"mapscriptc::LayerCompositer_opacity_set", _wrap_LayerCompositer_opacity_set},
43263 : {"mapscriptc::LayerCompositer_opacity_get", _wrap_LayerCompositer_opacity_get},
43264 : {"mapscriptc::LayerCompositer_filter_set", _wrap_LayerCompositer_filter_set},
43265 : {"mapscriptc::LayerCompositer_filter_get", _wrap_LayerCompositer_filter_get},
43266 : {"mapscriptc::LayerCompositer_next_set", _wrap_LayerCompositer_next_set},
43267 : {"mapscriptc::LayerCompositer_next_get", _wrap_LayerCompositer_next_get},
43268 : {"mapscriptc::new_LayerCompositer", _wrap_new_LayerCompositer},
43269 : {"mapscriptc::delete_LayerCompositer", _wrap_delete_LayerCompositer},
43270 : {"mapscriptc::fontSetObj_filename_get", _wrap_fontSetObj_filename_get},
43271 : {"mapscriptc::fontSetObj_numfonts_get", _wrap_fontSetObj_numfonts_get},
43272 : {"mapscriptc::fontSetObj_fonts_get", _wrap_fontSetObj_fonts_get},
43273 : {"mapscriptc::new_fontSetObj", _wrap_new_fontSetObj},
43274 : {"mapscriptc::delete_fontSetObj", _wrap_delete_fontSetObj},
43275 : {"mapscriptc::clusterObj_maxdistance_set", _wrap_clusterObj_maxdistance_set},
43276 : {"mapscriptc::clusterObj_maxdistance_get", _wrap_clusterObj_maxdistance_get},
43277 : {"mapscriptc::clusterObj_buffer_set", _wrap_clusterObj_buffer_set},
43278 : {"mapscriptc::clusterObj_buffer_get", _wrap_clusterObj_buffer_get},
43279 : {"mapscriptc::clusterObj_region_set", _wrap_clusterObj_region_set},
43280 : {"mapscriptc::clusterObj_region_get", _wrap_clusterObj_region_get},
43281 : {"mapscriptc::clusterObj_updateFromString", _wrap_clusterObj_updateFromString},
43282 : {"mapscriptc::clusterObj_convertToString", _wrap_clusterObj_convertToString},
43283 : {"mapscriptc::clusterObj_setGroup", _wrap_clusterObj_setGroup},
43284 : {"mapscriptc::clusterObj_getGroupString", _wrap_clusterObj_getGroupString},
43285 : {"mapscriptc::clusterObj_setFilter", _wrap_clusterObj_setFilter},
43286 : {"mapscriptc::clusterObj_getFilterString", _wrap_clusterObj_getFilterString},
43287 : {"mapscriptc::new_clusterObj", _wrap_new_clusterObj},
43288 : {"mapscriptc::delete_clusterObj", _wrap_delete_clusterObj},
43289 : {"mapscriptc::outputFormatObj_numformatoptions_get", _wrap_outputFormatObj_numformatoptions_get},
43290 : {"mapscriptc::outputFormatObj_name_set", _wrap_outputFormatObj_name_set},
43291 : {"mapscriptc::outputFormatObj_name_get", _wrap_outputFormatObj_name_get},
43292 : {"mapscriptc::outputFormatObj_mimetype_set", _wrap_outputFormatObj_mimetype_set},
43293 : {"mapscriptc::outputFormatObj_mimetype_get", _wrap_outputFormatObj_mimetype_get},
43294 : {"mapscriptc::outputFormatObj_driver_set", _wrap_outputFormatObj_driver_set},
43295 : {"mapscriptc::outputFormatObj_driver_get", _wrap_outputFormatObj_driver_get},
43296 : {"mapscriptc::outputFormatObj_extension_set", _wrap_outputFormatObj_extension_set},
43297 : {"mapscriptc::outputFormatObj_extension_get", _wrap_outputFormatObj_extension_get},
43298 : {"mapscriptc::outputFormatObj_renderer_set", _wrap_outputFormatObj_renderer_set},
43299 : {"mapscriptc::outputFormatObj_renderer_get", _wrap_outputFormatObj_renderer_get},
43300 : {"mapscriptc::outputFormatObj_imagemode_set", _wrap_outputFormatObj_imagemode_set},
43301 : {"mapscriptc::outputFormatObj_imagemode_get", _wrap_outputFormatObj_imagemode_get},
43302 : {"mapscriptc::outputFormatObj_transparent_set", _wrap_outputFormatObj_transparent_set},
43303 : {"mapscriptc::outputFormatObj_transparent_get", _wrap_outputFormatObj_transparent_get},
43304 : {"mapscriptc::outputFormatObj_bands_set", _wrap_outputFormatObj_bands_set},
43305 : {"mapscriptc::outputFormatObj_bands_get", _wrap_outputFormatObj_bands_get},
43306 : {"mapscriptc::outputFormatObj_inmapfile_set", _wrap_outputFormatObj_inmapfile_set},
43307 : {"mapscriptc::outputFormatObj_inmapfile_get", _wrap_outputFormatObj_inmapfile_get},
43308 : {"mapscriptc::new_outputFormatObj", _wrap_new_outputFormatObj},
43309 : {"mapscriptc::delete_outputFormatObj", _wrap_delete_outputFormatObj},
43310 : {"mapscriptc::outputFormatObj_setExtension", _wrap_outputFormatObj_setExtension},
43311 : {"mapscriptc::outputFormatObj_setMimetype", _wrap_outputFormatObj_setMimetype},
43312 : {"mapscriptc::outputFormatObj_setOption", _wrap_outputFormatObj_setOption},
43313 : {"mapscriptc::outputFormatObj_validate", _wrap_outputFormatObj_validate},
43314 : {"mapscriptc::outputFormatObj_getOption", _wrap_outputFormatObj_getOption},
43315 : {"mapscriptc::outputFormatObj_getOptionAt", _wrap_outputFormatObj_getOptionAt},
43316 : {"mapscriptc::outputFormatObj_attachDevice", _wrap_outputFormatObj_attachDevice},
43317 : {"mapscriptc::queryMapObj_height_set", _wrap_queryMapObj_height_set},
43318 : {"mapscriptc::queryMapObj_height_get", _wrap_queryMapObj_height_get},
43319 : {"mapscriptc::queryMapObj_width_set", _wrap_queryMapObj_width_set},
43320 : {"mapscriptc::queryMapObj_width_get", _wrap_queryMapObj_width_get},
43321 : {"mapscriptc::queryMapObj_status_set", _wrap_queryMapObj_status_set},
43322 : {"mapscriptc::queryMapObj_status_get", _wrap_queryMapObj_status_get},
43323 : {"mapscriptc::queryMapObj_style_set", _wrap_queryMapObj_style_set},
43324 : {"mapscriptc::queryMapObj_style_get", _wrap_queryMapObj_style_get},
43325 : {"mapscriptc::queryMapObj_color_set", _wrap_queryMapObj_color_set},
43326 : {"mapscriptc::queryMapObj_color_get", _wrap_queryMapObj_color_get},
43327 : {"mapscriptc::queryMapObj_updateFromString", _wrap_queryMapObj_updateFromString},
43328 : {"mapscriptc::queryMapObj_convertToString", _wrap_queryMapObj_convertToString},
43329 : {"mapscriptc::new_queryMapObj", _wrap_new_queryMapObj},
43330 : {"mapscriptc::delete_queryMapObj", _wrap_delete_queryMapObj},
43331 : {"mapscriptc::webObj_log_set", _wrap_webObj_log_set},
43332 : {"mapscriptc::webObj_log_get", _wrap_webObj_log_get},
43333 : {"mapscriptc::webObj_imagepath_set", _wrap_webObj_imagepath_set},
43334 : {"mapscriptc::webObj_imagepath_get", _wrap_webObj_imagepath_get},
43335 : {"mapscriptc::webObj_imageurl_set", _wrap_webObj_imageurl_set},
43336 : {"mapscriptc::webObj_imageurl_get", _wrap_webObj_imageurl_get},
43337 : {"mapscriptc::webObj_temppath_set", _wrap_webObj_temppath_set},
43338 : {"mapscriptc::webObj_temppath_get", _wrap_webObj_temppath_get},
43339 : {"mapscriptc::webObj_map_get", _wrap_webObj_map_get},
43340 : {"mapscriptc::webObj_template_set", _wrap_webObj_template_set},
43341 : {"mapscriptc::webObj_template_get", _wrap_webObj_template_get},
43342 : {"mapscriptc::webObj_header_set", _wrap_webObj_header_set},
43343 : {"mapscriptc::webObj_header_get", _wrap_webObj_header_get},
43344 : {"mapscriptc::webObj_footer_set", _wrap_webObj_footer_set},
43345 : {"mapscriptc::webObj_footer_get", _wrap_webObj_footer_get},
43346 : {"mapscriptc::webObj_empty_set", _wrap_webObj_empty_set},
43347 : {"mapscriptc::webObj_empty_get", _wrap_webObj_empty_get},
43348 : {"mapscriptc::webObj_error_set", _wrap_webObj_error_set},
43349 : {"mapscriptc::webObj_error_get", _wrap_webObj_error_get},
43350 : {"mapscriptc::webObj_extent_set", _wrap_webObj_extent_set},
43351 : {"mapscriptc::webObj_extent_get", _wrap_webObj_extent_get},
43352 : {"mapscriptc::webObj_minscaledenom_set", _wrap_webObj_minscaledenom_set},
43353 : {"mapscriptc::webObj_minscaledenom_get", _wrap_webObj_minscaledenom_get},
43354 : {"mapscriptc::webObj_maxscaledenom_set", _wrap_webObj_maxscaledenom_set},
43355 : {"mapscriptc::webObj_maxscaledenom_get", _wrap_webObj_maxscaledenom_get},
43356 : {"mapscriptc::webObj_mintemplate_set", _wrap_webObj_mintemplate_set},
43357 : {"mapscriptc::webObj_mintemplate_get", _wrap_webObj_mintemplate_get},
43358 : {"mapscriptc::webObj_maxtemplate_set", _wrap_webObj_maxtemplate_set},
43359 : {"mapscriptc::webObj_maxtemplate_get", _wrap_webObj_maxtemplate_get},
43360 : {"mapscriptc::webObj_queryformat_set", _wrap_webObj_queryformat_set},
43361 : {"mapscriptc::webObj_queryformat_get", _wrap_webObj_queryformat_get},
43362 : {"mapscriptc::webObj_legendformat_set", _wrap_webObj_legendformat_set},
43363 : {"mapscriptc::webObj_legendformat_get", _wrap_webObj_legendformat_get},
43364 : {"mapscriptc::webObj_browseformat_set", _wrap_webObj_browseformat_set},
43365 : {"mapscriptc::webObj_browseformat_get", _wrap_webObj_browseformat_get},
43366 : {"mapscriptc::webObj_metadata_get", _wrap_webObj_metadata_get},
43367 : {"mapscriptc::webObj_validation_get", _wrap_webObj_validation_get},
43368 : {"mapscriptc::new_webObj", _wrap_new_webObj},
43369 : {"mapscriptc::delete_webObj", _wrap_delete_webObj},
43370 : {"mapscriptc::webObj_updateFromString", _wrap_webObj_updateFromString},
43371 : {"mapscriptc::webObj_convertToString", _wrap_webObj_convertToString},
43372 : {"mapscriptc::styleObj_refcount_get", _wrap_styleObj_refcount_get},
43373 : {"mapscriptc::styleObj_symbolname_get", _wrap_styleObj_symbolname_get},
43374 : {"mapscriptc::styleObj_autoangle_set", _wrap_styleObj_autoangle_set},
43375 : {"mapscriptc::styleObj_autoangle_get", _wrap_styleObj_autoangle_get},
43376 : {"mapscriptc::styleObj_color_set", _wrap_styleObj_color_set},
43377 : {"mapscriptc::styleObj_color_get", _wrap_styleObj_color_get},
43378 : {"mapscriptc::styleObj_backgroundcolor_set", _wrap_styleObj_backgroundcolor_set},
43379 : {"mapscriptc::styleObj_backgroundcolor_get", _wrap_styleObj_backgroundcolor_get},
43380 : {"mapscriptc::styleObj_outlinecolor_set", _wrap_styleObj_outlinecolor_set},
43381 : {"mapscriptc::styleObj_outlinecolor_get", _wrap_styleObj_outlinecolor_get},
43382 : {"mapscriptc::styleObj_opacity_set", _wrap_styleObj_opacity_set},
43383 : {"mapscriptc::styleObj_opacity_get", _wrap_styleObj_opacity_get},
43384 : {"mapscriptc::styleObj_mincolor_set", _wrap_styleObj_mincolor_set},
43385 : {"mapscriptc::styleObj_mincolor_get", _wrap_styleObj_mincolor_get},
43386 : {"mapscriptc::styleObj_maxcolor_set", _wrap_styleObj_maxcolor_set},
43387 : {"mapscriptc::styleObj_maxcolor_get", _wrap_styleObj_maxcolor_get},
43388 : {"mapscriptc::styleObj_minvalue_set", _wrap_styleObj_minvalue_set},
43389 : {"mapscriptc::styleObj_minvalue_get", _wrap_styleObj_minvalue_get},
43390 : {"mapscriptc::styleObj_maxvalue_set", _wrap_styleObj_maxvalue_set},
43391 : {"mapscriptc::styleObj_maxvalue_get", _wrap_styleObj_maxvalue_get},
43392 : {"mapscriptc::styleObj_rangeitem_set", _wrap_styleObj_rangeitem_set},
43393 : {"mapscriptc::styleObj_rangeitem_get", _wrap_styleObj_rangeitem_get},
43394 : {"mapscriptc::styleObj_rangeitemindex_set", _wrap_styleObj_rangeitemindex_set},
43395 : {"mapscriptc::styleObj_rangeitemindex_get", _wrap_styleObj_rangeitemindex_get},
43396 : {"mapscriptc::styleObj_symbol_set", _wrap_styleObj_symbol_set},
43397 : {"mapscriptc::styleObj_symbol_get", _wrap_styleObj_symbol_get},
43398 : {"mapscriptc::styleObj_size_set", _wrap_styleObj_size_set},
43399 : {"mapscriptc::styleObj_size_get", _wrap_styleObj_size_get},
43400 : {"mapscriptc::styleObj_minsize_set", _wrap_styleObj_minsize_set},
43401 : {"mapscriptc::styleObj_minsize_get", _wrap_styleObj_minsize_get},
43402 : {"mapscriptc::styleObj_maxsize_set", _wrap_styleObj_maxsize_set},
43403 : {"mapscriptc::styleObj_maxsize_get", _wrap_styleObj_maxsize_get},
43404 : {"mapscriptc::styleObj_patternlength_set", _wrap_styleObj_patternlength_set},
43405 : {"mapscriptc::styleObj_patternlength_get", _wrap_styleObj_patternlength_get},
43406 : {"mapscriptc::styleObj_pattern_set", _wrap_styleObj_pattern_set},
43407 : {"mapscriptc::styleObj_pattern_get", _wrap_styleObj_pattern_get},
43408 : {"mapscriptc::styleObj_gap_set", _wrap_styleObj_gap_set},
43409 : {"mapscriptc::styleObj_gap_get", _wrap_styleObj_gap_get},
43410 : {"mapscriptc::styleObj_initialgap_set", _wrap_styleObj_initialgap_set},
43411 : {"mapscriptc::styleObj_initialgap_get", _wrap_styleObj_initialgap_get},
43412 : {"mapscriptc::styleObj_position_set", _wrap_styleObj_position_set},
43413 : {"mapscriptc::styleObj_position_get", _wrap_styleObj_position_get},
43414 : {"mapscriptc::styleObj_linecap_set", _wrap_styleObj_linecap_set},
43415 : {"mapscriptc::styleObj_linecap_get", _wrap_styleObj_linecap_get},
43416 : {"mapscriptc::styleObj_linejoin_set", _wrap_styleObj_linejoin_set},
43417 : {"mapscriptc::styleObj_linejoin_get", _wrap_styleObj_linejoin_get},
43418 : {"mapscriptc::styleObj_linejoinmaxsize_set", _wrap_styleObj_linejoinmaxsize_set},
43419 : {"mapscriptc::styleObj_linejoinmaxsize_get", _wrap_styleObj_linejoinmaxsize_get},
43420 : {"mapscriptc::styleObj_width_set", _wrap_styleObj_width_set},
43421 : {"mapscriptc::styleObj_width_get", _wrap_styleObj_width_get},
43422 : {"mapscriptc::styleObj_outlinewidth_set", _wrap_styleObj_outlinewidth_set},
43423 : {"mapscriptc::styleObj_outlinewidth_get", _wrap_styleObj_outlinewidth_get},
43424 : {"mapscriptc::styleObj_minwidth_set", _wrap_styleObj_minwidth_set},
43425 : {"mapscriptc::styleObj_minwidth_get", _wrap_styleObj_minwidth_get},
43426 : {"mapscriptc::styleObj_maxwidth_set", _wrap_styleObj_maxwidth_set},
43427 : {"mapscriptc::styleObj_maxwidth_get", _wrap_styleObj_maxwidth_get},
43428 : {"mapscriptc::styleObj_offsetx_set", _wrap_styleObj_offsetx_set},
43429 : {"mapscriptc::styleObj_offsetx_get", _wrap_styleObj_offsetx_get},
43430 : {"mapscriptc::styleObj_offsety_set", _wrap_styleObj_offsety_set},
43431 : {"mapscriptc::styleObj_offsety_get", _wrap_styleObj_offsety_get},
43432 : {"mapscriptc::styleObj_polaroffsetpixel_set", _wrap_styleObj_polaroffsetpixel_set},
43433 : {"mapscriptc::styleObj_polaroffsetpixel_get", _wrap_styleObj_polaroffsetpixel_get},
43434 : {"mapscriptc::styleObj_polaroffsetangle_set", _wrap_styleObj_polaroffsetangle_set},
43435 : {"mapscriptc::styleObj_polaroffsetangle_get", _wrap_styleObj_polaroffsetangle_get},
43436 : {"mapscriptc::styleObj_angle_set", _wrap_styleObj_angle_set},
43437 : {"mapscriptc::styleObj_angle_get", _wrap_styleObj_angle_get},
43438 : {"mapscriptc::styleObj_minscaledenom_set", _wrap_styleObj_minscaledenom_set},
43439 : {"mapscriptc::styleObj_minscaledenom_get", _wrap_styleObj_minscaledenom_get},
43440 : {"mapscriptc::styleObj_maxscaledenom_set", _wrap_styleObj_maxscaledenom_set},
43441 : {"mapscriptc::styleObj_maxscaledenom_get", _wrap_styleObj_maxscaledenom_get},
43442 : {"mapscriptc::styleObj_sizeunits_set", _wrap_styleObj_sizeunits_set},
43443 : {"mapscriptc::styleObj_sizeunits_get", _wrap_styleObj_sizeunits_get},
43444 : {"mapscriptc::new_styleObj", _wrap_new_styleObj},
43445 : {"mapscriptc::delete_styleObj", _wrap_delete_styleObj},
43446 : {"mapscriptc::styleObj_updateFromString", _wrap_styleObj_updateFromString},
43447 : {"mapscriptc::styleObj_convertToString", _wrap_styleObj_convertToString},
43448 : {"mapscriptc::styleObj_clone", _wrap_styleObj_clone},
43449 : {"mapscriptc::styleObj_setSymbolByName", _wrap_styleObj_setSymbolByName},
43450 : {"mapscriptc::styleObj_removeBinding", _wrap_styleObj_removeBinding},
43451 : {"mapscriptc::styleObj_setBinding", _wrap_styleObj_setBinding},
43452 : {"mapscriptc::styleObj_getBinding", _wrap_styleObj_getBinding},
43453 : {"mapscriptc::styleObj_getGeomTransform", _wrap_styleObj_getGeomTransform},
43454 : {"mapscriptc::styleObj_setGeomTransform", _wrap_styleObj_setGeomTransform},
43455 : {"mapscriptc::labelLeaderObj_maxdistance_set", _wrap_labelLeaderObj_maxdistance_set},
43456 : {"mapscriptc::labelLeaderObj_maxdistance_get", _wrap_labelLeaderObj_maxdistance_get},
43457 : {"mapscriptc::labelLeaderObj_gridstep_set", _wrap_labelLeaderObj_gridstep_set},
43458 : {"mapscriptc::labelLeaderObj_gridstep_get", _wrap_labelLeaderObj_gridstep_get},
43459 : {"mapscriptc::labelLeaderObj_numstyles_get", _wrap_labelLeaderObj_numstyles_get},
43460 : {"mapscriptc::new_labelLeaderObj", _wrap_new_labelLeaderObj},
43461 : {"mapscriptc::delete_labelLeaderObj", _wrap_delete_labelLeaderObj},
43462 : {"mapscriptc::labelObj_refcount_get", _wrap_labelObj_refcount_get},
43463 : {"mapscriptc::labelObj_font_set", _wrap_labelObj_font_set},
43464 : {"mapscriptc::labelObj_font_get", _wrap_labelObj_font_get},
43465 : {"mapscriptc::labelObj_color_set", _wrap_labelObj_color_set},
43466 : {"mapscriptc::labelObj_color_get", _wrap_labelObj_color_get},
43467 : {"mapscriptc::labelObj_outlinecolor_set", _wrap_labelObj_outlinecolor_set},
43468 : {"mapscriptc::labelObj_outlinecolor_get", _wrap_labelObj_outlinecolor_get},
43469 : {"mapscriptc::labelObj_outlinewidth_set", _wrap_labelObj_outlinewidth_set},
43470 : {"mapscriptc::labelObj_outlinewidth_get", _wrap_labelObj_outlinewidth_get},
43471 : {"mapscriptc::labelObj_shadowcolor_set", _wrap_labelObj_shadowcolor_set},
43472 : {"mapscriptc::labelObj_shadowcolor_get", _wrap_labelObj_shadowcolor_get},
43473 : {"mapscriptc::labelObj_shadowsizex_set", _wrap_labelObj_shadowsizex_set},
43474 : {"mapscriptc::labelObj_shadowsizex_get", _wrap_labelObj_shadowsizex_get},
43475 : {"mapscriptc::labelObj_shadowsizey_set", _wrap_labelObj_shadowsizey_set},
43476 : {"mapscriptc::labelObj_shadowsizey_get", _wrap_labelObj_shadowsizey_get},
43477 : {"mapscriptc::labelObj_size_set", _wrap_labelObj_size_set},
43478 : {"mapscriptc::labelObj_size_get", _wrap_labelObj_size_get},
43479 : {"mapscriptc::labelObj_minsize_set", _wrap_labelObj_minsize_set},
43480 : {"mapscriptc::labelObj_minsize_get", _wrap_labelObj_minsize_get},
43481 : {"mapscriptc::labelObj_maxsize_set", _wrap_labelObj_maxsize_set},
43482 : {"mapscriptc::labelObj_maxsize_get", _wrap_labelObj_maxsize_get},
43483 : {"mapscriptc::labelObj_position_set", _wrap_labelObj_position_set},
43484 : {"mapscriptc::labelObj_position_get", _wrap_labelObj_position_get},
43485 : {"mapscriptc::labelObj_offsetx_set", _wrap_labelObj_offsetx_set},
43486 : {"mapscriptc::labelObj_offsetx_get", _wrap_labelObj_offsetx_get},
43487 : {"mapscriptc::labelObj_offsety_set", _wrap_labelObj_offsety_set},
43488 : {"mapscriptc::labelObj_offsety_get", _wrap_labelObj_offsety_get},
43489 : {"mapscriptc::labelObj_angle_set", _wrap_labelObj_angle_set},
43490 : {"mapscriptc::labelObj_angle_get", _wrap_labelObj_angle_get},
43491 : {"mapscriptc::labelObj_anglemode_set", _wrap_labelObj_anglemode_set},
43492 : {"mapscriptc::labelObj_anglemode_get", _wrap_labelObj_anglemode_get},
43493 : {"mapscriptc::labelObj_buffer_set", _wrap_labelObj_buffer_set},
43494 : {"mapscriptc::labelObj_buffer_get", _wrap_labelObj_buffer_get},
43495 : {"mapscriptc::labelObj_align_set", _wrap_labelObj_align_set},
43496 : {"mapscriptc::labelObj_align_get", _wrap_labelObj_align_get},
43497 : {"mapscriptc::labelObj_wrap_set", _wrap_labelObj_wrap_set},
43498 : {"mapscriptc::labelObj_wrap_get", _wrap_labelObj_wrap_get},
43499 : {"mapscriptc::labelObj_maxlength_set", _wrap_labelObj_maxlength_set},
43500 : {"mapscriptc::labelObj_maxlength_get", _wrap_labelObj_maxlength_get},
43501 : {"mapscriptc::labelObj_minlength_set", _wrap_labelObj_minlength_set},
43502 : {"mapscriptc::labelObj_minlength_get", _wrap_labelObj_minlength_get},
43503 : {"mapscriptc::labelObj_space_size_10_set", _wrap_labelObj_space_size_10_set},
43504 : {"mapscriptc::labelObj_space_size_10_get", _wrap_labelObj_space_size_10_get},
43505 : {"mapscriptc::labelObj_minfeaturesize_set", _wrap_labelObj_minfeaturesize_set},
43506 : {"mapscriptc::labelObj_minfeaturesize_get", _wrap_labelObj_minfeaturesize_get},
43507 : {"mapscriptc::labelObj_autominfeaturesize_set", _wrap_labelObj_autominfeaturesize_set},
43508 : {"mapscriptc::labelObj_autominfeaturesize_get", _wrap_labelObj_autominfeaturesize_get},
43509 : {"mapscriptc::labelObj_minscaledenom_set", _wrap_labelObj_minscaledenom_set},
43510 : {"mapscriptc::labelObj_minscaledenom_get", _wrap_labelObj_minscaledenom_get},
43511 : {"mapscriptc::labelObj_maxscaledenom_set", _wrap_labelObj_maxscaledenom_set},
43512 : {"mapscriptc::labelObj_maxscaledenom_get", _wrap_labelObj_maxscaledenom_get},
43513 : {"mapscriptc::labelObj_mindistance_set", _wrap_labelObj_mindistance_set},
43514 : {"mapscriptc::labelObj_mindistance_get", _wrap_labelObj_mindistance_get},
43515 : {"mapscriptc::labelObj_repeatdistance_set", _wrap_labelObj_repeatdistance_set},
43516 : {"mapscriptc::labelObj_repeatdistance_get", _wrap_labelObj_repeatdistance_get},
43517 : {"mapscriptc::labelObj_maxoverlapangle_set", _wrap_labelObj_maxoverlapangle_set},
43518 : {"mapscriptc::labelObj_maxoverlapangle_get", _wrap_labelObj_maxoverlapangle_get},
43519 : {"mapscriptc::labelObj_partials_set", _wrap_labelObj_partials_set},
43520 : {"mapscriptc::labelObj_partials_get", _wrap_labelObj_partials_get},
43521 : {"mapscriptc::labelObj_force_set", _wrap_labelObj_force_set},
43522 : {"mapscriptc::labelObj_force_get", _wrap_labelObj_force_get},
43523 : {"mapscriptc::labelObj_encoding_set", _wrap_labelObj_encoding_set},
43524 : {"mapscriptc::labelObj_encoding_get", _wrap_labelObj_encoding_get},
43525 : {"mapscriptc::labelObj_priority_set", _wrap_labelObj_priority_set},
43526 : {"mapscriptc::labelObj_priority_get", _wrap_labelObj_priority_get},
43527 : {"mapscriptc::labelObj_numstyles_set", _wrap_labelObj_numstyles_set},
43528 : {"mapscriptc::labelObj_numstyles_get", _wrap_labelObj_numstyles_get},
43529 : {"mapscriptc::labelObj_leader_set", _wrap_labelObj_leader_set},
43530 : {"mapscriptc::labelObj_leader_get", _wrap_labelObj_leader_get},
43531 : {"mapscriptc::labelObj_sizeunits_set", _wrap_labelObj_sizeunits_set},
43532 : {"mapscriptc::labelObj_sizeunits_get", _wrap_labelObj_sizeunits_get},
43533 : {"mapscriptc::new_labelObj", _wrap_new_labelObj},
43534 : {"mapscriptc::delete_labelObj", _wrap_delete_labelObj},
43535 : {"mapscriptc::labelObj_updateFromString", _wrap_labelObj_updateFromString},
43536 : {"mapscriptc::labelObj_convertToString", _wrap_labelObj_convertToString},
43537 : {"mapscriptc::labelObj_removeBinding", _wrap_labelObj_removeBinding},
43538 : {"mapscriptc::labelObj_getBinding", _wrap_labelObj_getBinding},
43539 : {"mapscriptc::labelObj_setBinding", _wrap_labelObj_setBinding},
43540 : {"mapscriptc::labelObj_setExpression", _wrap_labelObj_setExpression},
43541 : {"mapscriptc::labelObj_getExpressionString", _wrap_labelObj_getExpressionString},
43542 : {"mapscriptc::labelObj_setText", _wrap_labelObj_setText},
43543 : {"mapscriptc::labelObj_getTextString", _wrap_labelObj_getTextString},
43544 : {"mapscriptc::labelObj_getStyle", _wrap_labelObj_getStyle},
43545 : {"mapscriptc::labelObj_insertStyle", _wrap_labelObj_insertStyle},
43546 : {"mapscriptc::labelObj_removeStyle", _wrap_labelObj_removeStyle},
43547 : {"mapscriptc::labelObj_moveStyleUp", _wrap_labelObj_moveStyleUp},
43548 : {"mapscriptc::labelObj_moveStyleDown", _wrap_labelObj_moveStyleDown},
43549 : {"mapscriptc::classObj_status_set", _wrap_classObj_status_set},
43550 : {"mapscriptc::classObj_status_get", _wrap_classObj_status_get},
43551 : {"mapscriptc::classObj_isfallback_set", _wrap_classObj_isfallback_set},
43552 : {"mapscriptc::classObj_isfallback_get", _wrap_classObj_isfallback_get},
43553 : {"mapscriptc::classObj_numstyles_get", _wrap_classObj_numstyles_get},
43554 : {"mapscriptc::classObj_numlabels_get", _wrap_classObj_numlabels_get},
43555 : {"mapscriptc::classObj_name_set", _wrap_classObj_name_set},
43556 : {"mapscriptc::classObj_name_get", _wrap_classObj_name_get},
43557 : {"mapscriptc::classObj_title_set", _wrap_classObj_title_set},
43558 : {"mapscriptc::classObj_title_get", _wrap_classObj_title_get},
43559 : {"mapscriptc::classObj_template_set", _wrap_classObj_template_set},
43560 : {"mapscriptc::classObj_template_get", _wrap_classObj_template_get},
43561 : {"mapscriptc::classObj_metadata_get", _wrap_classObj_metadata_get},
43562 : {"mapscriptc::classObj_validation_get", _wrap_classObj_validation_get},
43563 : {"mapscriptc::classObj_minscaledenom_set", _wrap_classObj_minscaledenom_set},
43564 : {"mapscriptc::classObj_minscaledenom_get", _wrap_classObj_minscaledenom_get},
43565 : {"mapscriptc::classObj_maxscaledenom_set", _wrap_classObj_maxscaledenom_set},
43566 : {"mapscriptc::classObj_maxscaledenom_get", _wrap_classObj_maxscaledenom_get},
43567 : {"mapscriptc::classObj_minfeaturesize_set", _wrap_classObj_minfeaturesize_set},
43568 : {"mapscriptc::classObj_minfeaturesize_get", _wrap_classObj_minfeaturesize_get},
43569 : {"mapscriptc::classObj_refcount_get", _wrap_classObj_refcount_get},
43570 : {"mapscriptc::classObj_layer_get", _wrap_classObj_layer_get},
43571 : {"mapscriptc::classObj_leader_get", _wrap_classObj_leader_get},
43572 : {"mapscriptc::classObj_debug_set", _wrap_classObj_debug_set},
43573 : {"mapscriptc::classObj_debug_get", _wrap_classObj_debug_get},
43574 : {"mapscriptc::classObj_keyimage_set", _wrap_classObj_keyimage_set},
43575 : {"mapscriptc::classObj_keyimage_get", _wrap_classObj_keyimage_get},
43576 : {"mapscriptc::classObj_group_set", _wrap_classObj_group_set},
43577 : {"mapscriptc::classObj_group_get", _wrap_classObj_group_get},
43578 : {"mapscriptc::classObj_sizeunits_set", _wrap_classObj_sizeunits_set},
43579 : {"mapscriptc::classObj_sizeunits_get", _wrap_classObj_sizeunits_get},
43580 : {"mapscriptc::new_classObj", _wrap_new_classObj},
43581 : {"mapscriptc::delete_classObj", _wrap_delete_classObj},
43582 : {"mapscriptc::classObj_updateFromString", _wrap_classObj_updateFromString},
43583 : {"mapscriptc::classObj_convertToString", _wrap_classObj_convertToString},
43584 : {"mapscriptc::classObj_clone", _wrap_classObj_clone},
43585 : {"mapscriptc::classObj_setExpression", _wrap_classObj_setExpression},
43586 : {"mapscriptc::classObj_getExpressionString", _wrap_classObj_getExpressionString},
43587 : {"mapscriptc::classObj_setText", _wrap_classObj_setText},
43588 : {"mapscriptc::classObj_getTextString", _wrap_classObj_getTextString},
43589 : {"mapscriptc::classObj_getMetaData", _wrap_classObj_getMetaData},
43590 : {"mapscriptc::classObj_setMetaData", _wrap_classObj_setMetaData},
43591 : {"mapscriptc::classObj_getFirstMetaDataKey", _wrap_classObj_getFirstMetaDataKey},
43592 : {"mapscriptc::classObj_getNextMetaDataKey", _wrap_classObj_getNextMetaDataKey},
43593 : {"mapscriptc::classObj_drawLegendIcon", _wrap_classObj_drawLegendIcon},
43594 : {"mapscriptc::classObj_createLegendIcon", _wrap_classObj_createLegendIcon},
43595 : {"mapscriptc::classObj_getLabel", _wrap_classObj_getLabel},
43596 : {"mapscriptc::classObj_addLabel", _wrap_classObj_addLabel},
43597 : {"mapscriptc::classObj_removeLabel", _wrap_classObj_removeLabel},
43598 : {"mapscriptc::classObj_getStyle", _wrap_classObj_getStyle},
43599 : {"mapscriptc::classObj_insertStyle", _wrap_classObj_insertStyle},
43600 : {"mapscriptc::classObj_removeStyle", _wrap_classObj_removeStyle},
43601 : {"mapscriptc::classObj_moveStyleUp", _wrap_classObj_moveStyleUp},
43602 : {"mapscriptc::classObj_moveStyleDown", _wrap_classObj_moveStyleDown},
43603 : {"mapscriptc::labelCacheMemberObj_textsymbols_get", _wrap_labelCacheMemberObj_textsymbols_get},
43604 : {"mapscriptc::labelCacheMemberObj_numtextsymbols_get", _wrap_labelCacheMemberObj_numtextsymbols_get},
43605 : {"mapscriptc::labelCacheMemberObj_layerindex_get", _wrap_labelCacheMemberObj_layerindex_get},
43606 : {"mapscriptc::labelCacheMemberObj_classindex_get", _wrap_labelCacheMemberObj_classindex_get},
43607 : {"mapscriptc::labelCacheMemberObj_point_get", _wrap_labelCacheMemberObj_point_get},
43608 : {"mapscriptc::labelCacheMemberObj_bbox_get", _wrap_labelCacheMemberObj_bbox_get},
43609 : {"mapscriptc::labelCacheMemberObj_status_get", _wrap_labelCacheMemberObj_status_get},
43610 : {"mapscriptc::labelCacheMemberObj_markerid_get", _wrap_labelCacheMemberObj_markerid_get},
43611 : {"mapscriptc::labelCacheMemberObj_leaderline_get", _wrap_labelCacheMemberObj_leaderline_get},
43612 : {"mapscriptc::labelCacheMemberObj_leaderbbox_get", _wrap_labelCacheMemberObj_leaderbbox_get},
43613 : {"mapscriptc::new_labelCacheMemberObj", _wrap_new_labelCacheMemberObj},
43614 : {"mapscriptc::delete_labelCacheMemberObj", _wrap_delete_labelCacheMemberObj},
43615 : {"mapscriptc::markerCacheMemberObj_id_get", _wrap_markerCacheMemberObj_id_get},
43616 : {"mapscriptc::markerCacheMemberObj_bounds_get", _wrap_markerCacheMemberObj_bounds_get},
43617 : {"mapscriptc::new_markerCacheMemberObj", _wrap_new_markerCacheMemberObj},
43618 : {"mapscriptc::delete_markerCacheMemberObj", _wrap_delete_markerCacheMemberObj},
43619 : {"mapscriptc::labelCacheSlotObj_labels_get", _wrap_labelCacheSlotObj_labels_get},
43620 : {"mapscriptc::labelCacheSlotObj_numlabels_get", _wrap_labelCacheSlotObj_numlabels_get},
43621 : {"mapscriptc::labelCacheSlotObj_cachesize_get", _wrap_labelCacheSlotObj_cachesize_get},
43622 : {"mapscriptc::labelCacheSlotObj_markers_get", _wrap_labelCacheSlotObj_markers_get},
43623 : {"mapscriptc::labelCacheSlotObj_nummarkers_get", _wrap_labelCacheSlotObj_nummarkers_get},
43624 : {"mapscriptc::labelCacheSlotObj_markercachesize_get", _wrap_labelCacheSlotObj_markercachesize_get},
43625 : {"mapscriptc::new_labelCacheSlotObj", _wrap_new_labelCacheSlotObj},
43626 : {"mapscriptc::delete_labelCacheSlotObj", _wrap_delete_labelCacheSlotObj},
43627 : {"mapscriptc::labelCacheObj_slots_get", _wrap_labelCacheObj_slots_get},
43628 : {"mapscriptc::labelCacheObj_gutter_get", _wrap_labelCacheObj_gutter_get},
43629 : {"mapscriptc::labelCacheObj_rendered_text_symbols_get", _wrap_labelCacheObj_rendered_text_symbols_get},
43630 : {"mapscriptc::labelCacheObj_num_allocated_rendered_members_get", _wrap_labelCacheObj_num_allocated_rendered_members_get},
43631 : {"mapscriptc::labelCacheObj_num_rendered_members_get", _wrap_labelCacheObj_num_rendered_members_get},
43632 : {"mapscriptc::labelCacheObj_freeCache", _wrap_labelCacheObj_freeCache},
43633 : {"mapscriptc::new_labelCacheObj", _wrap_new_labelCacheObj},
43634 : {"mapscriptc::delete_labelCacheObj", _wrap_delete_labelCacheObj},
43635 : {"mapscriptc::resultObj_shapeindex_get", _wrap_resultObj_shapeindex_get},
43636 : {"mapscriptc::resultObj_tileindex_get", _wrap_resultObj_tileindex_get},
43637 : {"mapscriptc::resultObj_resultindex_get", _wrap_resultObj_resultindex_get},
43638 : {"mapscriptc::resultObj_classindex_get", _wrap_resultObj_classindex_get},
43639 : {"mapscriptc::new_resultObj", _wrap_new_resultObj},
43640 : {"mapscriptc::delete_resultObj", _wrap_delete_resultObj},
43641 : {"mapscriptc::resultCacheObj_numresults_get", _wrap_resultCacheObj_numresults_get},
43642 : {"mapscriptc::resultCacheObj_bounds_get", _wrap_resultCacheObj_bounds_get},
43643 : {"mapscriptc::resultCacheObj_usegetshape_set", _wrap_resultCacheObj_usegetshape_set},
43644 : {"mapscriptc::resultCacheObj_usegetshape_get", _wrap_resultCacheObj_usegetshape_get},
43645 : {"mapscriptc::resultCacheObj_getResult", _wrap_resultCacheObj_getResult},
43646 : {"mapscriptc::new_resultCacheObj", _wrap_new_resultCacheObj},
43647 : {"mapscriptc::delete_resultCacheObj", _wrap_delete_resultCacheObj},
43648 : {"mapscriptc::symbolSetObj_filename_set", _wrap_symbolSetObj_filename_set},
43649 : {"mapscriptc::symbolSetObj_filename_get", _wrap_symbolSetObj_filename_get},
43650 : {"mapscriptc::symbolSetObj_imagecachesize_set", _wrap_symbolSetObj_imagecachesize_set},
43651 : {"mapscriptc::symbolSetObj_imagecachesize_get", _wrap_symbolSetObj_imagecachesize_get},
43652 : {"mapscriptc::symbolSetObj_numsymbols_get", _wrap_symbolSetObj_numsymbols_get},
43653 : {"mapscriptc::symbolSetObj_maxsymbols_get", _wrap_symbolSetObj_maxsymbols_get},
43654 : {"mapscriptc::new_symbolSetObj", _wrap_new_symbolSetObj},
43655 : {"mapscriptc::delete_symbolSetObj", _wrap_delete_symbolSetObj},
43656 : {"mapscriptc::symbolSetObj_getSymbol", _wrap_symbolSetObj_getSymbol},
43657 : {"mapscriptc::symbolSetObj_getSymbolByName", _wrap_symbolSetObj_getSymbolByName},
43658 : {"mapscriptc::symbolSetObj_index", _wrap_symbolSetObj_index},
43659 : {"mapscriptc::symbolSetObj_appendSymbol", _wrap_symbolSetObj_appendSymbol},
43660 : {"mapscriptc::symbolSetObj_removeSymbol", _wrap_symbolSetObj_removeSymbol},
43661 : {"mapscriptc::symbolSetObj_save", _wrap_symbolSetObj_save},
43662 : {"mapscriptc::referenceMapObj_extent_set", _wrap_referenceMapObj_extent_set},
43663 : {"mapscriptc::referenceMapObj_extent_get", _wrap_referenceMapObj_extent_get},
43664 : {"mapscriptc::referenceMapObj_height_set", _wrap_referenceMapObj_height_set},
43665 : {"mapscriptc::referenceMapObj_height_get", _wrap_referenceMapObj_height_get},
43666 : {"mapscriptc::referenceMapObj_width_set", _wrap_referenceMapObj_width_set},
43667 : {"mapscriptc::referenceMapObj_width_get", _wrap_referenceMapObj_width_get},
43668 : {"mapscriptc::referenceMapObj_color_set", _wrap_referenceMapObj_color_set},
43669 : {"mapscriptc::referenceMapObj_color_get", _wrap_referenceMapObj_color_get},
43670 : {"mapscriptc::referenceMapObj_outlinecolor_set", _wrap_referenceMapObj_outlinecolor_set},
43671 : {"mapscriptc::referenceMapObj_outlinecolor_get", _wrap_referenceMapObj_outlinecolor_get},
43672 : {"mapscriptc::referenceMapObj_image_set", _wrap_referenceMapObj_image_set},
43673 : {"mapscriptc::referenceMapObj_image_get", _wrap_referenceMapObj_image_get},
43674 : {"mapscriptc::referenceMapObj_status_set", _wrap_referenceMapObj_status_set},
43675 : {"mapscriptc::referenceMapObj_status_get", _wrap_referenceMapObj_status_get},
43676 : {"mapscriptc::referenceMapObj_marker_set", _wrap_referenceMapObj_marker_set},
43677 : {"mapscriptc::referenceMapObj_marker_get", _wrap_referenceMapObj_marker_get},
43678 : {"mapscriptc::referenceMapObj_markername_set", _wrap_referenceMapObj_markername_set},
43679 : {"mapscriptc::referenceMapObj_markername_get", _wrap_referenceMapObj_markername_get},
43680 : {"mapscriptc::referenceMapObj_markersize_set", _wrap_referenceMapObj_markersize_set},
43681 : {"mapscriptc::referenceMapObj_markersize_get", _wrap_referenceMapObj_markersize_get},
43682 : {"mapscriptc::referenceMapObj_minboxsize_set", _wrap_referenceMapObj_minboxsize_set},
43683 : {"mapscriptc::referenceMapObj_minboxsize_get", _wrap_referenceMapObj_minboxsize_get},
43684 : {"mapscriptc::referenceMapObj_maxboxsize_set", _wrap_referenceMapObj_maxboxsize_set},
43685 : {"mapscriptc::referenceMapObj_maxboxsize_get", _wrap_referenceMapObj_maxboxsize_get},
43686 : {"mapscriptc::referenceMapObj_map_get", _wrap_referenceMapObj_map_get},
43687 : {"mapscriptc::referenceMapObj_updateFromString", _wrap_referenceMapObj_updateFromString},
43688 : {"mapscriptc::referenceMapObj_convertToString", _wrap_referenceMapObj_convertToString},
43689 : {"mapscriptc::new_referenceMapObj", _wrap_new_referenceMapObj},
43690 : {"mapscriptc::delete_referenceMapObj", _wrap_delete_referenceMapObj},
43691 : {"mapscriptc::scalebarObj_imagecolor_set", _wrap_scalebarObj_imagecolor_set},
43692 : {"mapscriptc::scalebarObj_imagecolor_get", _wrap_scalebarObj_imagecolor_get},
43693 : {"mapscriptc::scalebarObj_height_set", _wrap_scalebarObj_height_set},
43694 : {"mapscriptc::scalebarObj_height_get", _wrap_scalebarObj_height_get},
43695 : {"mapscriptc::scalebarObj_width_set", _wrap_scalebarObj_width_set},
43696 : {"mapscriptc::scalebarObj_width_get", _wrap_scalebarObj_width_get},
43697 : {"mapscriptc::scalebarObj_style_set", _wrap_scalebarObj_style_set},
43698 : {"mapscriptc::scalebarObj_style_get", _wrap_scalebarObj_style_get},
43699 : {"mapscriptc::scalebarObj_intervals_set", _wrap_scalebarObj_intervals_set},
43700 : {"mapscriptc::scalebarObj_intervals_get", _wrap_scalebarObj_intervals_get},
43701 : {"mapscriptc::scalebarObj_label_set", _wrap_scalebarObj_label_set},
43702 : {"mapscriptc::scalebarObj_label_get", _wrap_scalebarObj_label_get},
43703 : {"mapscriptc::scalebarObj_color_set", _wrap_scalebarObj_color_set},
43704 : {"mapscriptc::scalebarObj_color_get", _wrap_scalebarObj_color_get},
43705 : {"mapscriptc::scalebarObj_backgroundcolor_set", _wrap_scalebarObj_backgroundcolor_set},
43706 : {"mapscriptc::scalebarObj_backgroundcolor_get", _wrap_scalebarObj_backgroundcolor_get},
43707 : {"mapscriptc::scalebarObj_outlinecolor_set", _wrap_scalebarObj_outlinecolor_set},
43708 : {"mapscriptc::scalebarObj_outlinecolor_get", _wrap_scalebarObj_outlinecolor_get},
43709 : {"mapscriptc::scalebarObj_units_set", _wrap_scalebarObj_units_set},
43710 : {"mapscriptc::scalebarObj_units_get", _wrap_scalebarObj_units_get},
43711 : {"mapscriptc::scalebarObj_status_set", _wrap_scalebarObj_status_set},
43712 : {"mapscriptc::scalebarObj_status_get", _wrap_scalebarObj_status_get},
43713 : {"mapscriptc::scalebarObj_position_set", _wrap_scalebarObj_position_set},
43714 : {"mapscriptc::scalebarObj_position_get", _wrap_scalebarObj_position_get},
43715 : {"mapscriptc::scalebarObj_postlabelcache_set", _wrap_scalebarObj_postlabelcache_set},
43716 : {"mapscriptc::scalebarObj_postlabelcache_get", _wrap_scalebarObj_postlabelcache_get},
43717 : {"mapscriptc::scalebarObj_align_set", _wrap_scalebarObj_align_set},
43718 : {"mapscriptc::scalebarObj_align_get", _wrap_scalebarObj_align_get},
43719 : {"mapscriptc::scalebarObj_offsetx_set", _wrap_scalebarObj_offsetx_set},
43720 : {"mapscriptc::scalebarObj_offsetx_get", _wrap_scalebarObj_offsetx_get},
43721 : {"mapscriptc::scalebarObj_offsety_set", _wrap_scalebarObj_offsety_set},
43722 : {"mapscriptc::scalebarObj_offsety_get", _wrap_scalebarObj_offsety_get},
43723 : {"mapscriptc::scalebarObj_updateFromString", _wrap_scalebarObj_updateFromString},
43724 : {"mapscriptc::scalebarObj_convertToString", _wrap_scalebarObj_convertToString},
43725 : {"mapscriptc::new_scalebarObj", _wrap_new_scalebarObj},
43726 : {"mapscriptc::delete_scalebarObj", _wrap_delete_scalebarObj},
43727 : {"mapscriptc::legendObj_imagecolor_set", _wrap_legendObj_imagecolor_set},
43728 : {"mapscriptc::legendObj_imagecolor_get", _wrap_legendObj_imagecolor_get},
43729 : {"mapscriptc::legendObj_label_get", _wrap_legendObj_label_get},
43730 : {"mapscriptc::legendObj_keysizex_set", _wrap_legendObj_keysizex_set},
43731 : {"mapscriptc::legendObj_keysizex_get", _wrap_legendObj_keysizex_get},
43732 : {"mapscriptc::legendObj_keysizey_set", _wrap_legendObj_keysizey_set},
43733 : {"mapscriptc::legendObj_keysizey_get", _wrap_legendObj_keysizey_get},
43734 : {"mapscriptc::legendObj_keyspacingx_set", _wrap_legendObj_keyspacingx_set},
43735 : {"mapscriptc::legendObj_keyspacingx_get", _wrap_legendObj_keyspacingx_get},
43736 : {"mapscriptc::legendObj_keyspacingy_set", _wrap_legendObj_keyspacingy_set},
43737 : {"mapscriptc::legendObj_keyspacingy_get", _wrap_legendObj_keyspacingy_get},
43738 : {"mapscriptc::legendObj_outlinecolor_set", _wrap_legendObj_outlinecolor_set},
43739 : {"mapscriptc::legendObj_outlinecolor_get", _wrap_legendObj_outlinecolor_get},
43740 : {"mapscriptc::legendObj_status_set", _wrap_legendObj_status_set},
43741 : {"mapscriptc::legendObj_status_get", _wrap_legendObj_status_get},
43742 : {"mapscriptc::legendObj_height_set", _wrap_legendObj_height_set},
43743 : {"mapscriptc::legendObj_height_get", _wrap_legendObj_height_get},
43744 : {"mapscriptc::legendObj_width_set", _wrap_legendObj_width_set},
43745 : {"mapscriptc::legendObj_width_get", _wrap_legendObj_width_get},
43746 : {"mapscriptc::legendObj_position_set", _wrap_legendObj_position_set},
43747 : {"mapscriptc::legendObj_position_get", _wrap_legendObj_position_get},
43748 : {"mapscriptc::legendObj_postlabelcache_set", _wrap_legendObj_postlabelcache_set},
43749 : {"mapscriptc::legendObj_postlabelcache_get", _wrap_legendObj_postlabelcache_get},
43750 : {"mapscriptc::legendObj_template_set", _wrap_legendObj_template_set},
43751 : {"mapscriptc::legendObj_template_get", _wrap_legendObj_template_get},
43752 : {"mapscriptc::legendObj_map_get", _wrap_legendObj_map_get},
43753 : {"mapscriptc::legendObj_updateFromString", _wrap_legendObj_updateFromString},
43754 : {"mapscriptc::legendObj_convertToString", _wrap_legendObj_convertToString},
43755 : {"mapscriptc::new_legendObj", _wrap_new_legendObj},
43756 : {"mapscriptc::delete_legendObj", _wrap_delete_legendObj},
43757 : {"mapscriptc::imageObj_width_get", _wrap_imageObj_width_get},
43758 : {"mapscriptc::imageObj_height_get", _wrap_imageObj_height_get},
43759 : {"mapscriptc::imageObj_resolution_get", _wrap_imageObj_resolution_get},
43760 : {"mapscriptc::imageObj_resolutionfactor_get", _wrap_imageObj_resolutionfactor_get},
43761 : {"mapscriptc::imageObj_imagepath_get", _wrap_imageObj_imagepath_get},
43762 : {"mapscriptc::imageObj_imageurl_get", _wrap_imageObj_imageurl_get},
43763 : {"mapscriptc::imageObj_format_get", _wrap_imageObj_format_get},
43764 : {"mapscriptc::new_imageObj", _wrap_new_imageObj},
43765 : {"mapscriptc::delete_imageObj", _wrap_delete_imageObj},
43766 : {"mapscriptc::imageObj_save", _wrap_imageObj_save},
43767 : {"mapscriptc::imageObj_write", _wrap_imageObj_write},
43768 : {"mapscriptc::imageObj_getBytes", _wrap_imageObj_getBytes},
43769 : {"mapscriptc::imageObj_getSize", _wrap_imageObj_getSize},
43770 : {"mapscriptc::scaleTokenEntryObj_minscale_set", _wrap_scaleTokenEntryObj_minscale_set},
43771 : {"mapscriptc::scaleTokenEntryObj_minscale_get", _wrap_scaleTokenEntryObj_minscale_get},
43772 : {"mapscriptc::scaleTokenEntryObj_maxscale_set", _wrap_scaleTokenEntryObj_maxscale_set},
43773 : {"mapscriptc::scaleTokenEntryObj_maxscale_get", _wrap_scaleTokenEntryObj_maxscale_get},
43774 : {"mapscriptc::scaleTokenEntryObj_value_set", _wrap_scaleTokenEntryObj_value_set},
43775 : {"mapscriptc::scaleTokenEntryObj_value_get", _wrap_scaleTokenEntryObj_value_get},
43776 : {"mapscriptc::new_scaleTokenEntryObj", _wrap_new_scaleTokenEntryObj},
43777 : {"mapscriptc::delete_scaleTokenEntryObj", _wrap_delete_scaleTokenEntryObj},
43778 : {"mapscriptc::scaleTokenObj_name_set", _wrap_scaleTokenObj_name_set},
43779 : {"mapscriptc::scaleTokenObj_name_get", _wrap_scaleTokenObj_name_get},
43780 : {"mapscriptc::scaleTokenObj_n_entries_set", _wrap_scaleTokenObj_n_entries_set},
43781 : {"mapscriptc::scaleTokenObj_n_entries_get", _wrap_scaleTokenObj_n_entries_get},
43782 : {"mapscriptc::scaleTokenObj_tokens_set", _wrap_scaleTokenObj_tokens_set},
43783 : {"mapscriptc::scaleTokenObj_tokens_get", _wrap_scaleTokenObj_tokens_get},
43784 : {"mapscriptc::new_scaleTokenObj", _wrap_new_scaleTokenObj},
43785 : {"mapscriptc::delete_scaleTokenObj", _wrap_delete_scaleTokenObj},
43786 : {"mapscriptc::layerObj_classitem_set", _wrap_layerObj_classitem_set},
43787 : {"mapscriptc::layerObj_classitem_get", _wrap_layerObj_classitem_get},
43788 : {"mapscriptc::layerObj_refcount_get", _wrap_layerObj_refcount_get},
43789 : {"mapscriptc::layerObj_numclasses_get", _wrap_layerObj_numclasses_get},
43790 : {"mapscriptc::layerObj_maxclasses_get", _wrap_layerObj_maxclasses_get},
43791 : {"mapscriptc::layerObj_index_get", _wrap_layerObj_index_get},
43792 : {"mapscriptc::layerObj_map_get", _wrap_layerObj_map_get},
43793 : {"mapscriptc::layerObj_header_set", _wrap_layerObj_header_set},
43794 : {"mapscriptc::layerObj_header_get", _wrap_layerObj_header_get},
43795 : {"mapscriptc::layerObj_footer_set", _wrap_layerObj_footer_set},
43796 : {"mapscriptc::layerObj_footer_get", _wrap_layerObj_footer_get},
43797 : {"mapscriptc::layerObj_template_set", _wrap_layerObj_template_set},
43798 : {"mapscriptc::layerObj_template_get", _wrap_layerObj_template_get},
43799 : {"mapscriptc::layerObj_name_set", _wrap_layerObj_name_set},
43800 : {"mapscriptc::layerObj_name_get", _wrap_layerObj_name_get},
43801 : {"mapscriptc::layerObj_group_set", _wrap_layerObj_group_set},
43802 : {"mapscriptc::layerObj_group_get", _wrap_layerObj_group_get},
43803 : {"mapscriptc::layerObj_status_set", _wrap_layerObj_status_set},
43804 : {"mapscriptc::layerObj_status_get", _wrap_layerObj_status_get},
43805 : {"mapscriptc::layerObj_rendermode_set", _wrap_layerObj_rendermode_set},
43806 : {"mapscriptc::layerObj_rendermode_get", _wrap_layerObj_rendermode_get},
43807 : {"mapscriptc::layerObj_data_set", _wrap_layerObj_data_set},
43808 : {"mapscriptc::layerObj_data_get", _wrap_layerObj_data_get},
43809 : {"mapscriptc::layerObj_type_set", _wrap_layerObj_type_set},
43810 : {"mapscriptc::layerObj_type_get", _wrap_layerObj_type_get},
43811 : {"mapscriptc::layerObj_tolerance_set", _wrap_layerObj_tolerance_set},
43812 : {"mapscriptc::layerObj_tolerance_get", _wrap_layerObj_tolerance_get},
43813 : {"mapscriptc::layerObj_toleranceunits_set", _wrap_layerObj_toleranceunits_set},
43814 : {"mapscriptc::layerObj_toleranceunits_get", _wrap_layerObj_toleranceunits_get},
43815 : {"mapscriptc::layerObj_symbolscaledenom_set", _wrap_layerObj_symbolscaledenom_set},
43816 : {"mapscriptc::layerObj_symbolscaledenom_get", _wrap_layerObj_symbolscaledenom_get},
43817 : {"mapscriptc::layerObj_minscaledenom_set", _wrap_layerObj_minscaledenom_set},
43818 : {"mapscriptc::layerObj_minscaledenom_get", _wrap_layerObj_minscaledenom_get},
43819 : {"mapscriptc::layerObj_maxscaledenom_set", _wrap_layerObj_maxscaledenom_set},
43820 : {"mapscriptc::layerObj_maxscaledenom_get", _wrap_layerObj_maxscaledenom_get},
43821 : {"mapscriptc::layerObj_minfeaturesize_set", _wrap_layerObj_minfeaturesize_set},
43822 : {"mapscriptc::layerObj_minfeaturesize_get", _wrap_layerObj_minfeaturesize_get},
43823 : {"mapscriptc::layerObj_labelminscaledenom_set", _wrap_layerObj_labelminscaledenom_set},
43824 : {"mapscriptc::layerObj_labelminscaledenom_get", _wrap_layerObj_labelminscaledenom_get},
43825 : {"mapscriptc::layerObj_labelmaxscaledenom_set", _wrap_layerObj_labelmaxscaledenom_set},
43826 : {"mapscriptc::layerObj_labelmaxscaledenom_get", _wrap_layerObj_labelmaxscaledenom_get},
43827 : {"mapscriptc::layerObj_mingeowidth_set", _wrap_layerObj_mingeowidth_set},
43828 : {"mapscriptc::layerObj_mingeowidth_get", _wrap_layerObj_mingeowidth_get},
43829 : {"mapscriptc::layerObj_maxgeowidth_set", _wrap_layerObj_maxgeowidth_set},
43830 : {"mapscriptc::layerObj_maxgeowidth_get", _wrap_layerObj_maxgeowidth_get},
43831 : {"mapscriptc::layerObj_sizeunits_set", _wrap_layerObj_sizeunits_set},
43832 : {"mapscriptc::layerObj_sizeunits_get", _wrap_layerObj_sizeunits_get},
43833 : {"mapscriptc::layerObj_maxfeatures_set", _wrap_layerObj_maxfeatures_set},
43834 : {"mapscriptc::layerObj_maxfeatures_get", _wrap_layerObj_maxfeatures_get},
43835 : {"mapscriptc::layerObj_startindex_set", _wrap_layerObj_startindex_set},
43836 : {"mapscriptc::layerObj_startindex_get", _wrap_layerObj_startindex_get},
43837 : {"mapscriptc::layerObj_offsite_set", _wrap_layerObj_offsite_set},
43838 : {"mapscriptc::layerObj_offsite_get", _wrap_layerObj_offsite_get},
43839 : {"mapscriptc::layerObj_transform_set", _wrap_layerObj_transform_set},
43840 : {"mapscriptc::layerObj_transform_get", _wrap_layerObj_transform_get},
43841 : {"mapscriptc::layerObj_labelcache_set", _wrap_layerObj_labelcache_set},
43842 : {"mapscriptc::layerObj_labelcache_get", _wrap_layerObj_labelcache_get},
43843 : {"mapscriptc::layerObj_postlabelcache_set", _wrap_layerObj_postlabelcache_set},
43844 : {"mapscriptc::layerObj_postlabelcache_get", _wrap_layerObj_postlabelcache_get},
43845 : {"mapscriptc::layerObj_labelitem_set", _wrap_layerObj_labelitem_set},
43846 : {"mapscriptc::layerObj_labelitem_get", _wrap_layerObj_labelitem_get},
43847 : {"mapscriptc::layerObj_tileitem_set", _wrap_layerObj_tileitem_set},
43848 : {"mapscriptc::layerObj_tileitem_get", _wrap_layerObj_tileitem_get},
43849 : {"mapscriptc::layerObj_tileindex_set", _wrap_layerObj_tileindex_set},
43850 : {"mapscriptc::layerObj_tileindex_get", _wrap_layerObj_tileindex_get},
43851 : {"mapscriptc::layerObj_tilesrs_set", _wrap_layerObj_tilesrs_set},
43852 : {"mapscriptc::layerObj_tilesrs_get", _wrap_layerObj_tilesrs_get},
43853 : {"mapscriptc::layerObj_units_set", _wrap_layerObj_units_set},
43854 : {"mapscriptc::layerObj_units_get", _wrap_layerObj_units_get},
43855 : {"mapscriptc::layerObj_connection_set", _wrap_layerObj_connection_set},
43856 : {"mapscriptc::layerObj_connection_get", _wrap_layerObj_connection_get},
43857 : {"mapscriptc::layerObj_plugin_library_set", _wrap_layerObj_plugin_library_set},
43858 : {"mapscriptc::layerObj_plugin_library_get", _wrap_layerObj_plugin_library_get},
43859 : {"mapscriptc::layerObj_plugin_library_original_set", _wrap_layerObj_plugin_library_original_set},
43860 : {"mapscriptc::layerObj_plugin_library_original_get", _wrap_layerObj_plugin_library_original_get},
43861 : {"mapscriptc::layerObj_connectiontype_set", _wrap_layerObj_connectiontype_set},
43862 : {"mapscriptc::layerObj_connectiontype_get", _wrap_layerObj_connectiontype_get},
43863 : {"mapscriptc::layerObj_numitems_get", _wrap_layerObj_numitems_get},
43864 : {"mapscriptc::layerObj_bandsitem_set", _wrap_layerObj_bandsitem_set},
43865 : {"mapscriptc::layerObj_bandsitem_get", _wrap_layerObj_bandsitem_get},
43866 : {"mapscriptc::layerObj_filteritem_set", _wrap_layerObj_filteritem_set},
43867 : {"mapscriptc::layerObj_filteritem_get", _wrap_layerObj_filteritem_get},
43868 : {"mapscriptc::layerObj_styleitem_set", _wrap_layerObj_styleitem_set},
43869 : {"mapscriptc::layerObj_styleitem_get", _wrap_layerObj_styleitem_get},
43870 : {"mapscriptc::layerObj_requires_set", _wrap_layerObj_requires_set},
43871 : {"mapscriptc::layerObj_requires_get", _wrap_layerObj_requires_get},
43872 : {"mapscriptc::layerObj_labelrequires_set", _wrap_layerObj_labelrequires_set},
43873 : {"mapscriptc::layerObj_labelrequires_get", _wrap_layerObj_labelrequires_get},
43874 : {"mapscriptc::layerObj_metadata_get", _wrap_layerObj_metadata_get},
43875 : {"mapscriptc::layerObj_validation_get", _wrap_layerObj_validation_get},
43876 : {"mapscriptc::layerObj_bindvals_get", _wrap_layerObj_bindvals_get},
43877 : {"mapscriptc::layerObj_cluster_get", _wrap_layerObj_cluster_get},
43878 : {"mapscriptc::layerObj_dump_set", _wrap_layerObj_dump_set},
43879 : {"mapscriptc::layerObj_dump_get", _wrap_layerObj_dump_get},
43880 : {"mapscriptc::layerObj_debug_set", _wrap_layerObj_debug_set},
43881 : {"mapscriptc::layerObj_debug_get", _wrap_layerObj_debug_get},
43882 : {"mapscriptc::layerObj_extent_get", _wrap_layerObj_extent_get},
43883 : {"mapscriptc::layerObj_numprocessing_get", _wrap_layerObj_numprocessing_get},
43884 : {"mapscriptc::layerObj_numjoins_get", _wrap_layerObj_numjoins_get},
43885 : {"mapscriptc::layerObj_classgroup_set", _wrap_layerObj_classgroup_set},
43886 : {"mapscriptc::layerObj_classgroup_get", _wrap_layerObj_classgroup_get},
43887 : {"mapscriptc::layerObj_mask_set", _wrap_layerObj_mask_set},
43888 : {"mapscriptc::layerObj_mask_get", _wrap_layerObj_mask_get},
43889 : {"mapscriptc::layerObj_encoding_set", _wrap_layerObj_encoding_set},
43890 : {"mapscriptc::layerObj_encoding_get", _wrap_layerObj_encoding_get},
43891 : {"mapscriptc::layerObj_utfitem_set", _wrap_layerObj_utfitem_set},
43892 : {"mapscriptc::layerObj_utfitem_get", _wrap_layerObj_utfitem_get},
43893 : {"mapscriptc::layerObj_utfitemindex_set", _wrap_layerObj_utfitemindex_set},
43894 : {"mapscriptc::layerObj_utfitemindex_get", _wrap_layerObj_utfitemindex_get},
43895 : {"mapscriptc::layerObj_utfdata_set", _wrap_layerObj_utfdata_set},
43896 : {"mapscriptc::layerObj_utfdata_get", _wrap_layerObj_utfdata_get},
43897 : {"mapscriptc::layerObj_compositer_set", _wrap_layerObj_compositer_set},
43898 : {"mapscriptc::layerObj_compositer_get", _wrap_layerObj_compositer_get},
43899 : {"mapscriptc::layerObj_connectionoptions_set", _wrap_layerObj_connectionoptions_set},
43900 : {"mapscriptc::layerObj_connectionoptions_get", _wrap_layerObj_connectionoptions_get},
43901 : {"mapscriptc::new_layerObj", _wrap_new_layerObj},
43902 : {"mapscriptc::layerObj_setOpacity", _wrap_layerObj_setOpacity},
43903 : {"mapscriptc::layerObj_getOpacity", _wrap_layerObj_getOpacity},
43904 : {"mapscriptc::delete_layerObj", _wrap_delete_layerObj},
43905 : {"mapscriptc::layerObj_clone", _wrap_layerObj_clone},
43906 : {"mapscriptc::layerObj_updateFromString", _wrap_layerObj_updateFromString},
43907 : {"mapscriptc::layerObj_convertToString", _wrap_layerObj_convertToString},
43908 : {"mapscriptc::layerObj_insertClass", _wrap_layerObj_insertClass},
43909 : {"mapscriptc::layerObj_removeClass", _wrap_layerObj_removeClass},
43910 : {"mapscriptc::layerObj_open", _wrap_layerObj_open},
43911 : {"mapscriptc::layerObj_whichShapes", _wrap_layerObj_whichShapes},
43912 : {"mapscriptc::layerObj_nextShape", _wrap_layerObj_nextShape},
43913 : {"mapscriptc::layerObj_close", _wrap_layerObj_close},
43914 : {"mapscriptc::layerObj_getShape", _wrap_layerObj_getShape},
43915 : {"mapscriptc::layerObj_getNumResults", _wrap_layerObj_getNumResults},
43916 : {"mapscriptc::layerObj_getResultsBounds", _wrap_layerObj_getResultsBounds},
43917 : {"mapscriptc::layerObj_getResult", _wrap_layerObj_getResult},
43918 : {"mapscriptc::layerObj_getClass", _wrap_layerObj_getClass},
43919 : {"mapscriptc::layerObj_getItem", _wrap_layerObj_getItem},
43920 : {"mapscriptc::layerObj_setItems", _wrap_layerObj_setItems},
43921 : {"mapscriptc::layerObj_draw", _wrap_layerObj_draw},
43922 : {"mapscriptc::layerObj_drawQuery", _wrap_layerObj_drawQuery},
43923 : {"mapscriptc::layerObj_queryByFilter", _wrap_layerObj_queryByFilter},
43924 : {"mapscriptc::layerObj_queryByAttributes", _wrap_layerObj_queryByAttributes},
43925 : {"mapscriptc::layerObj_queryByPoint", _wrap_layerObj_queryByPoint},
43926 : {"mapscriptc::layerObj_queryByRect", _wrap_layerObj_queryByRect},
43927 : {"mapscriptc::layerObj_queryByFeatures", _wrap_layerObj_queryByFeatures},
43928 : {"mapscriptc::layerObj_queryByShape", _wrap_layerObj_queryByShape},
43929 : {"mapscriptc::layerObj_queryByIndex", _wrap_layerObj_queryByIndex},
43930 : {"mapscriptc::layerObj_getResults", _wrap_layerObj_getResults},
43931 : {"mapscriptc::layerObj_setFilter", _wrap_layerObj_setFilter},
43932 : {"mapscriptc::layerObj_getFilterString", _wrap_layerObj_getFilterString},
43933 : {"mapscriptc::layerObj_setWKTProjection", _wrap_layerObj_setWKTProjection},
43934 : {"mapscriptc::layerObj_getProjection", _wrap_layerObj_getProjection},
43935 : {"mapscriptc::layerObj_setProjection", _wrap_layerObj_setProjection},
43936 : {"mapscriptc::layerObj_addFeature", _wrap_layerObj_addFeature},
43937 : {"mapscriptc::layerObj_getNumFeatures", _wrap_layerObj_getNumFeatures},
43938 : {"mapscriptc::layerObj_getExtent", _wrap_layerObj_getExtent},
43939 : {"mapscriptc::layerObj_setExtent", _wrap_layerObj_setExtent},
43940 : {"mapscriptc::layerObj_getMetaData", _wrap_layerObj_getMetaData},
43941 : {"mapscriptc::layerObj_setMetaData", _wrap_layerObj_setMetaData},
43942 : {"mapscriptc::layerObj_removeMetaData", _wrap_layerObj_removeMetaData},
43943 : {"mapscriptc::layerObj_getFirstMetaDataKey", _wrap_layerObj_getFirstMetaDataKey},
43944 : {"mapscriptc::layerObj_getNextMetaDataKey", _wrap_layerObj_getNextMetaDataKey},
43945 : {"mapscriptc::layerObj_getWMSFeatureInfoURL", _wrap_layerObj_getWMSFeatureInfoURL},
43946 : {"mapscriptc::layerObj_executeWFSGetFeature", _wrap_layerObj_executeWFSGetFeature},
43947 : {"mapscriptc::layerObj_applySLD", _wrap_layerObj_applySLD},
43948 : {"mapscriptc::layerObj_applySLDURL", _wrap_layerObj_applySLDURL},
43949 : {"mapscriptc::layerObj_generateSLD", _wrap_layerObj_generateSLD},
43950 : {"mapscriptc::layerObj_isVisible", _wrap_layerObj_isVisible},
43951 : {"mapscriptc::layerObj_moveClassUp", _wrap_layerObj_moveClassUp},
43952 : {"mapscriptc::layerObj_moveClassDown", _wrap_layerObj_moveClassDown},
43953 : {"mapscriptc::layerObj_setProcessingKey", _wrap_layerObj_setProcessingKey},
43954 : {"mapscriptc::layerObj_setProcessing", _wrap_layerObj_setProcessing},
43955 : {"mapscriptc::layerObj_addProcessing", _wrap_layerObj_addProcessing},
43956 : {"mapscriptc::layerObj_getProcessing", _wrap_layerObj_getProcessing},
43957 : {"mapscriptc::layerObj_getProcessingKey", _wrap_layerObj_getProcessingKey},
43958 : {"mapscriptc::layerObj_clearProcessing", _wrap_layerObj_clearProcessing},
43959 : {"mapscriptc::layerObj_setConnectionType", _wrap_layerObj_setConnectionType},
43960 : {"mapscriptc::layerObj_getClassIndex", _wrap_layerObj_getClassIndex},
43961 : {"mapscriptc::layerObj_getGeomTransform", _wrap_layerObj_getGeomTransform},
43962 : {"mapscriptc::layerObj_setGeomTransform", _wrap_layerObj_setGeomTransform},
43963 : {"mapscriptc::layerObj_getItemType", _wrap_layerObj_getItemType},
43964 : {"mapscriptc::mapObj_name_set", _wrap_mapObj_name_set},
43965 : {"mapscriptc::mapObj_name_get", _wrap_mapObj_name_get},
43966 : {"mapscriptc::mapObj_status_set", _wrap_mapObj_status_set},
43967 : {"mapscriptc::mapObj_status_get", _wrap_mapObj_status_get},
43968 : {"mapscriptc::mapObj_height_set", _wrap_mapObj_height_set},
43969 : {"mapscriptc::mapObj_height_get", _wrap_mapObj_height_get},
43970 : {"mapscriptc::mapObj_width_set", _wrap_mapObj_width_set},
43971 : {"mapscriptc::mapObj_width_get", _wrap_mapObj_width_get},
43972 : {"mapscriptc::mapObj_maxsize_set", _wrap_mapObj_maxsize_set},
43973 : {"mapscriptc::mapObj_maxsize_get", _wrap_mapObj_maxsize_get},
43974 : {"mapscriptc::mapObj_refcount_get", _wrap_mapObj_refcount_get},
43975 : {"mapscriptc::mapObj_numlayers_get", _wrap_mapObj_numlayers_get},
43976 : {"mapscriptc::mapObj_maxlayers_get", _wrap_mapObj_maxlayers_get},
43977 : {"mapscriptc::mapObj_symbolset_get", _wrap_mapObj_symbolset_get},
43978 : {"mapscriptc::mapObj_fontset_get", _wrap_mapObj_fontset_get},
43979 : {"mapscriptc::mapObj_labelcache_get", _wrap_mapObj_labelcache_get},
43980 : {"mapscriptc::mapObj_transparent_set", _wrap_mapObj_transparent_set},
43981 : {"mapscriptc::mapObj_transparent_get", _wrap_mapObj_transparent_get},
43982 : {"mapscriptc::mapObj_interlace_set", _wrap_mapObj_interlace_set},
43983 : {"mapscriptc::mapObj_interlace_get", _wrap_mapObj_interlace_get},
43984 : {"mapscriptc::mapObj_imagequality_set", _wrap_mapObj_imagequality_set},
43985 : {"mapscriptc::mapObj_imagequality_get", _wrap_mapObj_imagequality_get},
43986 : {"mapscriptc::mapObj_extent_set", _wrap_mapObj_extent_set},
43987 : {"mapscriptc::mapObj_extent_get", _wrap_mapObj_extent_get},
43988 : {"mapscriptc::mapObj_cellsize_set", _wrap_mapObj_cellsize_set},
43989 : {"mapscriptc::mapObj_cellsize_get", _wrap_mapObj_cellsize_get},
43990 : {"mapscriptc::mapObj_units_set", _wrap_mapObj_units_set},
43991 : {"mapscriptc::mapObj_units_get", _wrap_mapObj_units_get},
43992 : {"mapscriptc::mapObj_scaledenom_set", _wrap_mapObj_scaledenom_set},
43993 : {"mapscriptc::mapObj_scaledenom_get", _wrap_mapObj_scaledenom_get},
43994 : {"mapscriptc::mapObj_resolution_set", _wrap_mapObj_resolution_set},
43995 : {"mapscriptc::mapObj_resolution_get", _wrap_mapObj_resolution_get},
43996 : {"mapscriptc::mapObj_defresolution_set", _wrap_mapObj_defresolution_set},
43997 : {"mapscriptc::mapObj_defresolution_get", _wrap_mapObj_defresolution_get},
43998 : {"mapscriptc::mapObj_shapepath_set", _wrap_mapObj_shapepath_set},
43999 : {"mapscriptc::mapObj_shapepath_get", _wrap_mapObj_shapepath_get},
44000 : {"mapscriptc::mapObj_mappath_set", _wrap_mapObj_mappath_set},
44001 : {"mapscriptc::mapObj_mappath_get", _wrap_mapObj_mappath_get},
44002 : {"mapscriptc::mapObj_imagecolor_set", _wrap_mapObj_imagecolor_set},
44003 : {"mapscriptc::mapObj_imagecolor_get", _wrap_mapObj_imagecolor_get},
44004 : {"mapscriptc::mapObj_numoutputformats_get", _wrap_mapObj_numoutputformats_get},
44005 : {"mapscriptc::mapObj_outputformat_get", _wrap_mapObj_outputformat_get},
44006 : {"mapscriptc::mapObj_imagetype_get", _wrap_mapObj_imagetype_get},
44007 : {"mapscriptc::mapObj_reference_get", _wrap_mapObj_reference_get},
44008 : {"mapscriptc::mapObj_scalebar_get", _wrap_mapObj_scalebar_get},
44009 : {"mapscriptc::mapObj_legend_get", _wrap_mapObj_legend_get},
44010 : {"mapscriptc::mapObj_querymap_get", _wrap_mapObj_querymap_get},
44011 : {"mapscriptc::mapObj_web_get", _wrap_mapObj_web_get},
44012 : {"mapscriptc::mapObj_layerorder_set", _wrap_mapObj_layerorder_set},
44013 : {"mapscriptc::mapObj_layerorder_get", _wrap_mapObj_layerorder_get},
44014 : {"mapscriptc::mapObj_debug_set", _wrap_mapObj_debug_set},
44015 : {"mapscriptc::mapObj_debug_get", _wrap_mapObj_debug_get},
44016 : {"mapscriptc::mapObj_datapattern_set", _wrap_mapObj_datapattern_set},
44017 : {"mapscriptc::mapObj_datapattern_get", _wrap_mapObj_datapattern_get},
44018 : {"mapscriptc::mapObj_templatepattern_set", _wrap_mapObj_templatepattern_set},
44019 : {"mapscriptc::mapObj_templatepattern_get", _wrap_mapObj_templatepattern_get},
44020 : {"mapscriptc::mapObj_configoptions_get", _wrap_mapObj_configoptions_get},
44021 : {"mapscriptc::new_mapObj", _wrap_new_mapObj},
44022 : {"mapscriptc::delete_mapObj", _wrap_delete_mapObj},
44023 : {"mapscriptc::mapObj_clone", _wrap_mapObj_clone},
44024 : {"mapscriptc::mapObj_insertLayer", _wrap_mapObj_insertLayer},
44025 : {"mapscriptc::mapObj_removeLayer", _wrap_mapObj_removeLayer},
44026 : {"mapscriptc::mapObj_setExtent", _wrap_mapObj_setExtent},
44027 : {"mapscriptc::mapObj_offsetExtent", _wrap_mapObj_offsetExtent},
44028 : {"mapscriptc::mapObj_scaleExtent", _wrap_mapObj_scaleExtent},
44029 : {"mapscriptc::mapObj_setCenter", _wrap_mapObj_setCenter},
44030 : {"mapscriptc::mapObj_setSize", _wrap_mapObj_setSize},
44031 : {"mapscriptc::mapObj_setRotation", _wrap_mapObj_setRotation},
44032 : {"mapscriptc::mapObj_getLayer", _wrap_mapObj_getLayer},
44033 : {"mapscriptc::mapObj_getLayerByName", _wrap_mapObj_getLayerByName},
44034 : {"mapscriptc::mapObj_getSymbolByName", _wrap_mapObj_getSymbolByName},
44035 : {"mapscriptc::mapObj_prepareQuery", _wrap_mapObj_prepareQuery},
44036 : {"mapscriptc::mapObj_prepareImage", _wrap_mapObj_prepareImage},
44037 : {"mapscriptc::mapObj_setImageType", _wrap_mapObj_setImageType},
44038 : {"mapscriptc::mapObj_selectOutputFormat", _wrap_mapObj_selectOutputFormat},
44039 : {"mapscriptc::mapObj_getOutputFormat", _wrap_mapObj_getOutputFormat},
44040 : {"mapscriptc::mapObj_setOutputFormat", _wrap_mapObj_setOutputFormat},
44041 : {"mapscriptc::mapObj_draw", _wrap_mapObj_draw},
44042 : {"mapscriptc::mapObj_drawQuery", _wrap_mapObj_drawQuery},
44043 : {"mapscriptc::mapObj_drawLegend", _wrap_mapObj_drawLegend},
44044 : {"mapscriptc::mapObj_drawScalebar", _wrap_mapObj_drawScalebar},
44045 : {"mapscriptc::mapObj_drawReferenceMap", _wrap_mapObj_drawReferenceMap},
44046 : {"mapscriptc::mapObj_embedScalebar", _wrap_mapObj_embedScalebar},
44047 : {"mapscriptc::mapObj_embedLegend", _wrap_mapObj_embedLegend},
44048 : {"mapscriptc::mapObj_drawLabelCache", _wrap_mapObj_drawLabelCache},
44049 : {"mapscriptc::mapObj_queryByFilter", _wrap_mapObj_queryByFilter},
44050 : {"mapscriptc::mapObj_queryByPoint", _wrap_mapObj_queryByPoint},
44051 : {"mapscriptc::mapObj_queryByRect", _wrap_mapObj_queryByRect},
44052 : {"mapscriptc::mapObj_queryByFeatures", _wrap_mapObj_queryByFeatures},
44053 : {"mapscriptc::mapObj_queryByShape", _wrap_mapObj_queryByShape},
44054 : {"mapscriptc::mapObj_setWKTProjection", _wrap_mapObj_setWKTProjection},
44055 : {"mapscriptc::mapObj_getProjection", _wrap_mapObj_getProjection},
44056 : {"mapscriptc::mapObj_setProjection", _wrap_mapObj_setProjection},
44057 : {"mapscriptc::mapObj_save", _wrap_mapObj_save},
44058 : {"mapscriptc::mapObj_saveQuery", _wrap_mapObj_saveQuery},
44059 : {"mapscriptc::mapObj_loadQuery", _wrap_mapObj_loadQuery},
44060 : {"mapscriptc::mapObj_freeQuery", _wrap_mapObj_freeQuery},
44061 : {"mapscriptc::mapObj_saveQueryAsGML", _wrap_mapObj_saveQueryAsGML},
44062 : {"mapscriptc::mapObj_getMetaData", _wrap_mapObj_getMetaData},
44063 : {"mapscriptc::mapObj_setMetaData", _wrap_mapObj_setMetaData},
44064 : {"mapscriptc::mapObj_removeMetaData", _wrap_mapObj_removeMetaData},
44065 : {"mapscriptc::mapObj_getFirstMetaDataKey", _wrap_mapObj_getFirstMetaDataKey},
44066 : {"mapscriptc::mapObj_getNextMetaDataKey", _wrap_mapObj_getNextMetaDataKey},
44067 : {"mapscriptc::mapObj_setSymbolSet", _wrap_mapObj_setSymbolSet},
44068 : {"mapscriptc::mapObj_getNumSymbols", _wrap_mapObj_getNumSymbols},
44069 : {"mapscriptc::mapObj_setFontSet", _wrap_mapObj_setFontSet},
44070 : {"mapscriptc::mapObj_saveMapContext", _wrap_mapObj_saveMapContext},
44071 : {"mapscriptc::mapObj_loadMapContext", _wrap_mapObj_loadMapContext},
44072 : {"mapscriptc::mapObj_moveLayerUp", _wrap_mapObj_moveLayerUp},
44073 : {"mapscriptc::mapObj_moveLayerDown", _wrap_mapObj_moveLayerDown},
44074 : {"mapscriptc::mapObj_getLayersDrawingOrder", _wrap_mapObj_getLayersDrawingOrder},
44075 : {"mapscriptc::mapObj_setLayersDrawingOrder", _wrap_mapObj_setLayersDrawingOrder},
44076 : {"mapscriptc::mapObj_setConfigOption", _wrap_mapObj_setConfigOption},
44077 : {"mapscriptc::mapObj_getConfigOption", _wrap_mapObj_getConfigOption},
44078 : {"mapscriptc::mapObj_applyConfigOptions", _wrap_mapObj_applyConfigOptions},
44079 : {"mapscriptc::mapObj_applySLD", _wrap_mapObj_applySLD},
44080 : {"mapscriptc::mapObj_applySLDURL", _wrap_mapObj_applySLDURL},
44081 : {"mapscriptc::mapObj_generateSLD", _wrap_mapObj_generateSLD},
44082 : {"mapscriptc::mapObj_processTemplate", _wrap_mapObj_processTemplate},
44083 : {"mapscriptc::mapObj_processLegendTemplate", _wrap_mapObj_processLegendTemplate},
44084 : {"mapscriptc::mapObj_processQueryTemplate", _wrap_mapObj_processQueryTemplate},
44085 : {"mapscriptc::mapObj_getOutputFormatByName", _wrap_mapObj_getOutputFormatByName},
44086 : {"mapscriptc::mapObj_appendOutputFormat", _wrap_mapObj_appendOutputFormat},
44087 : {"mapscriptc::mapObj_removeOutputFormat", _wrap_mapObj_removeOutputFormat},
44088 : {"mapscriptc::mapObj_loadOWSParameters", _wrap_mapObj_loadOWSParameters},
44089 : {"mapscriptc::mapObj_OWSDispatch", _wrap_mapObj_OWSDispatch},
44090 : {"mapscriptc::mapObj_convertToString", _wrap_mapObj_convertToString},
44091 : {"mapscriptc::mapObj_applyDefaultSubstitutions", _wrap_mapObj_applyDefaultSubstitutions},
44092 : {"mapscriptc::mapObj_applySubstitutions", _wrap_mapObj_applySubstitutions},
44093 : {"mapscriptc::mapObj_zoomPoint", _wrap_mapObj_zoomPoint},
44094 : {"mapscriptc::mapObj_zoomRectangle", _wrap_mapObj_zoomRectangle},
44095 : {"mapscriptc::mapObj_zoomScale", _wrap_mapObj_zoomScale},
44096 : {"mapscriptc::msSaveImage", _wrap_msSaveImage},
44097 : {"mapscriptc::msFreeImage", _wrap_msFreeImage},
44098 : {"mapscriptc::msSetup", _wrap_msSetup},
44099 : {"mapscriptc::msCleanup", _wrap_msCleanup},
44100 : {"mapscriptc::msLoadMapFromString", _wrap_msLoadMapFromString},
44101 : {"mapscriptc::rectObj_minx_set", _wrap_rectObj_minx_set},
44102 : {"mapscriptc::rectObj_minx_get", _wrap_rectObj_minx_get},
44103 : {"mapscriptc::rectObj_miny_set", _wrap_rectObj_miny_set},
44104 : {"mapscriptc::rectObj_miny_get", _wrap_rectObj_miny_get},
44105 : {"mapscriptc::rectObj_maxx_set", _wrap_rectObj_maxx_set},
44106 : {"mapscriptc::rectObj_maxx_get", _wrap_rectObj_maxx_get},
44107 : {"mapscriptc::rectObj_maxy_set", _wrap_rectObj_maxy_set},
44108 : {"mapscriptc::rectObj_maxy_get", _wrap_rectObj_maxy_get},
44109 : {"mapscriptc::new_rectObj", _wrap_new_rectObj},
44110 : {"mapscriptc::delete_rectObj", _wrap_delete_rectObj},
44111 : {"mapscriptc::rectObj_project", _wrap_rectObj_project},
44112 : {"mapscriptc::rectObj_fit", _wrap_rectObj_fit},
44113 : {"mapscriptc::rectObj_draw", _wrap_rectObj_draw},
44114 : {"mapscriptc::rectObj_getCenter", _wrap_rectObj_getCenter},
44115 : {"mapscriptc::rectObj_toPolygon", _wrap_rectObj_toPolygon},
44116 : {"mapscriptc::rectObj_toString", _wrap_rectObj_toString},
44117 : {"mapscriptc::pointObj_x_set", _wrap_pointObj_x_set},
44118 : {"mapscriptc::pointObj_x_get", _wrap_pointObj_x_get},
44119 : {"mapscriptc::pointObj_y_set", _wrap_pointObj_y_set},
44120 : {"mapscriptc::pointObj_y_get", _wrap_pointObj_y_get},
44121 : {"mapscriptc::new_pointObj", _wrap_new_pointObj},
44122 : {"mapscriptc::delete_pointObj", _wrap_delete_pointObj},
44123 : {"mapscriptc::pointObj_project", _wrap_pointObj_project},
44124 : {"mapscriptc::pointObj_draw", _wrap_pointObj_draw},
44125 : {"mapscriptc::pointObj_distanceToPoint", _wrap_pointObj_distanceToPoint},
44126 : {"mapscriptc::pointObj_distanceToSegment", _wrap_pointObj_distanceToSegment},
44127 : {"mapscriptc::pointObj_distanceToShape", _wrap_pointObj_distanceToShape},
44128 : {"mapscriptc::pointObj_setXY", _wrap_pointObj_setXY},
44129 : {"mapscriptc::pointObj_setXYZ", _wrap_pointObj_setXYZ},
44130 : {"mapscriptc::pointObj_setXYZM", _wrap_pointObj_setXYZM},
44131 : {"mapscriptc::pointObj_toString", _wrap_pointObj_toString},
44132 : {"mapscriptc::pointObj_toShape", _wrap_pointObj_toShape},
44133 : {"mapscriptc::lineObj_numpoints_get", _wrap_lineObj_numpoints_get},
44134 : {"mapscriptc::new_lineObj", _wrap_new_lineObj},
44135 : {"mapscriptc::delete_lineObj", _wrap_delete_lineObj},
44136 : {"mapscriptc::lineObj_project", _wrap_lineObj_project},
44137 : {"mapscriptc::lineObj_get", _wrap_lineObj_get},
44138 : {"mapscriptc::lineObj_add", _wrap_lineObj_add},
44139 : {"mapscriptc::lineObj_set", _wrap_lineObj_set},
44140 : {"mapscriptc::shapeObj_numlines_get", _wrap_shapeObj_numlines_get},
44141 : {"mapscriptc::shapeObj_numvalues_get", _wrap_shapeObj_numvalues_get},
44142 : {"mapscriptc::shapeObj_bounds_set", _wrap_shapeObj_bounds_set},
44143 : {"mapscriptc::shapeObj_bounds_get", _wrap_shapeObj_bounds_get},
44144 : {"mapscriptc::shapeObj_type_set", _wrap_shapeObj_type_set},
44145 : {"mapscriptc::shapeObj_type_get", _wrap_shapeObj_type_get},
44146 : {"mapscriptc::shapeObj_index_set", _wrap_shapeObj_index_set},
44147 : {"mapscriptc::shapeObj_index_get", _wrap_shapeObj_index_get},
44148 : {"mapscriptc::shapeObj_tileindex_set", _wrap_shapeObj_tileindex_set},
44149 : {"mapscriptc::shapeObj_tileindex_get", _wrap_shapeObj_tileindex_get},
44150 : {"mapscriptc::shapeObj_classindex_set", _wrap_shapeObj_classindex_set},
44151 : {"mapscriptc::shapeObj_classindex_get", _wrap_shapeObj_classindex_get},
44152 : {"mapscriptc::shapeObj_text_set", _wrap_shapeObj_text_set},
44153 : {"mapscriptc::shapeObj_text_get", _wrap_shapeObj_text_get},
44154 : {"mapscriptc::shapeObj_scratch_set", _wrap_shapeObj_scratch_set},
44155 : {"mapscriptc::shapeObj_scratch_get", _wrap_shapeObj_scratch_get},
44156 : {"mapscriptc::shapeObj_resultindex_set", _wrap_shapeObj_resultindex_set},
44157 : {"mapscriptc::shapeObj_resultindex_get", _wrap_shapeObj_resultindex_get},
44158 : {"mapscriptc::new_shapeObj", _wrap_new_shapeObj},
44159 : {"mapscriptc::delete_shapeObj", _wrap_delete_shapeObj},
44160 : {"mapscriptc::shapeObj_fromWKT", _wrap_shapeObj_fromWKT},
44161 : {"mapscriptc::shapeObj_project", _wrap_shapeObj_project},
44162 : {"mapscriptc::shapeObj_get", _wrap_shapeObj_get},
44163 : {"mapscriptc::shapeObj_add", _wrap_shapeObj_add},
44164 : {"mapscriptc::shapeObj_draw", _wrap_shapeObj_draw},
44165 : {"mapscriptc::shapeObj_setBounds", _wrap_shapeObj_setBounds},
44166 : {"mapscriptc::shapeObj_clone", _wrap_shapeObj_clone},
44167 : {"mapscriptc::shapeObj_copy", _wrap_shapeObj_copy},
44168 : {"mapscriptc::shapeObj_toWKT", _wrap_shapeObj_toWKT},
44169 : {"mapscriptc::shapeObj_buffer", _wrap_shapeObj_buffer},
44170 : {"mapscriptc::shapeObj_simplify", _wrap_shapeObj_simplify},
44171 : {"mapscriptc::shapeObj_topologyPreservingSimplify", _wrap_shapeObj_topologyPreservingSimplify},
44172 : {"mapscriptc::shapeObj_convexHull", _wrap_shapeObj_convexHull},
44173 : {"mapscriptc::shapeObj_boundary", _wrap_shapeObj_boundary},
44174 : {"mapscriptc::shapeObj_getCentroid", _wrap_shapeObj_getCentroid},
44175 : {"mapscriptc::shapeObj_Union", _wrap_shapeObj_Union},
44176 : {"mapscriptc::shapeObj_intersection", _wrap_shapeObj_intersection},
44177 : {"mapscriptc::shapeObj_difference", _wrap_shapeObj_difference},
44178 : {"mapscriptc::shapeObj_symDifference", _wrap_shapeObj_symDifference},
44179 : {"mapscriptc::shapeObj_overlaps", _wrap_shapeObj_overlaps},
44180 : {"mapscriptc::shapeObj_within", _wrap_shapeObj_within},
44181 : {"mapscriptc::shapeObj_crosses", _wrap_shapeObj_crosses},
44182 : {"mapscriptc::shapeObj_intersects", _wrap_shapeObj_intersects},
44183 : {"mapscriptc::shapeObj_touches", _wrap_shapeObj_touches},
44184 : {"mapscriptc::shapeObj_equals", _wrap_shapeObj_equals},
44185 : {"mapscriptc::shapeObj_disjoint", _wrap_shapeObj_disjoint},
44186 : {"mapscriptc::shapeObj_getArea", _wrap_shapeObj_getArea},
44187 : {"mapscriptc::shapeObj_getLength", _wrap_shapeObj_getLength},
44188 : {"mapscriptc::shapeObj_getValue", _wrap_shapeObj_getValue},
44189 : {"mapscriptc::shapeObj_contains", _wrap_shapeObj_contains},
44190 : {"mapscriptc::shapeObj_distanceToPoint", _wrap_shapeObj_distanceToPoint},
44191 : {"mapscriptc::shapeObj_distanceToShape", _wrap_shapeObj_distanceToShape},
44192 : {"mapscriptc::shapeObj_getLabelPoint", _wrap_shapeObj_getLabelPoint},
44193 : {"mapscriptc::shapeObj_setValue", _wrap_shapeObj_setValue},
44194 : {"mapscriptc::shapeObj_initValues", _wrap_shapeObj_initValues},
44195 : {"mapscriptc::DBFInfo_fp_get", _wrap_DBFInfo_fp_get},
44196 : {"mapscriptc::DBFInfo_nRecords_get", _wrap_DBFInfo_nRecords_get},
44197 : {"mapscriptc::DBFInfo_nRecordLength_get", _wrap_DBFInfo_nRecordLength_get},
44198 : {"mapscriptc::DBFInfo_nHeaderLength_get", _wrap_DBFInfo_nHeaderLength_get},
44199 : {"mapscriptc::DBFInfo_nFields_get", _wrap_DBFInfo_nFields_get},
44200 : {"mapscriptc::DBFInfo_panFieldOffset_get", _wrap_DBFInfo_panFieldOffset_get},
44201 : {"mapscriptc::DBFInfo_panFieldSize_get", _wrap_DBFInfo_panFieldSize_get},
44202 : {"mapscriptc::DBFInfo_panFieldDecimals_get", _wrap_DBFInfo_panFieldDecimals_get},
44203 : {"mapscriptc::DBFInfo_pachFieldType_get", _wrap_DBFInfo_pachFieldType_get},
44204 : {"mapscriptc::DBFInfo_pszHeader_get", _wrap_DBFInfo_pszHeader_get},
44205 : {"mapscriptc::DBFInfo_nCurrentRecord_get", _wrap_DBFInfo_nCurrentRecord_get},
44206 : {"mapscriptc::DBFInfo_bCurrentRecordModified_get", _wrap_DBFInfo_bCurrentRecordModified_get},
44207 : {"mapscriptc::DBFInfo_pszCurrentRecord_get", _wrap_DBFInfo_pszCurrentRecord_get},
44208 : {"mapscriptc::DBFInfo_bNoHeader_get", _wrap_DBFInfo_bNoHeader_get},
44209 : {"mapscriptc::DBFInfo_bUpdated_get", _wrap_DBFInfo_bUpdated_get},
44210 : {"mapscriptc::DBFInfo_pszStringField_get", _wrap_DBFInfo_pszStringField_get},
44211 : {"mapscriptc::DBFInfo_nStringFieldLen_get", _wrap_DBFInfo_nStringFieldLen_get},
44212 : {"mapscriptc::DBFInfo_getFieldName", _wrap_DBFInfo_getFieldName},
44213 : {"mapscriptc::DBFInfo_getFieldWidth", _wrap_DBFInfo_getFieldWidth},
44214 : {"mapscriptc::DBFInfo_getFieldDecimals", _wrap_DBFInfo_getFieldDecimals},
44215 : {"mapscriptc::DBFInfo_getFieldType", _wrap_DBFInfo_getFieldType},
44216 : {"mapscriptc::new_DBFInfo", _wrap_new_DBFInfo},
44217 : {"mapscriptc::delete_DBFInfo", _wrap_delete_DBFInfo},
44218 : {"mapscriptc::shapefileObj_source_get", _wrap_shapefileObj_source_get},
44219 : {"mapscriptc::shapefileObj_type_get", _wrap_shapefileObj_type_get},
44220 : {"mapscriptc::shapefileObj_numshapes_get", _wrap_shapefileObj_numshapes_get},
44221 : {"mapscriptc::shapefileObj_bounds_get", _wrap_shapefileObj_bounds_get},
44222 : {"mapscriptc::shapefileObj_lastshape_get", _wrap_shapefileObj_lastshape_get},
44223 : {"mapscriptc::shapefileObj_status_get", _wrap_shapefileObj_status_get},
44224 : {"mapscriptc::shapefileObj_isopen_get", _wrap_shapefileObj_isopen_get},
44225 : {"mapscriptc::new_shapefileObj", _wrap_new_shapefileObj},
44226 : {"mapscriptc::delete_shapefileObj", _wrap_delete_shapefileObj},
44227 : {"mapscriptc::shapefileObj_get", _wrap_shapefileObj_get},
44228 : {"mapscriptc::shapefileObj_getShape", _wrap_shapefileObj_getShape},
44229 : {"mapscriptc::shapefileObj_getPoint", _wrap_shapefileObj_getPoint},
44230 : {"mapscriptc::shapefileObj_getTransformed", _wrap_shapefileObj_getTransformed},
44231 : {"mapscriptc::shapefileObj_getExtent", _wrap_shapefileObj_getExtent},
44232 : {"mapscriptc::shapefileObj_add", _wrap_shapefileObj_add},
44233 : {"mapscriptc::shapefileObj_addPoint", _wrap_shapefileObj_addPoint},
44234 : {"mapscriptc::shapefileObj_getDBF", _wrap_shapefileObj_getDBF},
44235 : {"mapscriptc::projectionObj_numargs_get", _wrap_projectionObj_numargs_get},
44236 : {"mapscriptc::projectionObj_automatic_get", _wrap_projectionObj_automatic_get},
44237 : {"mapscriptc::projectionObj_wellknownprojection_set", _wrap_projectionObj_wellknownprojection_set},
44238 : {"mapscriptc::projectionObj_wellknownprojection_get", _wrap_projectionObj_wellknownprojection_get},
44239 : {"mapscriptc::new_projectionObj", _wrap_new_projectionObj},
44240 : {"mapscriptc::delete_projectionObj", _wrap_delete_projectionObj},
44241 : {"mapscriptc::projectionObj_setWKTProjection", _wrap_projectionObj_setWKTProjection},
44242 : {"mapscriptc::projectionObj_getUnits", _wrap_projectionObj_getUnits},
44243 : {"mapscriptc::colorObj_red_set", _wrap_colorObj_red_set},
44244 : {"mapscriptc::colorObj_red_get", _wrap_colorObj_red_get},
44245 : {"mapscriptc::colorObj_green_set", _wrap_colorObj_green_set},
44246 : {"mapscriptc::colorObj_green_get", _wrap_colorObj_green_get},
44247 : {"mapscriptc::colorObj_blue_set", _wrap_colorObj_blue_set},
44248 : {"mapscriptc::colorObj_blue_get", _wrap_colorObj_blue_get},
44249 : {"mapscriptc::colorObj_alpha_set", _wrap_colorObj_alpha_set},
44250 : {"mapscriptc::colorObj_alpha_get", _wrap_colorObj_alpha_get},
44251 : {"mapscriptc::new_colorObj", _wrap_new_colorObj},
44252 : {"mapscriptc::delete_colorObj", _wrap_delete_colorObj},
44253 : {"mapscriptc::colorObj_setRGB", _wrap_colorObj_setRGB},
44254 : {"mapscriptc::colorObj_setHex", _wrap_colorObj_setHex},
44255 : {"mapscriptc::colorObj_toHex", _wrap_colorObj_toHex},
44256 : {"mapscriptc::symbolObj_name_set", _wrap_symbolObj_name_set},
44257 : {"mapscriptc::symbolObj_name_get", _wrap_symbolObj_name_get},
44258 : {"mapscriptc::symbolObj_type_set", _wrap_symbolObj_type_set},
44259 : {"mapscriptc::symbolObj_type_get", _wrap_symbolObj_type_get},
44260 : {"mapscriptc::symbolObj_inmapfile_set", _wrap_symbolObj_inmapfile_set},
44261 : {"mapscriptc::symbolObj_inmapfile_get", _wrap_symbolObj_inmapfile_get},
44262 : {"mapscriptc::symbolObj_sizex_set", _wrap_symbolObj_sizex_set},
44263 : {"mapscriptc::symbolObj_sizex_get", _wrap_symbolObj_sizex_get},
44264 : {"mapscriptc::symbolObj_sizey_set", _wrap_symbolObj_sizey_set},
44265 : {"mapscriptc::symbolObj_sizey_get", _wrap_symbolObj_sizey_get},
44266 : {"mapscriptc::symbolObj_minx_set", _wrap_symbolObj_minx_set},
44267 : {"mapscriptc::symbolObj_minx_get", _wrap_symbolObj_minx_get},
44268 : {"mapscriptc::symbolObj_miny_set", _wrap_symbolObj_miny_set},
44269 : {"mapscriptc::symbolObj_miny_get", _wrap_symbolObj_miny_get},
44270 : {"mapscriptc::symbolObj_maxx_set", _wrap_symbolObj_maxx_set},
44271 : {"mapscriptc::symbolObj_maxx_get", _wrap_symbolObj_maxx_get},
44272 : {"mapscriptc::symbolObj_maxy_set", _wrap_symbolObj_maxy_set},
44273 : {"mapscriptc::symbolObj_maxy_get", _wrap_symbolObj_maxy_get},
44274 : {"mapscriptc::symbolObj_refcount_get", _wrap_symbolObj_refcount_get},
44275 : {"mapscriptc::symbolObj_numpoints_get", _wrap_symbolObj_numpoints_get},
44276 : {"mapscriptc::symbolObj_filled_set", _wrap_symbolObj_filled_set},
44277 : {"mapscriptc::symbolObj_filled_get", _wrap_symbolObj_filled_get},
44278 : {"mapscriptc::symbolObj_anchorpoint_x_set", _wrap_symbolObj_anchorpoint_x_set},
44279 : {"mapscriptc::symbolObj_anchorpoint_x_get", _wrap_symbolObj_anchorpoint_x_get},
44280 : {"mapscriptc::symbolObj_anchorpoint_y_set", _wrap_symbolObj_anchorpoint_y_set},
44281 : {"mapscriptc::symbolObj_anchorpoint_y_get", _wrap_symbolObj_anchorpoint_y_get},
44282 : {"mapscriptc::symbolObj_imagepath_get", _wrap_symbolObj_imagepath_get},
44283 : {"mapscriptc::symbolObj_transparent_set", _wrap_symbolObj_transparent_set},
44284 : {"mapscriptc::symbolObj_transparent_get", _wrap_symbolObj_transparent_get},
44285 : {"mapscriptc::symbolObj_transparentcolor_set", _wrap_symbolObj_transparentcolor_set},
44286 : {"mapscriptc::symbolObj_transparentcolor_get", _wrap_symbolObj_transparentcolor_get},
44287 : {"mapscriptc::symbolObj_character_set", _wrap_symbolObj_character_set},
44288 : {"mapscriptc::symbolObj_character_get", _wrap_symbolObj_character_get},
44289 : {"mapscriptc::symbolObj_font_set", _wrap_symbolObj_font_set},
44290 : {"mapscriptc::symbolObj_font_get", _wrap_symbolObj_font_get},
44291 : {"mapscriptc::new_symbolObj", _wrap_new_symbolObj},
44292 : {"mapscriptc::delete_symbolObj", _wrap_delete_symbolObj},
44293 : {"mapscriptc::symbolObj_setImagepath", _wrap_symbolObj_setImagepath},
44294 : {"mapscriptc::symbolObj_setPoints", _wrap_symbolObj_setPoints},
44295 : {"mapscriptc::symbolObj_getPoints", _wrap_symbolObj_getPoints},
44296 : {"mapscriptc::symbolObj_getImage", _wrap_symbolObj_getImage},
44297 : {"mapscriptc::symbolObj_setImage", _wrap_symbolObj_setImage},
44298 : {"mapscriptc::errorObj_code_set", _wrap_errorObj_code_set},
44299 : {"mapscriptc::errorObj_code_get", _wrap_errorObj_code_get},
44300 : {"mapscriptc::errorObj_routine_set", _wrap_errorObj_routine_set},
44301 : {"mapscriptc::errorObj_routine_get", _wrap_errorObj_routine_get},
44302 : {"mapscriptc::errorObj_message_set", _wrap_errorObj_message_set},
44303 : {"mapscriptc::errorObj_message_get", _wrap_errorObj_message_get},
44304 : {"mapscriptc::errorObj_isreported_set", _wrap_errorObj_isreported_set},
44305 : {"mapscriptc::errorObj_isreported_get", _wrap_errorObj_isreported_get},
44306 : {"mapscriptc::errorObj_errorcount_set", _wrap_errorObj_errorcount_set},
44307 : {"mapscriptc::errorObj_errorcount_get", _wrap_errorObj_errorcount_get},
44308 : {"mapscriptc::new_errorObj", _wrap_new_errorObj},
44309 : {"mapscriptc::delete_errorObj", _wrap_delete_errorObj},
44310 : {"mapscriptc::errorObj_next", _wrap_errorObj_next},
44311 : {"mapscriptc::msGetErrorObj", _wrap_msGetErrorObj},
44312 : {"mapscriptc::msResetErrorList", _wrap_msResetErrorList},
44313 : {"mapscriptc::msGetVersion", _wrap_msGetVersion},
44314 : {"mapscriptc::msGetVersionInt", _wrap_msGetVersionInt},
44315 : {"mapscriptc::msGetErrorString", _wrap_msGetErrorString},
44316 : {"mapscriptc::hashTableObj_numitems_get", _wrap_hashTableObj_numitems_get},
44317 : {"mapscriptc::new_hashTableObj", _wrap_new_hashTableObj},
44318 : {"mapscriptc::delete_hashTableObj", _wrap_delete_hashTableObj},
44319 : {"mapscriptc::hashTableObj_set", _wrap_hashTableObj_set},
44320 : {"mapscriptc::hashTableObj_get", _wrap_hashTableObj_get},
44321 : {"mapscriptc::hashTableObj_remove", _wrap_hashTableObj_remove},
44322 : {"mapscriptc::hashTableObj_clear", _wrap_hashTableObj_clear},
44323 : {"mapscriptc::hashTableObj_nextKey", _wrap_hashTableObj_nextKey},
44324 : {"mapscriptc::OWSRequest_NumParams_get", _wrap_OWSRequest_NumParams_get},
44325 : {"mapscriptc::OWSRequest_type_set", _wrap_OWSRequest_type_set},
44326 : {"mapscriptc::OWSRequest_type_get", _wrap_OWSRequest_type_get},
44327 : {"mapscriptc::OWSRequest_contenttype_set", _wrap_OWSRequest_contenttype_set},
44328 : {"mapscriptc::OWSRequest_contenttype_get", _wrap_OWSRequest_contenttype_get},
44329 : {"mapscriptc::OWSRequest_postrequest_set", _wrap_OWSRequest_postrequest_set},
44330 : {"mapscriptc::OWSRequest_postrequest_get", _wrap_OWSRequest_postrequest_get},
44331 : {"mapscriptc::OWSRequest_httpcookiedata_set", _wrap_OWSRequest_httpcookiedata_set},
44332 : {"mapscriptc::OWSRequest_httpcookiedata_get", _wrap_OWSRequest_httpcookiedata_get},
44333 : {"mapscriptc::new_OWSRequest", _wrap_new_OWSRequest},
44334 : {"mapscriptc::delete_OWSRequest", _wrap_delete_OWSRequest},
44335 : {"mapscriptc::OWSRequest_loadParams", _wrap_OWSRequest_loadParams},
44336 : {"mapscriptc::OWSRequest_loadParamsFromURL", _wrap_OWSRequest_loadParamsFromURL},
44337 : {"mapscriptc::OWSRequest_setParameter", _wrap_OWSRequest_setParameter},
44338 : {"mapscriptc::OWSRequest_addParameter", _wrap_OWSRequest_addParameter},
44339 : {"mapscriptc::OWSRequest_getName", _wrap_OWSRequest_getName},
44340 : {"mapscriptc::OWSRequest_getValue", _wrap_OWSRequest_getValue},
44341 : {"mapscriptc::OWSRequest_getValueByName", _wrap_OWSRequest_getValueByName},
44342 : {"mapscriptc::msConnPoolCloseUnreferenced", _wrap_msConnPoolCloseUnreferenced},
44343 : {"mapscriptc::msIO_resetHandlers", _wrap_msIO_resetHandlers},
44344 : {"mapscriptc::msIO_installStdoutToBuffer", _wrap_msIO_installStdoutToBuffer},
44345 : {"mapscriptc::msIO_installStdinFromBuffer", _wrap_msIO_installStdinFromBuffer},
44346 : {"mapscriptc::msIO_stripStdoutBufferContentType", _wrap_msIO_stripStdoutBufferContentType},
44347 : {"mapscriptc::msIO_stripStdoutBufferContentHeaders", _wrap_msIO_stripStdoutBufferContentHeaders},
44348 : {"mapscriptc::msIO_getStdoutBufferString", _wrap_msIO_getStdoutBufferString},
44349 : {"mapscriptc::msIO_getStdoutBufferBytes", _wrap_msIO_getStdoutBufferBytes},
44350 : {"mapscriptc::msIO_getAndStripStdoutBufferMimeHeaders", _wrap_msIO_getAndStripStdoutBufferMimeHeaders},
44351 : {0,0}
44352 : };
44353 : /* -----------------------------------------------------------------------------
44354 : * Type initialization:
44355 : * This problem is tough by the requirement that no dynamic
44356 : * memory is used. Also, since swig_type_info structures store pointers to
44357 : * swig_cast_info structures and swig_cast_info structures store pointers back
44358 : * to swig_type_info structures, we need some lookup code at initialization.
44359 : * The idea is that swig generates all the structures that are needed.
44360 : * The runtime then collects these partially filled structures.
44361 : * The SWIG_InitializeModule function takes these initial arrays out of
44362 : * swig_module, and does all the lookup, filling in the swig_module.types
44363 : * array with the correct data and linking the correct swig_cast_info
44364 : * structures together.
44365 : *
44366 : * The generated swig_type_info structures are assigned statically to an initial
44367 : * array. We just loop through that array, and handle each type individually.
44368 : * First we lookup if this type has been already loaded, and if so, use the
44369 : * loaded structure instead of the generated one. Then we have to fill in the
44370 : * cast linked list. The cast data is initially stored in something like a
44371 : * two-dimensional array. Each row corresponds to a type (there are the same
44372 : * number of rows as there are in the swig_type_initial array). Each entry in
44373 : * a column is one of the swig_cast_info structures for that type.
44374 : * The cast_initial array is actually an array of arrays, because each row has
44375 : * a variable number of columns. So to actually build the cast linked list,
44376 : * we find the array of casts associated with the type, and loop through it
44377 : * adding the casts to the list. The one last trick we need to do is making
44378 : * sure the type pointer in the swig_cast_info struct is correct.
44379 : *
44380 : * First off, we lookup the cast->type name to see if it is already loaded.
44381 : * There are three cases to handle:
44382 : * 1) If the cast->type has already been loaded AND the type we are adding
44383 : * casting info to has not been loaded (it is in this module), THEN we
44384 : * replace the cast->type pointer with the type pointer that has already
44385 : * been loaded.
44386 : * 2) If BOTH types (the one we are adding casting info to, and the
44387 : * cast->type) are loaded, THEN the cast info has already been loaded by
44388 : * the previous module so we just ignore it.
44389 : * 3) Finally, if cast->type has not already been loaded, then we add that
44390 : * swig_cast_info to the linked list (because the cast->type) pointer will
44391 : * be correct.
44392 : * ----------------------------------------------------------------------------- */
44393 :
44394 : #ifdef __cplusplus
44395 : extern "C" {
44396 : #if 0
44397 : } /* c-mode */
44398 : #endif
44399 : #endif
44400 :
44401 : #if 0
44402 : #define SWIGRUNTIME_DEBUG
44403 : #endif
44404 :
44405 :
44406 : SWIGRUNTIME void
44407 1 : SWIG_InitializeModule(void *clientdata) {
44408 : size_t i;
44409 : swig_module_info *module_head, *iter;
44410 : int init;
44411 :
44412 : /* check to see if the circular list has been setup, if not, set it up */
44413 1 : if (swig_module.next==0) {
44414 : /* Initialize the swig_module */
44415 1 : swig_module.type_initial = swig_type_initial;
44416 1 : swig_module.cast_initial = swig_cast_initial;
44417 1 : swig_module.next = &swig_module;
44418 : init = 1;
44419 : } else {
44420 : init = 0;
44421 : }
44422 :
44423 : /* Try and load any already created modules */
44424 1 : module_head = SWIG_GetModule(clientdata);
44425 1 : if (!module_head) {
44426 : /* This is the first module loaded for this interpreter */
44427 : /* so set the swig module into the interpreter */
44428 1 : SWIG_SetModule(clientdata, &swig_module);
44429 : } else {
44430 : /* the interpreter has loaded a SWIG module, but has it loaded this one? */
44431 : iter=module_head;
44432 : do {
44433 0 : if (iter==&swig_module) {
44434 : /* Our module is already in the list, so there's nothing more to do. */
44435 : return;
44436 : }
44437 0 : iter=iter->next;
44438 0 : } while (iter!= module_head);
44439 :
44440 : /* otherwise we must add our module into the list */
44441 0 : swig_module.next = module_head->next;
44442 0 : module_head->next = &swig_module;
44443 : }
44444 :
44445 : /* When multiple interpreters are used, a module could have already been initialized in
44446 : a different interpreter, but not yet have a pointer in this interpreter.
44447 : In this case, we do not want to continue adding types... everything should be
44448 : set up already */
44449 1 : if (init == 0) return;
44450 :
44451 : /* Now work on filling in swig_module.types */
44452 : #ifdef SWIGRUNTIME_DEBUG
44453 : printf("SWIG_InitializeModule: size %d\n", swig_module.size);
44454 : #endif
44455 1 : for (i = 0; i < swig_module.size; ++i) {
44456 : swig_type_info *type = 0;
44457 : swig_type_info *ret;
44458 : swig_cast_info *cast;
44459 :
44460 : #ifdef SWIGRUNTIME_DEBUG
44461 : printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44462 : #endif
44463 :
44464 : /* if there is another module already loaded */
44465 1 : if (swig_module.next != &swig_module) {
44466 0 : type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
44467 : }
44468 1 : if (type) {
44469 : /* Overwrite clientdata field */
44470 : #ifdef SWIGRUNTIME_DEBUG
44471 : printf("SWIG_InitializeModule: found type %s\n", type->name);
44472 : #endif
44473 0 : if (swig_module.type_initial[i]->clientdata) {
44474 0 : type->clientdata = swig_module.type_initial[i]->clientdata;
44475 : #ifdef SWIGRUNTIME_DEBUG
44476 : printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
44477 : #endif
44478 : }
44479 : } else {
44480 1 : type = swig_module.type_initial[i];
44481 : }
44482 :
44483 : /* Insert casting types */
44484 1 : cast = swig_module.cast_initial[i];
44485 1 : while (cast->type) {
44486 : /* Don't need to add information already in the list */
44487 : ret = 0;
44488 : #ifdef SWIGRUNTIME_DEBUG
44489 : printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
44490 : #endif
44491 1 : if (swig_module.next != &swig_module) {
44492 0 : ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
44493 : #ifdef SWIGRUNTIME_DEBUG
44494 : if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
44495 : #endif
44496 : }
44497 1 : if (ret) {
44498 0 : if (type == swig_module.type_initial[i]) {
44499 : #ifdef SWIGRUNTIME_DEBUG
44500 : printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
44501 : #endif
44502 0 : cast->type = ret;
44503 : ret = 0;
44504 : } else {
44505 : /* Check for casting already in the list */
44506 0 : swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
44507 : #ifdef SWIGRUNTIME_DEBUG
44508 : if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
44509 : #endif
44510 0 : if (!ocast) ret = 0;
44511 : }
44512 : }
44513 :
44514 1 : if (!ret) {
44515 : #ifdef SWIGRUNTIME_DEBUG
44516 : printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
44517 : #endif
44518 1 : if (type->cast) {
44519 1 : type->cast->prev = cast;
44520 1 : cast->next = type->cast;
44521 : }
44522 1 : type->cast = cast;
44523 : }
44524 1 : cast++;
44525 : }
44526 : /* Set entry in modules->types array equal to the type */
44527 1 : swig_module.types[i] = type;
44528 : }
44529 1 : swig_module.types[i] = 0;
44530 :
44531 : #ifdef SWIGRUNTIME_DEBUG
44532 : printf("**** SWIG_InitializeModule: Cast List ******\n");
44533 : for (i = 0; i < swig_module.size; ++i) {
44534 : int j = 0;
44535 : swig_cast_info *cast = swig_module.cast_initial[i];
44536 : printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44537 : while (cast->type) {
44538 : printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
44539 : cast++;
44540 : ++j;
44541 : }
44542 : printf("---- Total casts: %d\n",j);
44543 : }
44544 : printf("**** SWIG_InitializeModule: Cast List ******\n");
44545 : #endif
44546 : }
44547 :
44548 : /* This function will propagate the clientdata field of type to
44549 : * any new swig_type_info structures that have been added into the list
44550 : * of equivalent types. It is like calling
44551 : * SWIG_TypeClientData(type, clientdata) a second time.
44552 : */
44553 : SWIGRUNTIME void
44554 : SWIG_PropagateClientData(void) {
44555 : size_t i;
44556 : swig_cast_info *equiv;
44557 : static int init_run = 0;
44558 :
44559 : if (init_run) return;
44560 : init_run = 1;
44561 :
44562 : for (i = 0; i < swig_module.size; i++) {
44563 : if (swig_module.types[i]->clientdata) {
44564 : equiv = swig_module.types[i]->cast;
44565 : while (equiv) {
44566 : if (!equiv->converter) {
44567 : if (equiv->type && !equiv->type->clientdata)
44568 : SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
44569 : }
44570 : equiv = equiv->next;
44571 : }
44572 : }
44573 : }
44574 : }
44575 :
44576 : #ifdef __cplusplus
44577 : #if 0
44578 : {
44579 : /* c-mode */
44580 : #endif
44581 : }
44582 : #endif
44583 :
44584 :
44585 :
44586 : #if defined(__cplusplus) && ! defined(XSPROTO)
44587 : extern "C"
44588 : #endif
44589 :
44590 1 : XS(SWIG_init) {
44591 1 : dXSARGS;
44592 : int i;
44593 : (void)items;
44594 :
44595 1 : SWIG_InitializeModule(0);
44596 :
44597 : /* Install commands */
44598 1 : for (i = 0; swig_commands[i].name; i++) {
44599 : /* Casts only needed for Perl < 5.10. */
44600 : #ifdef __cplusplus
44601 : newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
44602 : #else
44603 1 : newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
44604 : #endif
44605 : }
44606 :
44607 : /* Install variables */
44608 0 : for (i = 0; swig_variables[i].name; i++) {
44609 : SV *sv;
44610 0 : sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
44611 0 : if (swig_variables[i].type) {
44612 0 : SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
44613 : } else {
44614 0 : sv_setiv(sv,(IV) 0);
44615 : }
44616 0 : swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
44617 : }
44618 :
44619 : /* Install constant */
44620 0 : for (i = 0; swig_constants[i].type; i++) {
44621 : SV *sv;
44622 0 : sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
44623 0 : switch(swig_constants[i].type) {
44624 : case SWIG_INT:
44625 0 : sv_setiv(sv, (IV) swig_constants[i].lvalue);
44626 0 : break;
44627 : case SWIG_FLOAT:
44628 0 : sv_setnv(sv, (double) swig_constants[i].dvalue);
44629 0 : break;
44630 : case SWIG_STRING:
44631 0 : sv_setpv(sv, (const char *) swig_constants[i].pvalue);
44632 0 : break;
44633 : case SWIG_POINTER:
44634 0 : SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
44635 0 : break;
44636 : case SWIG_BINARY:
44637 0 : SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
44638 0 : break;
44639 : default:
44640 : break;
44641 : }
44642 0 : SvREADONLY_on(sv);
44643 : }
44644 :
44645 1 : SWIG_TypeClientData(SWIGTYPE_p_intarray, (void*) "mapscript::intarray");
44646 :
44647 1 : if(msSetup() != MS_SUCCESS) {
44648 0 : msSetError(MS_MISCERR, "Error initializing MapServer/Mapscript.", "msSetup()");
44649 : }
44650 :
44651 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44652 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRUE", TRUE | 0x2 | GV_ADDMULTI);
44653 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44654 1 : SvREADONLY_on(sv);
44655 : } while(0) /*@SWIG@*/;
44656 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44657 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FALSE", TRUE | 0x2 | GV_ADDMULTI);
44658 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44659 1 : SvREADONLY_on(sv);
44660 : } while(0) /*@SWIG@*/;
44661 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44662 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNKNOWN", TRUE | 0x2 | GV_ADDMULTI);
44663 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-1)));
44664 1 : SvREADONLY_on(sv);
44665 : } while(0) /*@SWIG@*/;
44666 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44667 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ON", TRUE | 0x2 | GV_ADDMULTI);
44668 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44669 1 : SvREADONLY_on(sv);
44670 : } while(0) /*@SWIG@*/;
44671 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44672 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OFF", TRUE | 0x2 | GV_ADDMULTI);
44673 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44674 1 : SvREADONLY_on(sv);
44675 : } while(0) /*@SWIG@*/;
44676 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44677 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
44678 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44679 1 : SvREADONLY_on(sv);
44680 : } while(0) /*@SWIG@*/;
44681 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44682 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_EMBED", TRUE | 0x2 | GV_ADDMULTI);
44683 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44684 1 : SvREADONLY_on(sv);
44685 : } while(0) /*@SWIG@*/;
44686 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44687 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DELETE", TRUE | 0x2 | GV_ADDMULTI);
44688 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
44689 1 : SvREADONLY_on(sv);
44690 : } while(0) /*@SWIG@*/;
44691 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44692 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_YES", TRUE | 0x2 | GV_ADDMULTI);
44693 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44694 1 : SvREADONLY_on(sv);
44695 : } while(0) /*@SWIG@*/;
44696 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44697 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NO", TRUE | 0x2 | GV_ADDMULTI);
44698 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44699 1 : SvREADONLY_on(sv);
44700 : } while(0) /*@SWIG@*/;
44701 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44702 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44703 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
44704 1 : SvREADONLY_on(sv);
44705 : } while(0) /*@SWIG@*/;
44706 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44707 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CLASS_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44708 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
44709 1 : SvREADONLY_on(sv);
44710 : } while(0) /*@SWIG@*/;
44711 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44712 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44713 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
44714 1 : SvREADONLY_on(sv);
44715 : } while(0) /*@SWIG@*/;
44716 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44717 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44718 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44719 1 : SvREADONLY_on(sv);
44720 : } while(0) /*@SWIG@*/;
44721 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44722 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
44723 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
44724 1 : SvREADONLY_on(sv);
44725 : } while(0) /*@SWIG@*/;
44726 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44727 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_FONTS", TRUE | 0x2 | GV_ADDMULTI);
44728 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44729 1 : SvREADONLY_on(sv);
44730 : } while(0) /*@SWIG@*/;
44731 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44732 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
44733 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44734 1 : SvREADONLY_on(sv);
44735 : } while(0) /*@SWIG@*/;
44736 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44737 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_FORCE_GROUP", TRUE | 0x2 | GV_ADDMULTI);
44738 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44739 1 : SvREADONLY_on(sv);
44740 : } while(0) /*@SWIG@*/;
44741 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44742 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_SWF", TRUE | 0x2 | GV_ADDMULTI);
44743 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44744 1 : SvREADONLY_on(sv);
44745 : } while(0) /*@SWIG@*/;
44746 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44747 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_RAWDATA", TRUE | 0x2 | GV_ADDMULTI);
44748 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44749 1 : SvREADONLY_on(sv);
44750 : } while(0) /*@SWIG@*/;
44751 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44752 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_IMAGEMAP", TRUE | 0x2 | GV_ADDMULTI);
44753 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44754 1 : SvREADONLY_on(sv);
44755 : } while(0) /*@SWIG@*/;
44756 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44757 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_TEMPLATE", TRUE | 0x2 | GV_ADDMULTI);
44758 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
44759 1 : SvREADONLY_on(sv);
44760 : } while(0) /*@SWIG@*/;
44761 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44762 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGR", TRUE | 0x2 | GV_ADDMULTI);
44763 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
44764 1 : SvREADONLY_on(sv);
44765 : } while(0) /*@SWIG@*/;
44766 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44767 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
44768 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
44769 1 : SvREADONLY_on(sv);
44770 : } while(0) /*@SWIG@*/;
44771 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44772 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44773 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(101)));
44774 1 : SvREADONLY_on(sv);
44775 : } while(0) /*@SWIG@*/;
44776 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44777 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_PDF", TRUE | 0x2 | GV_ADDMULTI);
44778 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(102)));
44779 1 : SvREADONLY_on(sv);
44780 : } while(0) /*@SWIG@*/;
44781 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44782 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_SVG", TRUE | 0x2 | GV_ADDMULTI);
44783 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(103)));
44784 1 : SvREADONLY_on(sv);
44785 : } while(0) /*@SWIG@*/;
44786 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44787 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGL", TRUE | 0x2 | GV_ADDMULTI);
44788 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(104)));
44789 1 : SvREADONLY_on(sv);
44790 : } while(0) /*@SWIG@*/;
44791 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44792 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_AGG", TRUE | 0x2 | GV_ADDMULTI);
44793 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(105)));
44794 1 : SvREADONLY_on(sv);
44795 : } while(0) /*@SWIG@*/;
44796 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44797 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_KML", TRUE | 0x2 | GV_ADDMULTI);
44798 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(106)));
44799 1 : SvREADONLY_on(sv);
44800 : } while(0) /*@SWIG@*/;
44801 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44802 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_UTFGRID", TRUE | 0x2 | GV_ADDMULTI);
44803 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(107)));
44804 1 : SvREADONLY_on(sv);
44805 : } while(0) /*@SWIG@*/;
44806 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44807 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_MVT", TRUE | 0x2 | GV_ADDMULTI);
44808 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(108)));
44809 1 : SvREADONLY_on(sv);
44810 : } while(0) /*@SWIG@*/;
44811 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44812 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_MAP", TRUE | 0x2 | GV_ADDMULTI);
44813 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_MAP)));
44814 1 : SvREADONLY_on(sv);
44815 : } while(0) /*@SWIG@*/;
44816 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44817 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
44818 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_SYMBOL)));
44819 1 : SvREADONLY_on(sv);
44820 : } while(0) /*@SWIG@*/;
44821 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44822 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INCHES", TRUE | 0x2 | GV_ADDMULTI);
44823 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INCHES)));
44824 1 : SvREADONLY_on(sv);
44825 : } while(0) /*@SWIG@*/;
44826 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44827 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FEET", TRUE | 0x2 | GV_ADDMULTI);
44828 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FEET)));
44829 1 : SvREADONLY_on(sv);
44830 : } while(0) /*@SWIG@*/;
44831 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44832 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MILES", TRUE | 0x2 | GV_ADDMULTI);
44833 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_MILES)));
44834 1 : SvREADONLY_on(sv);
44835 : } while(0) /*@SWIG@*/;
44836 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44837 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_METERS", TRUE | 0x2 | GV_ADDMULTI);
44838 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_METERS)));
44839 1 : SvREADONLY_on(sv);
44840 : } while(0) /*@SWIG@*/;
44841 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44842 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_KILOMETERS", TRUE | 0x2 | GV_ADDMULTI);
44843 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_KILOMETERS)));
44844 1 : SvREADONLY_on(sv);
44845 : } while(0) /*@SWIG@*/;
44846 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44847 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DD", TRUE | 0x2 | GV_ADDMULTI);
44848 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DD)));
44849 1 : SvREADONLY_on(sv);
44850 : } while(0) /*@SWIG@*/;
44851 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44852 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PIXELS", TRUE | 0x2 | GV_ADDMULTI);
44853 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PIXELS)));
44854 1 : SvREADONLY_on(sv);
44855 : } while(0) /*@SWIG@*/;
44856 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44857 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PERCENTAGES", TRUE | 0x2 | GV_ADDMULTI);
44858 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PERCENTAGES)));
44859 1 : SvREADONLY_on(sv);
44860 : } while(0) /*@SWIG@*/;
44861 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44862 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NAUTICALMILES", TRUE | 0x2 | GV_ADDMULTI);
44863 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NAUTICALMILES)));
44864 1 : SvREADONLY_on(sv);
44865 : } while(0) /*@SWIG@*/;
44866 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44867 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INHERIT", TRUE | 0x2 | GV_ADDMULTI);
44868 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INHERIT)));
44869 1 : SvREADONLY_on(sv);
44870 : } while(0) /*@SWIG@*/;
44871 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44872 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POINT", TRUE | 0x2 | GV_ADDMULTI);
44873 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POINT)));
44874 1 : SvREADONLY_on(sv);
44875 : } while(0) /*@SWIG@*/;
44876 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44877 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_LINE", TRUE | 0x2 | GV_ADDMULTI);
44878 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_LINE)));
44879 1 : SvREADONLY_on(sv);
44880 : } while(0) /*@SWIG@*/;
44881 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44882 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
44883 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POLYGON)));
44884 1 : SvREADONLY_on(sv);
44885 : } while(0) /*@SWIG@*/;
44886 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44887 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_NULL", TRUE | 0x2 | GV_ADDMULTI);
44888 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_NULL)));
44889 1 : SvREADONLY_on(sv);
44890 : } while(0) /*@SWIG@*/;
44891 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44892 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POINT", TRUE | 0x2 | GV_ADDMULTI);
44893 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POINT)));
44894 1 : SvREADONLY_on(sv);
44895 : } while(0) /*@SWIG@*/;
44896 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44897 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_LINE", TRUE | 0x2 | GV_ADDMULTI);
44898 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_LINE)));
44899 1 : SvREADONLY_on(sv);
44900 : } while(0) /*@SWIG@*/;
44901 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44902 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
44903 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POLYGON)));
44904 1 : SvREADONLY_on(sv);
44905 : } while(0) /*@SWIG@*/;
44906 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44907 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44908 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_RASTER)));
44909 1 : SvREADONLY_on(sv);
44910 : } while(0) /*@SWIG@*/;
44911 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44912 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ANNOTATION", TRUE | 0x2 | GV_ADDMULTI);
44913 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_ANNOTATION)));
44914 1 : SvREADONLY_on(sv);
44915 : } while(0) /*@SWIG@*/;
44916 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44917 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_QUERY", TRUE | 0x2 | GV_ADDMULTI);
44918 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_QUERY)));
44919 1 : SvREADONLY_on(sv);
44920 : } while(0) /*@SWIG@*/;
44921 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44922 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CIRCLE", TRUE | 0x2 | GV_ADDMULTI);
44923 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CIRCLE)));
44924 1 : SvREADONLY_on(sv);
44925 : } while(0) /*@SWIG@*/;
44926 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44927 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_TILEINDEX", TRUE | 0x2 | GV_ADDMULTI);
44928 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_TILEINDEX)));
44929 1 : SvREADONLY_on(sv);
44930 : } while(0) /*@SWIG@*/;
44931 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44932 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CHART", TRUE | 0x2 | GV_ADDMULTI);
44933 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CHART)));
44934 1 : SvREADONLY_on(sv);
44935 : } while(0) /*@SWIG@*/;
44936 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44937 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
44938 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRUETYPE)));
44939 1 : SvREADONLY_on(sv);
44940 : } while(0) /*@SWIG@*/;
44941 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44942 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_BITMAP", TRUE | 0x2 | GV_ADDMULTI);
44943 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_BITMAP)));
44944 1 : SvREADONLY_on(sv);
44945 : } while(0) /*@SWIG@*/;
44946 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44947 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FIRST_MATCHING_CLASS", TRUE | 0x2 | GV_ADDMULTI);
44948 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FIRST_MATCHING_CLASS)));
44949 1 : SvREADONLY_on(sv);
44950 : } while(0) /*@SWIG@*/;
44951 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44952 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALL_MATCHING_CLASSES", TRUE | 0x2 | GV_ADDMULTI);
44953 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALL_MATCHING_CLASSES)));
44954 1 : SvREADONLY_on(sv);
44955 : } while(0) /*@SWIG@*/;
44956 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44957 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POSITIONS_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
44958 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(14)));
44959 1 : SvREADONLY_on(sv);
44960 : } while(0) /*@SWIG@*/;
44961 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44962 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UL", TRUE | 0x2 | GV_ADDMULTI);
44963 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UL)));
44964 1 : SvREADONLY_on(sv);
44965 : } while(0) /*@SWIG@*/;
44966 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44967 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LR", TRUE | 0x2 | GV_ADDMULTI);
44968 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LR)));
44969 1 : SvREADONLY_on(sv);
44970 : } while(0) /*@SWIG@*/;
44971 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44972 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UR", TRUE | 0x2 | GV_ADDMULTI);
44973 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UR)));
44974 1 : SvREADONLY_on(sv);
44975 : } while(0) /*@SWIG@*/;
44976 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44977 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LL", TRUE | 0x2 | GV_ADDMULTI);
44978 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LL)));
44979 1 : SvREADONLY_on(sv);
44980 : } while(0) /*@SWIG@*/;
44981 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44982 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CR", TRUE | 0x2 | GV_ADDMULTI);
44983 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CR)));
44984 1 : SvREADONLY_on(sv);
44985 : } while(0) /*@SWIG@*/;
44986 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44987 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CL", TRUE | 0x2 | GV_ADDMULTI);
44988 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CL)));
44989 1 : SvREADONLY_on(sv);
44990 : } while(0) /*@SWIG@*/;
44991 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44992 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UC", TRUE | 0x2 | GV_ADDMULTI);
44993 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UC)));
44994 1 : SvREADONLY_on(sv);
44995 : } while(0) /*@SWIG@*/;
44996 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44997 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LC", TRUE | 0x2 | GV_ADDMULTI);
44998 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LC)));
44999 1 : SvREADONLY_on(sv);
45000 : } while(0) /*@SWIG@*/;
45001 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45002 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CC", TRUE | 0x2 | GV_ADDMULTI);
45003 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CC)));
45004 1 : SvREADONLY_on(sv);
45005 : } while(0) /*@SWIG@*/;
45006 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45007 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO", TRUE | 0x2 | GV_ADDMULTI);
45008 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO)));
45009 1 : SvREADONLY_on(sv);
45010 : } while(0) /*@SWIG@*/;
45011 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45012 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_XY", TRUE | 0x2 | GV_ADDMULTI);
45013 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_XY)));
45014 1 : SvREADONLY_on(sv);
45015 : } while(0) /*@SWIG@*/;
45016 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45017 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NONE", TRUE | 0x2 | GV_ADDMULTI);
45018 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NONE)));
45019 1 : SvREADONLY_on(sv);
45020 : } while(0) /*@SWIG@*/;
45021 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45022 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO2", TRUE | 0x2 | GV_ADDMULTI);
45023 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO2)));
45024 1 : SvREADONLY_on(sv);
45025 : } while(0) /*@SWIG@*/;
45026 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45027 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FOLLOW", TRUE | 0x2 | GV_ADDMULTI);
45028 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FOLLOW)));
45029 1 : SvREADONLY_on(sv);
45030 : } while(0) /*@SWIG@*/;
45031 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45032 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TINY", TRUE | 0x2 | GV_ADDMULTI);
45033 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
45034 1 : SvREADONLY_on(sv);
45035 : } while(0) /*@SWIG@*/;
45036 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45037 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SMALL", TRUE | 0x2 | GV_ADDMULTI);
45038 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
45039 1 : SvREADONLY_on(sv);
45040 : } while(0) /*@SWIG@*/;
45041 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45042 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
45043 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
45044 1 : SvREADONLY_on(sv);
45045 : } while(0) /*@SWIG@*/;
45046 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45047 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LARGE", TRUE | 0x2 | GV_ADDMULTI);
45048 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
45049 1 : SvREADONLY_on(sv);
45050 : } while(0) /*@SWIG@*/;
45051 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45052 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GIANT", TRUE | 0x2 | GV_ADDMULTI);
45053 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
45054 1 : SvREADONLY_on(sv);
45055 : } while(0) /*@SWIG@*/;
45056 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45057 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NORMAL", TRUE | 0x2 | GV_ADDMULTI);
45058 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NORMAL)));
45059 1 : SvREADONLY_on(sv);
45060 : } while(0) /*@SWIG@*/;
45061 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45062 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HILITE", TRUE | 0x2 | GV_ADDMULTI);
45063 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_HILITE)));
45064 1 : SvREADONLY_on(sv);
45065 : } while(0) /*@SWIG@*/;
45066 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45067 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SELECTED", TRUE | 0x2 | GV_ADDMULTI);
45068 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SELECTED)));
45069 1 : SvREADONLY_on(sv);
45070 : } while(0) /*@SWIG@*/;
45071 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45072 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INLINE", TRUE | 0x2 | GV_ADDMULTI);
45073 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INLINE)));
45074 1 : SvREADONLY_on(sv);
45075 : } while(0) /*@SWIG@*/;
45076 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45077 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
45078 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPEFILE)));
45079 1 : SvREADONLY_on(sv);
45080 : } while(0) /*@SWIG@*/;
45081 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45082 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TILED_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
45083 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TILED_SHAPEFILE)));
45084 1 : SvREADONLY_on(sv);
45085 : } while(0) /*@SWIG@*/;
45086 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45087 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_2", TRUE | 0x2 | GV_ADDMULTI);
45088 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_2)));
45089 1 : SvREADONLY_on(sv);
45090 : } while(0) /*@SWIG@*/;
45091 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45092 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGR", TRUE | 0x2 | GV_ADDMULTI);
45093 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_OGR)));
45094 1 : SvREADONLY_on(sv);
45095 : } while(0) /*@SWIG@*/;
45096 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45097 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_1", TRUE | 0x2 | GV_ADDMULTI);
45098 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_1)));
45099 1 : SvREADONLY_on(sv);
45100 : } while(0) /*@SWIG@*/;
45101 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45102 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POSTGIS", TRUE | 0x2 | GV_ADDMULTI);
45103 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_POSTGIS)));
45104 1 : SvREADONLY_on(sv);
45105 : } while(0) /*@SWIG@*/;
45106 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45107 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMS", TRUE | 0x2 | GV_ADDMULTI);
45108 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_WMS)));
45109 1 : SvREADONLY_on(sv);
45110 : } while(0) /*@SWIG@*/;
45111 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45112 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIAL", TRUE | 0x2 | GV_ADDMULTI);
45113 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ORACLESPATIAL)));
45114 1 : SvREADONLY_on(sv);
45115 : } while(0) /*@SWIG@*/;
45116 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45117 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFS", TRUE | 0x2 | GV_ADDMULTI);
45118 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_WFS)));
45119 1 : SvREADONLY_on(sv);
45120 : } while(0) /*@SWIG@*/;
45121 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45122 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GRATICULE", TRUE | 0x2 | GV_ADDMULTI);
45123 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GRATICULE)));
45124 1 : SvREADONLY_on(sv);
45125 : } while(0) /*@SWIG@*/;
45126 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45127 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
45128 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_MYSQL)));
45129 1 : SvREADONLY_on(sv);
45130 : } while(0) /*@SWIG@*/;
45131 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45132 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RASTER", TRUE | 0x2 | GV_ADDMULTI);
45133 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_RASTER)));
45134 1 : SvREADONLY_on(sv);
45135 : } while(0) /*@SWIG@*/;
45136 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45137 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
45138 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PLUGIN)));
45139 1 : SvREADONLY_on(sv);
45140 : } while(0) /*@SWIG@*/;
45141 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45142 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNION", TRUE | 0x2 | GV_ADDMULTI);
45143 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNION)));
45144 1 : SvREADONLY_on(sv);
45145 : } while(0) /*@SWIG@*/;
45146 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45147 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UVRASTER", TRUE | 0x2 | GV_ADDMULTI);
45148 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UVRASTER)));
45149 1 : SvREADONLY_on(sv);
45150 : } while(0) /*@SWIG@*/;
45151 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45152 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CONTOUR", TRUE | 0x2 | GV_ADDMULTI);
45153 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CONTOUR)));
45154 1 : SvREADONLY_on(sv);
45155 : } while(0) /*@SWIG@*/;
45156 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45157 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_KERNELDENSITY", TRUE | 0x2 | GV_ADDMULTI);
45158 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_KERNELDENSITY)));
45159 1 : SvREADONLY_on(sv);
45160 : } while(0) /*@SWIG@*/;
45161 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45162 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_XBASE", TRUE | 0x2 | GV_ADDMULTI);
45163 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_XBASE)));
45164 1 : SvREADONLY_on(sv);
45165 : } while(0) /*@SWIG@*/;
45166 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45167 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_CSV", TRUE | 0x2 | GV_ADDMULTI);
45168 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_CSV)));
45169 1 : SvREADONLY_on(sv);
45170 : } while(0) /*@SWIG@*/;
45171 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45172 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
45173 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_MYSQL)));
45174 1 : SvREADONLY_on(sv);
45175 : } while(0) /*@SWIG@*/;
45176 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45177 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_ORACLE", TRUE | 0x2 | GV_ADDMULTI);
45178 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_ORACLE)));
45179 1 : SvREADONLY_on(sv);
45180 : } while(0) /*@SWIG@*/;
45181 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45182 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_POSTGRES", TRUE | 0x2 | GV_ADDMULTI);
45183 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_POSTGRES)));
45184 1 : SvREADONLY_on(sv);
45185 : } while(0) /*@SWIG@*/;
45186 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45187 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_ONE", TRUE | 0x2 | GV_ADDMULTI);
45188 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_ONE)));
45189 1 : SvREADONLY_on(sv);
45190 : } while(0) /*@SWIG@*/;
45191 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45192 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_MANY", TRUE | 0x2 | GV_ADDMULTI);
45193 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_MANY)));
45194 1 : SvREADONLY_on(sv);
45195 : } while(0) /*@SWIG@*/;
45196 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45197 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
45198 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
45199 1 : SvREADONLY_on(sv);
45200 : } while(0) /*@SWIG@*/;
45201 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45202 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
45203 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45204 1 : SvREADONLY_on(sv);
45205 : } while(0) /*@SWIG@*/;
45206 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45207 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
45208 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_SINGLE)));
45209 1 : SvREADONLY_on(sv);
45210 : } while(0) /*@SWIG@*/;
45211 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45212 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
45213 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_MULTIPLE)));
45214 1 : SvREADONLY_on(sv);
45215 : } while(0) /*@SWIG@*/;
45216 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45217 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_IS_NULL", TRUE | 0x2 | GV_ADDMULTI);
45218 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_IS_NULL)));
45219 1 : SvREADONLY_on(sv);
45220 : } while(0) /*@SWIG@*/;
45221 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45222 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_POINT", TRUE | 0x2 | GV_ADDMULTI);
45223 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_POINT)));
45224 1 : SvREADONLY_on(sv);
45225 : } while(0) /*@SWIG@*/;
45226 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45227 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_RECT", TRUE | 0x2 | GV_ADDMULTI);
45228 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_RECT)));
45229 1 : SvREADONLY_on(sv);
45230 : } while(0) /*@SWIG@*/;
45231 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45232 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45233 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_SHAPE)));
45234 1 : SvREADONLY_on(sv);
45235 : } while(0) /*@SWIG@*/;
45236 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45237 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_ATTRIBUTE", TRUE | 0x2 | GV_ADDMULTI);
45238 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_ATTRIBUTE)));
45239 1 : SvREADONLY_on(sv);
45240 : } while(0) /*@SWIG@*/;
45241 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45242 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_INDEX", TRUE | 0x2 | GV_ADDMULTI);
45243 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_INDEX)));
45244 1 : SvREADONLY_on(sv);
45245 : } while(0) /*@SWIG@*/;
45246 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45247 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_FILTER", TRUE | 0x2 | GV_ADDMULTI);
45248 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_FILTER)));
45249 1 : SvREADONLY_on(sv);
45250 : } while(0) /*@SWIG@*/;
45251 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45252 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
45253 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_DEFAULT)));
45254 1 : SvREADONLY_on(sv);
45255 : } while(0) /*@SWIG@*/;
45256 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45257 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_LEFT", TRUE | 0x2 | GV_ADDMULTI);
45258 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_LEFT)));
45259 1 : SvREADONLY_on(sv);
45260 : } while(0) /*@SWIG@*/;
45261 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45262 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_CENTER", TRUE | 0x2 | GV_ADDMULTI);
45263 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_CENTER)));
45264 1 : SvREADONLY_on(sv);
45265 : } while(0) /*@SWIG@*/;
45266 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45267 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_RIGHT", TRUE | 0x2 | GV_ADDMULTI);
45268 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_RIGHT)));
45269 1 : SvREADONLY_on(sv);
45270 : } while(0) /*@SWIG@*/;
45271 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45272 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_NONE", TRUE | 0x2 | GV_ADDMULTI);
45273 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_NONE)));
45274 1 : SvREADONLY_on(sv);
45275 : } while(0) /*@SWIG@*/;
45276 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45277 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BEVEL", TRUE | 0x2 | GV_ADDMULTI);
45278 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BEVEL)));
45279 1 : SvREADONLY_on(sv);
45280 : } while(0) /*@SWIG@*/;
45281 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45282 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BUTT", TRUE | 0x2 | GV_ADDMULTI);
45283 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BUTT)));
45284 1 : SvREADONLY_on(sv);
45285 : } while(0) /*@SWIG@*/;
45286 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45287 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_MITER", TRUE | 0x2 | GV_ADDMULTI);
45288 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_MITER)));
45289 1 : SvREADONLY_on(sv);
45290 : } while(0) /*@SWIG@*/;
45291 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45292 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45293 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_ROUND)));
45294 1 : SvREADONLY_on(sv);
45295 : } while(0) /*@SWIG@*/;
45296 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45297 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_SQUARE", TRUE | 0x2 | GV_ADDMULTI);
45298 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_SQUARE)));
45299 1 : SvREADONLY_on(sv);
45300 : } while(0) /*@SWIG@*/;
45301 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45302 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_TRIANGLE", TRUE | 0x2 | GV_ADDMULTI);
45303 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_TRIANGLE)));
45304 1 : SvREADONLY_on(sv);
45305 : } while(0) /*@SWIG@*/;
45306 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45307 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_DEFAULT_JOIN_MAXSIZE", TRUE | 0x2 | GV_ADDMULTI);
45308 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
45309 1 : SvREADONLY_on(sv);
45310 : } while(0) /*@SWIG@*/;
45311 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45312 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
45313 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SUCCESS)));
45314 1 : SvREADONLY_on(sv);
45315 : } while(0) /*@SWIG@*/;
45316 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45317 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
45318 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FAILURE)));
45319 1 : SvREADONLY_on(sv);
45320 : } while(0) /*@SWIG@*/;
45321 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45322 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DONE", TRUE | 0x2 | GV_ADDMULTI);
45323 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DONE)));
45324 1 : SvREADONLY_on(sv);
45325 : } while(0) /*@SWIG@*/;
45326 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45327 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_PC256", TRUE | 0x2 | GV_ADDMULTI);
45328 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_PC256)));
45329 1 : SvREADONLY_on(sv);
45330 : } while(0) /*@SWIG@*/;
45331 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45332 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGB", TRUE | 0x2 | GV_ADDMULTI);
45333 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGB)));
45334 1 : SvREADONLY_on(sv);
45335 : } while(0) /*@SWIG@*/;
45336 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45337 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGBA", TRUE | 0x2 | GV_ADDMULTI);
45338 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGBA)));
45339 1 : SvREADONLY_on(sv);
45340 : } while(0) /*@SWIG@*/;
45341 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45342 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_INT16", TRUE | 0x2 | GV_ADDMULTI);
45343 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_INT16)));
45344 1 : SvREADONLY_on(sv);
45345 : } while(0) /*@SWIG@*/;
45346 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45347 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FLOAT32", TRUE | 0x2 | GV_ADDMULTI);
45348 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FLOAT32)));
45349 1 : SvREADONLY_on(sv);
45350 : } while(0) /*@SWIG@*/;
45351 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45352 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_BYTE", TRUE | 0x2 | GV_ADDMULTI);
45353 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_BYTE)));
45354 1 : SvREADONLY_on(sv);
45355 : } while(0) /*@SWIG@*/;
45356 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45357 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FEATURE", TRUE | 0x2 | GV_ADDMULTI);
45358 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FEATURE)));
45359 1 : SvREADONLY_on(sv);
45360 : } while(0) /*@SWIG@*/;
45361 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45362 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_NULL", TRUE | 0x2 | GV_ADDMULTI);
45363 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_NULL)));
45364 1 : SvREADONLY_on(sv);
45365 : } while(0) /*@SWIG@*/;
45366 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45367 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
45368 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_EQUALS)));
45369 1 : SvREADONLY_on(sv);
45370 : } while(0) /*@SWIG@*/;
45371 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45372 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
45373 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DISJOINT)));
45374 1 : SvREADONLY_on(sv);
45375 : } while(0) /*@SWIG@*/;
45376 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45377 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
45378 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_TOUCHES)));
45379 1 : SvREADONLY_on(sv);
45380 : } while(0) /*@SWIG@*/;
45381 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45382 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
45383 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_OVERLAPS)));
45384 1 : SvREADONLY_on(sv);
45385 : } while(0) /*@SWIG@*/;
45386 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45387 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
45388 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CROSSES)));
45389 1 : SvREADONLY_on(sv);
45390 : } while(0) /*@SWIG@*/;
45391 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45392 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
45393 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_INTERSECTS)));
45394 1 : SvREADONLY_on(sv);
45395 : } while(0) /*@SWIG@*/;
45396 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45397 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
45398 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_WITHIN)));
45399 1 : SvREADONLY_on(sv);
45400 : } while(0) /*@SWIG@*/;
45401 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45402 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
45403 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CONTAINS)));
45404 1 : SvREADONLY_on(sv);
45405 : } while(0) /*@SWIG@*/;
45406 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45407 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
45408 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_BEYOND)));
45409 1 : SvREADONLY_on(sv);
45410 : } while(0) /*@SWIG@*/;
45411 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45412 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
45413 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DWITHIN)));
45414 1 : SvREADONLY_on(sv);
45415 : } while(0) /*@SWIG@*/;
45416 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45417 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_NONE", TRUE | 0x2 | GV_ADDMULTI);
45418 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_NONE)));
45419 1 : SvREADONLY_on(sv);
45420 : } while(0) /*@SWIG@*/;
45421 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45422 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45423 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_ROUND)));
45424 1 : SvREADONLY_on(sv);
45425 : } while(0) /*@SWIG@*/;
45426 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45427 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SNAPTOGRID", TRUE | 0x2 | GV_ADDMULTI);
45428 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SNAPTOGRID)));
45429 1 : SvREADONLY_on(sv);
45430 : } while(0) /*@SWIG@*/;
45431 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45432 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_FULLRESOLUTION", TRUE | 0x2 | GV_ADDMULTI);
45433 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_FULLRESOLUTION)));
45434 1 : SvREADONLY_on(sv);
45435 : } while(0) /*@SWIG@*/;
45436 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45437 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
45438 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SIMPLIFY)));
45439 1 : SvREADONLY_on(sv);
45440 : } while(0) /*@SWIG@*/;
45441 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45442 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CLEAR", TRUE | 0x2 | GV_ADDMULTI);
45443 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CLEAR)));
45444 1 : SvREADONLY_on(sv);
45445 : } while(0) /*@SWIG@*/;
45446 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45447 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC", TRUE | 0x2 | GV_ADDMULTI);
45448 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC)));
45449 1 : SvREADONLY_on(sv);
45450 : } while(0) /*@SWIG@*/;
45451 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45452 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST", TRUE | 0x2 | GV_ADDMULTI);
45453 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST)));
45454 1 : SvREADONLY_on(sv);
45455 : } while(0) /*@SWIG@*/;
45456 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45457 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OVER", TRUE | 0x2 | GV_ADDMULTI);
45458 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OVER)));
45459 1 : SvREADONLY_on(sv);
45460 : } while(0) /*@SWIG@*/;
45461 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45462 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OVER", TRUE | 0x2 | GV_ADDMULTI);
45463 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OVER)));
45464 1 : SvREADONLY_on(sv);
45465 : } while(0) /*@SWIG@*/;
45466 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45467 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_IN", TRUE | 0x2 | GV_ADDMULTI);
45468 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_IN)));
45469 1 : SvREADONLY_on(sv);
45470 : } while(0) /*@SWIG@*/;
45471 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45472 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_IN", TRUE | 0x2 | GV_ADDMULTI);
45473 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_IN)));
45474 1 : SvREADONLY_on(sv);
45475 : } while(0) /*@SWIG@*/;
45476 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45477 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OUT", TRUE | 0x2 | GV_ADDMULTI);
45478 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OUT)));
45479 1 : SvREADONLY_on(sv);
45480 : } while(0) /*@SWIG@*/;
45481 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45482 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OUT", TRUE | 0x2 | GV_ADDMULTI);
45483 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OUT)));
45484 1 : SvREADONLY_on(sv);
45485 : } while(0) /*@SWIG@*/;
45486 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45487 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_ATOP", TRUE | 0x2 | GV_ADDMULTI);
45488 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_ATOP)));
45489 1 : SvREADONLY_on(sv);
45490 : } while(0) /*@SWIG@*/;
45491 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45492 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_ATOP", TRUE | 0x2 | GV_ADDMULTI);
45493 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_ATOP)));
45494 1 : SvREADONLY_on(sv);
45495 : } while(0) /*@SWIG@*/;
45496 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45497 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_XOR", TRUE | 0x2 | GV_ADDMULTI);
45498 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_XOR)));
45499 1 : SvREADONLY_on(sv);
45500 : } while(0) /*@SWIG@*/;
45501 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45502 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_PLUS", TRUE | 0x2 | GV_ADDMULTI);
45503 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_PLUS)));
45504 1 : SvREADONLY_on(sv);
45505 : } while(0) /*@SWIG@*/;
45506 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45507 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MINUS", TRUE | 0x2 | GV_ADDMULTI);
45508 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MINUS)));
45509 1 : SvREADONLY_on(sv);
45510 : } while(0) /*@SWIG@*/;
45511 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45512 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MULTIPLY", TRUE | 0x2 | GV_ADDMULTI);
45513 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MULTIPLY)));
45514 1 : SvREADONLY_on(sv);
45515 : } while(0) /*@SWIG@*/;
45516 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45517 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SCREEN", TRUE | 0x2 | GV_ADDMULTI);
45518 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SCREEN)));
45519 1 : SvREADONLY_on(sv);
45520 : } while(0) /*@SWIG@*/;
45521 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45522 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_OVERLAY", TRUE | 0x2 | GV_ADDMULTI);
45523 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_OVERLAY)));
45524 1 : SvREADONLY_on(sv);
45525 : } while(0) /*@SWIG@*/;
45526 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45527 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DARKEN", TRUE | 0x2 | GV_ADDMULTI);
45528 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DARKEN)));
45529 1 : SvREADONLY_on(sv);
45530 : } while(0) /*@SWIG@*/;
45531 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45532 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_LIGHTEN", TRUE | 0x2 | GV_ADDMULTI);
45533 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_LIGHTEN)));
45534 1 : SvREADONLY_on(sv);
45535 : } while(0) /*@SWIG@*/;
45536 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45537 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_DODGE", TRUE | 0x2 | GV_ADDMULTI);
45538 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_DODGE)));
45539 1 : SvREADONLY_on(sv);
45540 : } while(0) /*@SWIG@*/;
45541 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45542 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_BURN", TRUE | 0x2 | GV_ADDMULTI);
45543 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_BURN)));
45544 1 : SvREADONLY_on(sv);
45545 : } while(0) /*@SWIG@*/;
45546 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45547 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_HARD_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
45548 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_HARD_LIGHT)));
45549 1 : SvREADONLY_on(sv);
45550 : } while(0) /*@SWIG@*/;
45551 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45552 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SOFT_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
45553 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SOFT_LIGHT)));
45554 1 : SvREADONLY_on(sv);
45555 : } while(0) /*@SWIG@*/;
45556 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45557 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
45558 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DIFFERENCE)));
45559 1 : SvREADONLY_on(sv);
45560 : } while(0) /*@SWIG@*/;
45561 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45562 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_EXCLUSION", TRUE | 0x2 | GV_ADDMULTI);
45563 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_EXCLUSION)));
45564 1 : SvREADONLY_on(sv);
45565 : } while(0) /*@SWIG@*/;
45566 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45567 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CONTRAST", TRUE | 0x2 | GV_ADDMULTI);
45568 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CONTRAST)));
45569 1 : SvREADONLY_on(sv);
45570 : } while(0) /*@SWIG@*/;
45571 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45572 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT", TRUE | 0x2 | GV_ADDMULTI);
45573 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT)));
45574 1 : SvREADONLY_on(sv);
45575 : } while(0) /*@SWIG@*/;
45576 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45577 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT_RGB", TRUE | 0x2 | GV_ADDMULTI);
45578 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT_RGB)));
45579 1 : SvREADONLY_on(sv);
45580 : } while(0) /*@SWIG@*/;
45581 1 : SWIG_TypeClientData(SWIGTYPE_p__CompositingFilter, (void*) "mapscript::CompositingFilter");
45582 1 : SWIG_TypeClientData(SWIGTYPE_p__LayerCompositer, (void*) "mapscript::LayerCompositer");
45583 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45584 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45585 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
45586 1 : SvREADONLY_on(sv);
45587 : } while(0) /*@SWIG@*/;
45588 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45589 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
45590 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SIZE)));
45591 1 : SvREADONLY_on(sv);
45592 : } while(0) /*@SWIG@*/;
45593 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45594 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_WIDTH", TRUE | 0x2 | GV_ADDMULTI);
45595 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_WIDTH)));
45596 1 : SvREADONLY_on(sv);
45597 : } while(0) /*@SWIG@*/;
45598 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45599 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45600 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_ANGLE)));
45601 1 : SvREADONLY_on(sv);
45602 : } while(0) /*@SWIG@*/;
45603 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45604 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
45605 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_COLOR)));
45606 1 : SvREADONLY_on(sv);
45607 : } while(0) /*@SWIG@*/;
45608 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45609 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
45610 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINECOLOR)));
45611 1 : SvREADONLY_on(sv);
45612 : } while(0) /*@SWIG@*/;
45613 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45614 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
45615 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SYMBOL)));
45616 1 : SvREADONLY_on(sv);
45617 : } while(0) /*@SWIG@*/;
45618 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45619 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINEWIDTH", TRUE | 0x2 | GV_ADDMULTI);
45620 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINEWIDTH)));
45621 1 : SvREADONLY_on(sv);
45622 : } while(0) /*@SWIG@*/;
45623 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45624 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OPACITY", TRUE | 0x2 | GV_ADDMULTI);
45625 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OPACITY)));
45626 1 : SvREADONLY_on(sv);
45627 : } while(0) /*@SWIG@*/;
45628 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45629 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
45630 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_X)));
45631 1 : SvREADONLY_on(sv);
45632 : } while(0) /*@SWIG@*/;
45633 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45634 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
45635 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_Y)));
45636 1 : SvREADONLY_on(sv);
45637 : } while(0) /*@SWIG@*/;
45638 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45639 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_PIXEL", TRUE | 0x2 | GV_ADDMULTI);
45640 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_PIXEL)));
45641 1 : SvREADONLY_on(sv);
45642 : } while(0) /*@SWIG@*/;
45643 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45644 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45645 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_ANGLE)));
45646 1 : SvREADONLY_on(sv);
45647 : } while(0) /*@SWIG@*/;
45648 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45649 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45650 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(9)));
45651 1 : SvREADONLY_on(sv);
45652 : } while(0) /*@SWIG@*/;
45653 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45654 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
45655 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SIZE)));
45656 1 : SvREADONLY_on(sv);
45657 : } while(0) /*@SWIG@*/;
45658 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45659 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45660 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ANGLE)));
45661 1 : SvREADONLY_on(sv);
45662 : } while(0) /*@SWIG@*/;
45663 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45664 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
45665 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_COLOR)));
45666 1 : SvREADONLY_on(sv);
45667 : } while(0) /*@SWIG@*/;
45668 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45669 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
45670 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OUTLINECOLOR)));
45671 1 : SvREADONLY_on(sv);
45672 : } while(0) /*@SWIG@*/;
45673 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45674 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_FONT", TRUE | 0x2 | GV_ADDMULTI);
45675 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_FONT)));
45676 1 : SvREADONLY_on(sv);
45677 : } while(0) /*@SWIG@*/;
45678 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45679 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
45680 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_PRIORITY)));
45681 1 : SvREADONLY_on(sv);
45682 : } while(0) /*@SWIG@*/;
45683 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45684 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_POSITION", TRUE | 0x2 | GV_ADDMULTI);
45685 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_POSITION)));
45686 1 : SvREADONLY_on(sv);
45687 : } while(0) /*@SWIG@*/;
45688 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45689 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEX", TRUE | 0x2 | GV_ADDMULTI);
45690 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEX)));
45691 1 : SvREADONLY_on(sv);
45692 : } while(0) /*@SWIG@*/;
45693 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45694 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEY", TRUE | 0x2 | GV_ADDMULTI);
45695 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEY)));
45696 1 : SvREADONLY_on(sv);
45697 : } while(0) /*@SWIG@*/;
45698 1 : SWIG_TypeClientData(SWIGTYPE_p_fontSetObj, (void*) "mapscript::fontSetObj");
45699 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45700 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_AND", TRUE | 0x2 | GV_ADDMULTI);
45701 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_AND)));
45702 1 : SvREADONLY_on(sv);
45703 : } while(0) /*@SWIG@*/;
45704 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45705 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_OR", TRUE | 0x2 | GV_ADDMULTI);
45706 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_OR)));
45707 1 : SvREADONLY_on(sv);
45708 : } while(0) /*@SWIG@*/;
45709 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45710 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_NOT", TRUE | 0x2 | GV_ADDMULTI);
45711 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_NOT)));
45712 1 : SvREADONLY_on(sv);
45713 : } while(0) /*@SWIG@*/;
45714 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45715 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_NUMBER", TRUE | 0x2 | GV_ADDMULTI);
45716 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_NUMBER)));
45717 1 : SvREADONLY_on(sv);
45718 : } while(0) /*@SWIG@*/;
45719 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45720 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_STRING", TRUE | 0x2 | GV_ADDMULTI);
45721 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_STRING)));
45722 1 : SvREADONLY_on(sv);
45723 : } while(0) /*@SWIG@*/;
45724 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45725 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_TIME", TRUE | 0x2 | GV_ADDMULTI);
45726 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_TIME)));
45727 1 : SvREADONLY_on(sv);
45728 : } while(0) /*@SWIG@*/;
45729 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45730 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45731 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_SHAPE)));
45732 1 : SvREADONLY_on(sv);
45733 : } while(0) /*@SWIG@*/;
45734 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45735 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
45736 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_BOOLEAN)));
45737 1 : SvREADONLY_on(sv);
45738 : } while(0) /*@SWIG@*/;
45739 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45740 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQ", TRUE | 0x2 | GV_ADDMULTI);
45741 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQ)));
45742 1 : SvREADONLY_on(sv);
45743 : } while(0) /*@SWIG@*/;
45744 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45745 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_NE", TRUE | 0x2 | GV_ADDMULTI);
45746 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_NE)));
45747 1 : SvREADONLY_on(sv);
45748 : } while(0) /*@SWIG@*/;
45749 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45750 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GT", TRUE | 0x2 | GV_ADDMULTI);
45751 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GT)));
45752 1 : SvREADONLY_on(sv);
45753 : } while(0) /*@SWIG@*/;
45754 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45755 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LT", TRUE | 0x2 | GV_ADDMULTI);
45756 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LT)));
45757 1 : SvREADONLY_on(sv);
45758 : } while(0) /*@SWIG@*/;
45759 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45760 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LE", TRUE | 0x2 | GV_ADDMULTI);
45761 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LE)));
45762 1 : SvREADONLY_on(sv);
45763 : } while(0) /*@SWIG@*/;
45764 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45765 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GE", TRUE | 0x2 | GV_ADDMULTI);
45766 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GE)));
45767 1 : SvREADONLY_on(sv);
45768 : } while(0) /*@SWIG@*/;
45769 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45770 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IEQ", TRUE | 0x2 | GV_ADDMULTI);
45771 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IEQ)));
45772 1 : SvREADONLY_on(sv);
45773 : } while(0) /*@SWIG@*/;
45774 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45775 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_RE", TRUE | 0x2 | GV_ADDMULTI);
45776 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_RE)));
45777 1 : SvREADONLY_on(sv);
45778 : } while(0) /*@SWIG@*/;
45779 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45780 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IRE", TRUE | 0x2 | GV_ADDMULTI);
45781 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IRE)));
45782 1 : SvREADONLY_on(sv);
45783 : } while(0) /*@SWIG@*/;
45784 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45785 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IN", TRUE | 0x2 | GV_ADDMULTI);
45786 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IN)));
45787 1 : SvREADONLY_on(sv);
45788 : } while(0) /*@SWIG@*/;
45789 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45790 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LIKE", TRUE | 0x2 | GV_ADDMULTI);
45791 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LIKE)));
45792 1 : SvREADONLY_on(sv);
45793 : } while(0) /*@SWIG@*/;
45794 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45795 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
45796 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_INTERSECTS)));
45797 1 : SvREADONLY_on(sv);
45798 : } while(0) /*@SWIG@*/;
45799 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45800 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
45801 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DISJOINT)));
45802 1 : SvREADONLY_on(sv);
45803 : } while(0) /*@SWIG@*/;
45804 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45805 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
45806 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_TOUCHES)));
45807 1 : SvREADONLY_on(sv);
45808 : } while(0) /*@SWIG@*/;
45809 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45810 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
45811 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_OVERLAPS)));
45812 1 : SvREADONLY_on(sv);
45813 : } while(0) /*@SWIG@*/;
45814 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45815 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
45816 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CROSSES)));
45817 1 : SvREADONLY_on(sv);
45818 : } while(0) /*@SWIG@*/;
45819 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45820 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
45821 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_WITHIN)));
45822 1 : SvREADONLY_on(sv);
45823 : } while(0) /*@SWIG@*/;
45824 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45825 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
45826 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CONTAINS)));
45827 1 : SvREADONLY_on(sv);
45828 : } while(0) /*@SWIG@*/;
45829 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45830 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
45831 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQUALS)));
45832 1 : SvREADONLY_on(sv);
45833 : } while(0) /*@SWIG@*/;
45834 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45835 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
45836 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_BEYOND)));
45837 1 : SvREADONLY_on(sv);
45838 : } while(0) /*@SWIG@*/;
45839 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45840 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
45841 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DWITHIN)));
45842 1 : SvREADONLY_on(sv);
45843 : } while(0) /*@SWIG@*/;
45844 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45845 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45846 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LENGTH)));
45847 1 : SvREADONLY_on(sv);
45848 : } while(0) /*@SWIG@*/;
45849 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45850 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_TOSTRING", TRUE | 0x2 | GV_ADDMULTI);
45851 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_TOSTRING)));
45852 1 : SvREADONLY_on(sv);
45853 : } while(0) /*@SWIG@*/;
45854 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45855 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_COMMIFY", TRUE | 0x2 | GV_ADDMULTI);
45856 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_COMMIFY)));
45857 1 : SvREADONLY_on(sv);
45858 : } while(0) /*@SWIG@*/;
45859 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45860 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_AREA", TRUE | 0x2 | GV_ADDMULTI);
45861 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_AREA)));
45862 1 : SvREADONLY_on(sv);
45863 : } while(0) /*@SWIG@*/;
45864 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45865 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45866 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_ROUND)));
45867 1 : SvREADONLY_on(sv);
45868 : } while(0) /*@SWIG@*/;
45869 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45870 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FROMTEXT", TRUE | 0x2 | GV_ADDMULTI);
45871 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FROMTEXT)));
45872 1 : SvREADONLY_on(sv);
45873 : } while(0) /*@SWIG@*/;
45874 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45875 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_BUFFER", TRUE | 0x2 | GV_ADDMULTI);
45876 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_BUFFER)));
45877 1 : SvREADONLY_on(sv);
45878 : } while(0) /*@SWIG@*/;
45879 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45880 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
45881 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_DIFFERENCE)));
45882 1 : SvREADONLY_on(sv);
45883 : } while(0) /*@SWIG@*/;
45884 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45885 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
45886 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFY)));
45887 1 : SvREADONLY_on(sv);
45888 : } while(0) /*@SWIG@*/;
45889 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45890 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFYPT", TRUE | 0x2 | GV_ADDMULTI);
45891 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFYPT)));
45892 1 : SvREADONLY_on(sv);
45893 : } while(0) /*@SWIG@*/;
45894 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45895 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_GENERALIZE", TRUE | 0x2 | GV_ADDMULTI);
45896 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_GENERALIZE)));
45897 1 : SvREADONLY_on(sv);
45898 : } while(0) /*@SWIG@*/;
45899 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45900 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SMOOTHSIA", TRUE | 0x2 | GV_ADDMULTI);
45901 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SMOOTHSIA)));
45902 1 : SvREADONLY_on(sv);
45903 : } while(0) /*@SWIG@*/;
45904 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45905 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_JAVASCRIPT", TRUE | 0x2 | GV_ADDMULTI);
45906 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_JAVASCRIPT)));
45907 1 : SvREADONLY_on(sv);
45908 : } while(0) /*@SWIG@*/;
45909 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45910 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_UPPER", TRUE | 0x2 | GV_ADDMULTI);
45911 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_UPPER)));
45912 1 : SvREADONLY_on(sv);
45913 : } while(0) /*@SWIG@*/;
45914 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45915 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LOWER", TRUE | 0x2 | GV_ADDMULTI);
45916 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LOWER)));
45917 1 : SvREADONLY_on(sv);
45918 : } while(0) /*@SWIG@*/;
45919 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45920 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_INITCAP", TRUE | 0x2 | GV_ADDMULTI);
45921 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_INITCAP)));
45922 1 : SvREADONLY_on(sv);
45923 : } while(0) /*@SWIG@*/;
45924 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45925 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FIRSTCAP", TRUE | 0x2 | GV_ADDMULTI);
45926 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FIRSTCAP)));
45927 1 : SvREADONLY_on(sv);
45928 : } while(0) /*@SWIG@*/;
45929 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45930 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DOUBLE", TRUE | 0x2 | GV_ADDMULTI);
45931 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DOUBLE)));
45932 1 : SvREADONLY_on(sv);
45933 : } while(0) /*@SWIG@*/;
45934 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45935 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_INTEGER", TRUE | 0x2 | GV_ADDMULTI);
45936 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_INTEGER)));
45937 1 : SvREADONLY_on(sv);
45938 : } while(0) /*@SWIG@*/;
45939 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45940 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_STRING", TRUE | 0x2 | GV_ADDMULTI);
45941 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_STRING)));
45942 1 : SvREADONLY_on(sv);
45943 : } while(0) /*@SWIG@*/;
45944 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45945 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_TIME", TRUE | 0x2 | GV_ADDMULTI);
45946 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_TIME)));
45947 1 : SvREADONLY_on(sv);
45948 : } while(0) /*@SWIG@*/;
45949 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45950 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45951 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_SHAPE)));
45952 1 : SvREADONLY_on(sv);
45953 : } while(0) /*@SWIG@*/;
45954 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45955 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_MAP_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
45956 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_MAP_CELLSIZE)));
45957 1 : SvREADONLY_on(sv);
45958 : } while(0) /*@SWIG@*/;
45959 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45960 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DATA_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
45961 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DATA_CELLSIZE)));
45962 1 : SvREADONLY_on(sv);
45963 : } while(0) /*@SWIG@*/;
45964 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45965 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
45966 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_BOOLEAN)));
45967 1 : SvREADONLY_on(sv);
45968 : } while(0) /*@SWIG@*/;
45969 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45970 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_STRING", TRUE | 0x2 | GV_ADDMULTI);
45971 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_STRING)));
45972 1 : SvREADONLY_on(sv);
45973 : } while(0) /*@SWIG@*/;
45974 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45975 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45976 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SHAPE)));
45977 1 : SvREADONLY_on(sv);
45978 : } while(0) /*@SWIG@*/;
45979 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45980 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SLD", TRUE | 0x2 | GV_ADDMULTI);
45981 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SLD)));
45982 1 : SvREADONLY_on(sv);
45983 : } while(0) /*@SWIG@*/;
45984 1 : SWIG_TypeClientData(SWIGTYPE_p_clusterObj, (void*) "mapscript::clusterObj");
45985 1 : SWIG_TypeClientData(SWIGTYPE_p_outputFormatObj, (void*) "mapscript::outputFormatObj");
45986 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45987 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOOVERRIDE", TRUE | 0x2 | GV_ADDMULTI);
45988 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-1111)));
45989 1 : SvREADONLY_on(sv);
45990 : } while(0) /*@SWIG@*/;
45991 1 : SWIG_TypeClientData(SWIGTYPE_p_queryMapObj, (void*) "mapscript::queryMapObj");
45992 1 : SWIG_TypeClientData(SWIGTYPE_p_webObj, (void*) "mapscript::webObj");
45993 1 : SWIG_TypeClientData(SWIGTYPE_p_styleObj, (void*) "mapscript::styleObj");
45994 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45995 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_SINGLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45996 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-99)));
45997 1 : SvREADONLY_on(sv);
45998 : } while(0) /*@SWIG@*/;
45999 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46000 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_DOUBLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
46001 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-999)));
46002 1 : SvREADONLY_on(sv);
46003 : } while(0) /*@SWIG@*/;
46004 1 : SWIG_TypeClientData(SWIGTYPE_p_labelLeaderObj, (void*) "mapscript::labelLeaderObj");
46005 1 : SWIG_TypeClientData(SWIGTYPE_p_labelObj, (void*) "mapscript::labelObj");
46006 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46007 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
46008 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-99)));
46009 1 : SvREADONLY_on(sv);
46010 : } while(0) /*@SWIG@*/;
46011 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46012 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_TOP_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
46013 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(99)));
46014 1 : SvREADONLY_on(sv);
46015 : } while(0) /*@SWIG@*/;
46016 1 : SWIG_TypeClientData(SWIGTYPE_p_classObj, (void*) "mapscript::classObj");
46017 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheMemberObj, (void*) "mapscript::labelCacheMemberObj");
46018 1 : SWIG_TypeClientData(SWIGTYPE_p_markerCacheMemberObj, (void*) "mapscript::markerCacheMemberObj");
46019 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheSlotObj, (void*) "mapscript::labelCacheSlotObj");
46020 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheObj, (void*) "mapscript::labelCacheObj");
46021 1 : SWIG_TypeClientData(SWIGTYPE_p_resultObj, (void*) "mapscript::resultObj");
46022 1 : SWIG_TypeClientData(SWIGTYPE_p_resultCacheObj, (void*) "mapscript::resultCacheObj");
46023 1 : SWIG_TypeClientData(SWIGTYPE_p_symbolSetObj, (void*) "mapscript::symbolSetObj");
46024 1 : SWIG_TypeClientData(SWIGTYPE_p_referenceMapObj, (void*) "mapscript::referenceMapObj");
46025 1 : SWIG_TypeClientData(SWIGTYPE_p_scalebarObj, (void*) "mapscript::scalebarObj");
46026 1 : SWIG_TypeClientData(SWIGTYPE_p_legendObj, (void*) "mapscript::legendObj");
46027 1 : SWIG_TypeClientData(SWIGTYPE_p_imageObj, (void*) "mapscript::imageObj");
46028 1 : SWIG_TypeClientData(SWIGTYPE_p_scaleTokenEntryObj, (void*) "mapscript::scaleTokenEntryObj");
46029 1 : SWIG_TypeClientData(SWIGTYPE_p_scaleTokenObj, (void*) "mapscript::scaleTokenObj");
46030 1 : SWIG_TypeClientData(SWIGTYPE_p_layerObj, (void*) "mapscript::layerObj");
46031 1 : SWIG_TypeClientData(SWIGTYPE_p_mapObj, (void*) "mapscript::mapObj");
46032 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46033 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MAJOR", TRUE | 0x2 | GV_ADDMULTI);
46034 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
46035 1 : SvREADONLY_on(sv);
46036 : } while(0) /*@SWIG@*/;
46037 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46038 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MINOR", TRUE | 0x2 | GV_ADDMULTI);
46039 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
46040 1 : SvREADONLY_on(sv);
46041 : } while(0) /*@SWIG@*/;
46042 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46043 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_REV", TRUE | 0x2 | GV_ADDMULTI);
46044 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
46045 1 : SvREADONLY_on(sv);
46046 : } while(0) /*@SWIG@*/;
46047 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46048 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION", TRUE | 0x2 | GV_ADDMULTI);
46049 1 : sv_setsv(sv, SWIG_FromCharPtr("7.7-dev"));
46050 1 : SvREADONLY_on(sv);
46051 : } while(0) /*@SWIG@*/;
46052 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46053 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_NUM", TRUE | 0x2 | GV_ADDMULTI);
46054 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(70700)));
46055 1 : SvREADONLY_on(sv);
46056 : } while(0) /*@SWIG@*/;
46057 1 : SWIG_TypeClientData(SWIGTYPE_p_rectObj, (void*) "mapscript::rectObj");
46058 1 : SWIG_TypeClientData(SWIGTYPE_p_pointObj, (void*) "mapscript::pointObj");
46059 1 : SWIG_TypeClientData(SWIGTYPE_p_lineObj, (void*) "mapscript::lineObj");
46060 1 : SWIG_TypeClientData(SWIGTYPE_p_shapeObj, (void*) "mapscript::shapeObj");
46061 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46062 1 : SV *sv = get_sv((char*) SWIG_prefix "SHX_BUFFER_PAGE", TRUE | 0x2 | GV_ADDMULTI);
46063 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1024)));
46064 1 : SvREADONLY_on(sv);
46065 : } while(0) /*@SWIG@*/;
46066 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46067 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POINT", TRUE | 0x2 | GV_ADDMULTI);
46068 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
46069 1 : SvREADONLY_on(sv);
46070 : } while(0) /*@SWIG@*/;
46071 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46072 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_ARC", TRUE | 0x2 | GV_ADDMULTI);
46073 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
46074 1 : SvREADONLY_on(sv);
46075 : } while(0) /*@SWIG@*/;
46076 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46077 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
46078 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
46079 1 : SvREADONLY_on(sv);
46080 : } while(0) /*@SWIG@*/;
46081 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46082 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_MULTIPOINT", TRUE | 0x2 | GV_ADDMULTI);
46083 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
46084 1 : SvREADONLY_on(sv);
46085 : } while(0) /*@SWIG@*/;
46086 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46087 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTZ", TRUE | 0x2 | GV_ADDMULTI);
46088 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(11)));
46089 1 : SvREADONLY_on(sv);
46090 : } while(0) /*@SWIG@*/;
46091 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46092 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCZ", TRUE | 0x2 | GV_ADDMULTI);
46093 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
46094 1 : SvREADONLY_on(sv);
46095 : } while(0) /*@SWIG@*/;
46096 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46097 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONZ", TRUE | 0x2 | GV_ADDMULTI);
46098 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(15)));
46099 1 : SvREADONLY_on(sv);
46100 : } while(0) /*@SWIG@*/;
46101 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46102 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTZ", TRUE | 0x2 | GV_ADDMULTI);
46103 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(18)));
46104 1 : SvREADONLY_on(sv);
46105 : } while(0) /*@SWIG@*/;
46106 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46107 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTM", TRUE | 0x2 | GV_ADDMULTI);
46108 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(21)));
46109 1 : SvREADONLY_on(sv);
46110 : } while(0) /*@SWIG@*/;
46111 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46112 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCM", TRUE | 0x2 | GV_ADDMULTI);
46113 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(23)));
46114 1 : SvREADONLY_on(sv);
46115 : } while(0) /*@SWIG@*/;
46116 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46117 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONM", TRUE | 0x2 | GV_ADDMULTI);
46118 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(25)));
46119 1 : SvREADONLY_on(sv);
46120 : } while(0) /*@SWIG@*/;
46121 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46122 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTM", TRUE | 0x2 | GV_ADDMULTI);
46123 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(28)));
46124 1 : SvREADONLY_on(sv);
46125 : } while(0) /*@SWIG@*/;
46126 1 : SWIG_TypeClientData(SWIGTYPE_p_DBFInfo, (void*) "mapscript::DBFInfo");
46127 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46128 1 : SV *sv = get_sv((char*) SWIG_prefix "FTString", TRUE | 0x2 | GV_ADDMULTI);
46129 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTString)));
46130 1 : SvREADONLY_on(sv);
46131 : } while(0) /*@SWIG@*/;
46132 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46133 1 : SV *sv = get_sv((char*) SWIG_prefix "FTInteger", TRUE | 0x2 | GV_ADDMULTI);
46134 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTInteger)));
46135 1 : SvREADONLY_on(sv);
46136 : } while(0) /*@SWIG@*/;
46137 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46138 1 : SV *sv = get_sv((char*) SWIG_prefix "FTDouble", TRUE | 0x2 | GV_ADDMULTI);
46139 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTDouble)));
46140 1 : SvREADONLY_on(sv);
46141 : } while(0) /*@SWIG@*/;
46142 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46143 1 : SV *sv = get_sv((char*) SWIG_prefix "FTInvalid", TRUE | 0x2 | GV_ADDMULTI);
46144 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTInvalid)));
46145 1 : SvREADONLY_on(sv);
46146 : } while(0) /*@SWIG@*/;
46147 1 : SWIG_TypeClientData(SWIGTYPE_p_shapefileObj, (void*) "mapscript::shapefileObj");
46148 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46149 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_none", TRUE | 0x2 | GV_ADDMULTI);
46150 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
46151 1 : SvREADONLY_on(sv);
46152 : } while(0) /*@SWIG@*/;
46153 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46154 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_lonlat", TRUE | 0x2 | GV_ADDMULTI);
46155 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
46156 1 : SvREADONLY_on(sv);
46157 : } while(0) /*@SWIG@*/;
46158 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46159 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_gmerc", TRUE | 0x2 | GV_ADDMULTI);
46160 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
46161 1 : SvREADONLY_on(sv);
46162 : } while(0) /*@SWIG@*/;
46163 1 : SWIG_TypeClientData(SWIGTYPE_p_projectionObj, (void*) "mapscript::projectionObj");
46164 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46165 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SIMPLE", TRUE | 0x2 | GV_ADDMULTI);
46166 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SIMPLE)));
46167 1 : SvREADONLY_on(sv);
46168 : } while(0) /*@SWIG@*/;
46169 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46170 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_VECTOR", TRUE | 0x2 | GV_ADDMULTI);
46171 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_VECTOR)));
46172 1 : SvREADONLY_on(sv);
46173 : } while(0) /*@SWIG@*/;
46174 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46175 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ELLIPSE", TRUE | 0x2 | GV_ADDMULTI);
46176 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_ELLIPSE)));
46177 1 : SvREADONLY_on(sv);
46178 : } while(0) /*@SWIG@*/;
46179 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46180 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_PIXMAP", TRUE | 0x2 | GV_ADDMULTI);
46181 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_PIXMAP)));
46182 1 : SvREADONLY_on(sv);
46183 : } while(0) /*@SWIG@*/;
46184 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46185 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
46186 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_TRUETYPE)));
46187 1 : SvREADONLY_on(sv);
46188 : } while(0) /*@SWIG@*/;
46189 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46190 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_HATCH", TRUE | 0x2 | GV_ADDMULTI);
46191 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_HATCH)));
46192 1 : SvREADONLY_on(sv);
46193 : } while(0) /*@SWIG@*/;
46194 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46195 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SVG", TRUE | 0x2 | GV_ADDMULTI);
46196 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SVG)));
46197 1 : SvREADONLY_on(sv);
46198 : } while(0) /*@SWIG@*/;
46199 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46200 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
46201 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
46202 1 : SvREADONLY_on(sv);
46203 : } while(0) /*@SWIG@*/;
46204 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46205 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAXVECTORPOINTS", TRUE | 0x2 | GV_ADDMULTI);
46206 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
46207 1 : SvREADONLY_on(sv);
46208 : } while(0) /*@SWIG@*/;
46209 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46210 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAXPATTERNLENGTH", TRUE | 0x2 | GV_ADDMULTI);
46211 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
46212 1 : SvREADONLY_on(sv);
46213 : } while(0) /*@SWIG@*/;
46214 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46215 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGECACHESIZE", TRUE | 0x2 | GV_ADDMULTI);
46216 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(6)));
46217 1 : SvREADONLY_on(sv);
46218 : } while(0) /*@SWIG@*/;
46219 1 : SWIG_TypeClientData(SWIGTYPE_p_colorObj, (void*) "mapscript::colorObj");
46220 1 : SWIG_TypeClientData(SWIGTYPE_p_symbolObj, (void*) "mapscript::symbolObj");
46221 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46222 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOERR", TRUE | 0x2 | GV_ADDMULTI);
46223 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
46224 1 : SvREADONLY_on(sv);
46225 : } while(0) /*@SWIG@*/;
46226 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46227 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IOERR", TRUE | 0x2 | GV_ADDMULTI);
46228 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
46229 1 : SvREADONLY_on(sv);
46230 : } while(0) /*@SWIG@*/;
46231 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46232 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MEMERR", TRUE | 0x2 | GV_ADDMULTI);
46233 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
46234 1 : SvREADONLY_on(sv);
46235 : } while(0) /*@SWIG@*/;
46236 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46237 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TYPEERR", TRUE | 0x2 | GV_ADDMULTI);
46238 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
46239 1 : SvREADONLY_on(sv);
46240 : } while(0) /*@SWIG@*/;
46241 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46242 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMERR", TRUE | 0x2 | GV_ADDMULTI);
46243 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
46244 1 : SvREADONLY_on(sv);
46245 : } while(0) /*@SWIG@*/;
46246 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46247 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_REGEXERR", TRUE | 0x2 | GV_ADDMULTI);
46248 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
46249 1 : SvREADONLY_on(sv);
46250 : } while(0) /*@SWIG@*/;
46251 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46252 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TTFERR", TRUE | 0x2 | GV_ADDMULTI);
46253 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(6)));
46254 1 : SvREADONLY_on(sv);
46255 : } while(0) /*@SWIG@*/;
46256 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46257 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DBFERR", TRUE | 0x2 | GV_ADDMULTI);
46258 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
46259 1 : SvREADONLY_on(sv);
46260 : } while(0) /*@SWIG@*/;
46261 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46262 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IDENTERR", TRUE | 0x2 | GV_ADDMULTI);
46263 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(9)));
46264 1 : SvREADONLY_on(sv);
46265 : } while(0) /*@SWIG@*/;
46266 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46267 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_EOFERR", TRUE | 0x2 | GV_ADDMULTI);
46268 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
46269 1 : SvREADONLY_on(sv);
46270 : } while(0) /*@SWIG@*/;
46271 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46272 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PROJERR", TRUE | 0x2 | GV_ADDMULTI);
46273 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(11)));
46274 1 : SvREADONLY_on(sv);
46275 : } while(0) /*@SWIG@*/;
46276 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46277 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MISCERR", TRUE | 0x2 | GV_ADDMULTI);
46278 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
46279 1 : SvREADONLY_on(sv);
46280 : } while(0) /*@SWIG@*/;
46281 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46282 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CGIERR", TRUE | 0x2 | GV_ADDMULTI);
46283 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
46284 1 : SvREADONLY_on(sv);
46285 : } while(0) /*@SWIG@*/;
46286 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46287 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WEBERR", TRUE | 0x2 | GV_ADDMULTI);
46288 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(14)));
46289 1 : SvREADONLY_on(sv);
46290 : } while(0) /*@SWIG@*/;
46291 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46292 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMGERR", TRUE | 0x2 | GV_ADDMULTI);
46293 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(15)));
46294 1 : SvREADONLY_on(sv);
46295 : } while(0) /*@SWIG@*/;
46296 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46297 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HASHERR", TRUE | 0x2 | GV_ADDMULTI);
46298 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
46299 1 : SvREADONLY_on(sv);
46300 : } while(0) /*@SWIG@*/;
46301 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46302 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOINERR", TRUE | 0x2 | GV_ADDMULTI);
46303 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(17)));
46304 1 : SvREADONLY_on(sv);
46305 : } while(0) /*@SWIG@*/;
46306 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46307 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOTFOUND", TRUE | 0x2 | GV_ADDMULTI);
46308 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(18)));
46309 1 : SvREADONLY_on(sv);
46310 : } while(0) /*@SWIG@*/;
46311 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46312 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHPERR", TRUE | 0x2 | GV_ADDMULTI);
46313 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(19)));
46314 1 : SvREADONLY_on(sv);
46315 : } while(0) /*@SWIG@*/;
46316 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46317 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSEERR", TRUE | 0x2 | GV_ADDMULTI);
46318 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(20)));
46319 1 : SvREADONLY_on(sv);
46320 : } while(0) /*@SWIG@*/;
46321 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46322 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSEDERR", TRUE | 0x2 | GV_ADDMULTI);
46323 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(21)));
46324 1 : SvREADONLY_on(sv);
46325 : } while(0) /*@SWIG@*/;
46326 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46327 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGRERR", TRUE | 0x2 | GV_ADDMULTI);
46328 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(22)));
46329 1 : SvREADONLY_on(sv);
46330 : } while(0) /*@SWIG@*/;
46331 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46332 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERYERR", TRUE | 0x2 | GV_ADDMULTI);
46333 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(23)));
46334 1 : SvREADONLY_on(sv);
46335 : } while(0) /*@SWIG@*/;
46336 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46337 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMSERR", TRUE | 0x2 | GV_ADDMULTI);
46338 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(24)));
46339 1 : SvREADONLY_on(sv);
46340 : } while(0) /*@SWIG@*/;
46341 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46342 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
46343 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(25)));
46344 1 : SvREADONLY_on(sv);
46345 : } while(0) /*@SWIG@*/;
46346 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46347 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIALERR", TRUE | 0x2 | GV_ADDMULTI);
46348 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(26)));
46349 1 : SvREADONLY_on(sv);
46350 : } while(0) /*@SWIG@*/;
46351 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46352 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFSERR", TRUE | 0x2 | GV_ADDMULTI);
46353 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(27)));
46354 1 : SvREADONLY_on(sv);
46355 : } while(0) /*@SWIG@*/;
46356 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46357 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
46358 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(28)));
46359 1 : SvREADONLY_on(sv);
46360 : } while(0) /*@SWIG@*/;
46361 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46362 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAPCONTEXTERR", TRUE | 0x2 | GV_ADDMULTI);
46363 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(29)));
46364 1 : SvREADONLY_on(sv);
46365 : } while(0) /*@SWIG@*/;
46366 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46367 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HTTPERR", TRUE | 0x2 | GV_ADDMULTI);
46368 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(30)));
46369 1 : SvREADONLY_on(sv);
46370 : } while(0) /*@SWIG@*/;
46371 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46372 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CHILDERR", TRUE | 0x2 | GV_ADDMULTI);
46373 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(31)));
46374 1 : SvREADONLY_on(sv);
46375 : } while(0) /*@SWIG@*/;
46376 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46377 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WCSERR", TRUE | 0x2 | GV_ADDMULTI);
46378 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(32)));
46379 1 : SvREADONLY_on(sv);
46380 : } while(0) /*@SWIG@*/;
46381 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46382 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOSERR", TRUE | 0x2 | GV_ADDMULTI);
46383 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(33)));
46384 1 : SvREADONLY_on(sv);
46385 : } while(0) /*@SWIG@*/;
46386 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46387 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RECTERR", TRUE | 0x2 | GV_ADDMULTI);
46388 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(34)));
46389 1 : SvREADONLY_on(sv);
46390 : } while(0) /*@SWIG@*/;
46391 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46392 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TIMEERR", TRUE | 0x2 | GV_ADDMULTI);
46393 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(35)));
46394 1 : SvREADONLY_on(sv);
46395 : } while(0) /*@SWIG@*/;
46396 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46397 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GMLERR", TRUE | 0x2 | GV_ADDMULTI);
46398 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(36)));
46399 1 : SvREADONLY_on(sv);
46400 : } while(0) /*@SWIG@*/;
46401 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46402 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SOSERR", TRUE | 0x2 | GV_ADDMULTI);
46403 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(37)));
46404 1 : SvREADONLY_on(sv);
46405 : } while(0) /*@SWIG@*/;
46406 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46407 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NULLPARENTERR", TRUE | 0x2 | GV_ADDMULTI);
46408 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(38)));
46409 1 : SvREADONLY_on(sv);
46410 : } while(0) /*@SWIG@*/;
46411 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46412 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AGGERR", TRUE | 0x2 | GV_ADDMULTI);
46413 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(39)));
46414 1 : SvREADONLY_on(sv);
46415 : } while(0) /*@SWIG@*/;
46416 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46417 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OWSERR", TRUE | 0x2 | GV_ADDMULTI);
46418 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(40)));
46419 1 : SvREADONLY_on(sv);
46420 : } while(0) /*@SWIG@*/;
46421 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46422 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGLERR", TRUE | 0x2 | GV_ADDMULTI);
46423 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(41)));
46424 1 : SvREADONLY_on(sv);
46425 : } while(0) /*@SWIG@*/;
46426 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46427 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDERERERR", TRUE | 0x2 | GV_ADDMULTI);
46428 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(42)));
46429 1 : SvREADONLY_on(sv);
46430 : } while(0) /*@SWIG@*/;
46431 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46432 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_V8ERR", TRUE | 0x2 | GV_ADDMULTI);
46433 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(43)));
46434 1 : SvREADONLY_on(sv);
46435 : } while(0) /*@SWIG@*/;
46436 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46437 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NUMERRORCODES", TRUE | 0x2 | GV_ADDMULTI);
46438 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(44)));
46439 1 : SvREADONLY_on(sv);
46440 : } while(0) /*@SWIG@*/;
46441 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46442 1 : SV *sv = get_sv((char*) SWIG_prefix "MESSAGELENGTH", TRUE | 0x2 | GV_ADDMULTI);
46443 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2048)));
46444 1 : SvREADONLY_on(sv);
46445 : } while(0) /*@SWIG@*/;
46446 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46447 1 : SV *sv = get_sv((char*) SWIG_prefix "ROUTINELENGTH", TRUE | 0x2 | GV_ADDMULTI);
46448 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
46449 1 : SvREADONLY_on(sv);
46450 : } while(0) /*@SWIG@*/;
46451 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46452 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ERROR_LANGUAGE", TRUE | 0x2 | GV_ADDMULTI);
46453 1 : sv_setsv(sv, SWIG_FromCharPtr("en-US"));
46454 1 : SvREADONLY_on(sv);
46455 : } while(0) /*@SWIG@*/;
46456 1 : SWIG_TypeClientData(SWIGTYPE_p_errorObj, (void*) "mapscript::errorObj");
46457 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46458 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_ERRORSONLY", TRUE | 0x2 | GV_ADDMULTI);
46459 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_ERRORSONLY)));
46460 1 : SvREADONLY_on(sv);
46461 : } while(0) /*@SWIG@*/;
46462 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46463 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEBUG", TRUE | 0x2 | GV_ADDMULTI);
46464 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEBUG)));
46465 1 : SvREADONLY_on(sv);
46466 : } while(0) /*@SWIG@*/;
46467 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46468 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_TUNING", TRUE | 0x2 | GV_ADDMULTI);
46469 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_TUNING)));
46470 1 : SvREADONLY_on(sv);
46471 : } while(0) /*@SWIG@*/;
46472 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46473 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_V", TRUE | 0x2 | GV_ADDMULTI);
46474 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_V)));
46475 1 : SvREADONLY_on(sv);
46476 : } while(0) /*@SWIG@*/;
46477 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46478 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VV", TRUE | 0x2 | GV_ADDMULTI);
46479 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VV)));
46480 1 : SvREADONLY_on(sv);
46481 : } while(0) /*@SWIG@*/;
46482 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46483 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VVV", TRUE | 0x2 | GV_ADDMULTI);
46484 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VVV)));
46485 1 : SvREADONLY_on(sv);
46486 : } while(0) /*@SWIG@*/;
46487 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46488 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEVDEBUG", TRUE | 0x2 | GV_ADDMULTI);
46489 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEVDEBUG)));
46490 1 : SvREADONLY_on(sv);
46491 : } while(0) /*@SWIG@*/;
46492 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46493 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HASHSIZE", TRUE | 0x2 | GV_ADDMULTI);
46494 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(41)));
46495 1 : SvREADONLY_on(sv);
46496 : } while(0) /*@SWIG@*/;
46497 1 : SWIG_TypeClientData(SWIGTYPE_p_hashTableObj, (void*) "mapscript::hashTableObj");
46498 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46499 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_CGI_PARAMS", TRUE | 0x2 | GV_ADDMULTI);
46500 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
46501 1 : SvREADONLY_on(sv);
46502 : } while(0) /*@SWIG@*/;
46503 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46504 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GET_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
46505 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GET_REQUEST)));
46506 1 : SvREADONLY_on(sv);
46507 : } while(0) /*@SWIG@*/;
46508 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46509 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POST_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
46510 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_POST_REQUEST)));
46511 1 : SvREADONLY_on(sv);
46512 : } while(0) /*@SWIG@*/;
46513 1 : SWIG_TypeClientData(SWIGTYPE_p_cgiRequestObj, (void*) "mapscript::OWSRequest");
46514 1 : ST(0) = &PL_sv_yes;
46515 1 : XSRETURN(1);
46516 : }
46517 :
|